ee.Array.matrixSolve
Solves for x in the matrix equation A * x = B, finding a least-squares solution if A is overdetermined.
Usage | Returns | Array.matrixSolve(right) | Array |
Argument | Type | Details | this: left | Array | The left-hand value. |
right | Array | The right-hand value. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`matrixSolve` 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."],["When the system of equations is overdetermined (more equations than unknowns), the method calculates a least-squares solution that minimizes the error."],["The method returns an Array representing the 'x' vector that solves the equation."]]],[]]