คำนวณการแยกเมทริกซ์ LU เพื่อให้ P×input=L×U โดยที่ L เป็นเมทริกซ์สามเหลี่ยมล่าง (มีเทอมแนวทแยงหน่วย) U เป็นเมทริกซ์สามเหลี่ยมบน และ P เป็นเมทริกซ์การเรียงสับเปลี่ยนการหมุนบางส่วน เมทริกซ์อินพุตต้องเป็นเมทริกซ์จัตุรัส แสดงผลพจนานุกรมที่มีรายการชื่อ "L", "U" และ "P"
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["The `matrixLUDecomposition()` function calculates the LU decomposition of a square input array."],["It returns a dictionary containing the lower triangular matrix (L), upper triangular matrix (U), and permutation matrix (P)."],["The decomposition satisfies the equation P×input=L×U, where L has unit diagonal terms."],["This function is applicable to any square array and is accessed using `Array.matrixLUDecomposition()`."]]],[]]