Matrix exponential
singularis_matrix_exponentialCompute e^{tA} for a square matrix or its action e^{tA}v on a vector, with a residual check. Use for time evolution, Markov chains, linear ODEs, and graph diffusion.
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 | |||