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