Home > @josh-brown/vector > exp
Implements the Pade Approximant to compute the exponential of matrix A
Signature:
export declare function exp<S>(A: Matrix<S>, order?: number): Matrix<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
A |
Matrix<S> |
The matrix to exponentiate |
|
order |
number |
(Optional) The order of the approximation - higher numbers yield more accurate results |
Returns:
Matrix<S>