Home > @josh-brown/vector > pow
Computes _A^n_ recursively.
Signature:
export declare function pow<S>(A: Matrix<S>, n: number): Matrix<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
A |
Matrix<S> |
The matrix to raise to a power |
|
n |
number |
The power to which to raise |
Returns:
Matrix<S>