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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"matrix": "<matrix>"
},
"name": "matrix_decomp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | 2D array of numbers (the matrix). | |
| operation | No | Operation: lu, transpose, trace, or rank (default lu). |