matrix_calculator
Perform matrix calculations and linear algebra analysis including addition, multiplication, eigenvalues, decomposition, and system solving.
Instructions
Brief description: Matrix and linear algebra calculation tool, supporting basic operations and advanced analysis.
Examples:
matrix_calculator(operation='multiply', matrix_a=[[1,2],[3,4]], matrix_b=[[5,6],[7,8]])
matrix_calculator(operation='eigenvalues', matrix_a=[[4,2],[1,3]])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Matrix operation type. Supports: 'add', 'subtract', 'multiply', 'transpose', 'determinant', 'inverse', 'rank', 'eigenvalues', 'eigenvectors', 'norm', 'trace', 'decomposition', 'solve_system', 'properties' | |
| matrix_a | Yes | Primary matrix as a 2D list | |
| matrix_b | No | Secondary matrix as a 2D list. Required for binary operations | |
| method | No | Method for decomposition. Supports: 'lu', 'qr', 'svd', 'cholesky' | |
| power | No | Power for matrix exponentiation | |
| property_type | No | Type of matrix property to analyze. Supports: 'all', 'basic', 'advanced' |