ee.Array.matrixSolve
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แก้หาค่า x ในสมการเมทริกซ์ A * x = B โดยหาผลเฉลยกำลังสองน้อยที่สุดหาก A มีตัวแปรมากเกินไป
การใช้งาน | การคืนสินค้า |
---|
Array.matrixSolve(right) | อาร์เรย์ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ left | อาร์เรย์ | ค่าด้านซ้าย |
right | อาร์เรย์ | ค่าทางด้านขวา |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003ematrixSolve\u003c/code\u003e finds the solution for 'x' in the equation A * x = B, where 'A' is represented by the Array calling the method, and 'B' is provided as an argument.\u003c/p\u003e\n"],["\u003cp\u003eWhen the system of equations is overdetermined (more equations than unknowns), the method calculates a least-squares solution that minimizes the error.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns an Array representing the 'x' vector that solves the equation.\u003c/p\u003e\n"]]],[],null,["# ee.Array.matrixSolve\n\nSolves for x in the matrix equation A \\* x = B, finding a least-squares solution if A is overdetermined.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Array.matrixSolve`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]