Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Array.matrixLUDecomposition
Stay organized with collections
Save and categorize content based on your preferences.
Calculates the LU matrix decomposition such that P×input=L×U, where L is lower triangular (with unit diagonal terms), U is upper triangular and P is a partial pivot permutation matrix. The input matrix must be square. Returns a dictionary with entries named 'L', 'U' and 'P'.
Usage | Returns | Array.matrixLUDecomposition() | Dictionary |
Argument | Type | Details | this: array | Array | The array to decompose. |
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."],[[["\u003cp\u003eThe \u003ccode\u003ematrixLUDecomposition()\u003c/code\u003e function calculates the LU decomposition of a square input array.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a dictionary containing the lower triangular matrix (L), upper triangular matrix (U), and permutation matrix (P).\u003c/p\u003e\n"],["\u003cp\u003eThe decomposition satisfies the equation P×input=L×U, where L has unit diagonal terms.\u003c/p\u003e\n"],["\u003cp\u003eThis function is applicable to any square array and is accessed using \u003ccode\u003eArray.matrixLUDecomposition()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ee.Array.matrixLUDecomposition\n\nCalculates the LU matrix decomposition such that P×input=L×U, where L is lower triangular (with unit diagonal terms), U is upper triangular and P is a partial pivot permutation matrix. The input matrix must be square. Returns a dictionary with entries named 'L', 'U' and 'P'.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------|------------|\n| Array.matrixLUDecomposition`()` | Dictionary |\n\n| Argument | Type | Details |\n|---------------|-------|-------------------------|\n| this: `array` | Array | The array to decompose. |"]]