Home > @josh-brown/vector > ArrayMatrix > apply
Applies the matrix as a linear transformation to the given vector. Implements matrix-vector multiplication.
Signature:
apply(vector: Vector<S>): Vector<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
vector |
Vector<S> |
the vector that should be transformed by the matrix |
Returns:
Vector<S>
The transformed vector