ee.Array.matrixSolve
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rozwiązuje równanie macierzowe A * x = B, znajdując rozwiązanie metodą najmniejszych kwadratów, jeśli macierz A jest nadokreślona.
Wykorzystanie | Zwroty |
---|
Array.matrixSolve(right) | Tablica |
Argument | Typ | Szczegóły |
---|
to: left | Tablica | Wartość po lewej stronie. |
right | Tablica | Wartość po prawej stronie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]