Skip to content

Latest commit

 

History

History
70 lines (33 loc) · 813 Bytes

File metadata and controls

70 lines (33 loc) · 813 Bytes

Home > @josh-brown/vector > pow

pow() function

Computes _A^n_ recursively.

Signature:

export declare function pow<S>(A: Matrix<S>, n: number): Matrix<S>;

Parameters

Parameter

Type

Description

A

Matrix<S>

The matrix to raise to a power n

n

number

The power to which to raise A

Returns:

Matrix<S>