matrix
Perform matrix operations including multiplication, addition, subtraction, inversion, transpose, determinant, eigenvalues, and more using 2D number arrays.
Instructions
Performs matrix operations. Ops: multiply, add, subtract, inverse, transpose, determinant, eigenvalues, eigenvectors, rank, norm, trace, cross (3D vectors), dot (vectors). SVD is not currently supported. Binary ops (multiply/add/subtract) require both 'a' and 'b'. Inputs are 2D number arrays. Examples: op='determinant', a=[[1,2],[3,4]]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| a | Yes | ||
| b | No |