power_iteration
Finds the dominant eigenvalue and corresponding eigenvector of a square matrix, with configurable tolerance and maximum iterations.
Instructions
Find the dominant eigenvalue and eigenvector of a square matrix via power iteration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | Square NxN matrix | |
| tolerance | No | Convergence tolerance (default 1e-10) | |
| max_iterations | No | Max iterations (default 1000) |