expm
expm(A)
Input: A · Output: no output
What it is
Matrix exponential e^A of a real square Mat by scaling-and-squaring with a degree-13 Padé approximant (Higham 2005, as SciPy): expm([0, -t; t, 0]) is the rotation [cos t, -sin t; sin t, cos t]. A scalar gives exp(x). Not the same as exp(A) (elementwise) or expm1(x) (scalar e^x - 1, unchanged). A non-square matrix or a NaN/Inf entry is an error; complex matrices are an error (not supported yet).
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
expm(A) | A Mat, scalar, or matrixnot documented yet | not documented yet | — |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.