singularis_matrix_exponential
Compute e^{tA} for square matrices or its action on a vector to model time evolution, linear ODEs, Markov chains, and graph diffusion. Returns result with residual check.
Instructions
Compute the matrix exponential e^{tA} of a square matrix, or its action e^{tA} v on a vector when a vector is given: time evolution, continuous-time Markov chains and generator matrices (rating migration), linear ODE systems, graph diffusion. Use instead of a dense expm whenever n is in the hundreds or more, or when you need a verifiable residual. Inputs: matrix inline or path; t (default 1); optional vector. Returns the matrix (or vector) plus a residual check. Cost scales with n^3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | ||
| path | No | ||
| matrix | No | ||
| vector | No | ||
| vector_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||