matrix_decomp
Decompose and analyze a 2D matrix using LU factorization, transpose, trace, or rank calculations for linear algebra workflows.
Instructions
Matrix decomposition and analysis: LU factorization, transpose, trace, or rank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | 2D array of numbers (the matrix). | |
| operation | No | Operation: lu, transpose, trace, or rank (default lu). |