matrix_operate
Add, multiply, transpose, or calculate the determinant of 2D matrices by selecting an operation and providing the needed matrix inputs.
Instructions
Perform matrix operations: add, multiply, transpose, or determinant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_a | Yes | First matrix (2D number array). | |
| matrix_b | No | Second matrix (for add/multiply). | |
| operation | No | Operation: add, multiply, transpose, determinant. |