Home > @josh-brown/vector > FloatMatrix > combine
Builds a matrix by combining element-wise the values of this matrix with the values of another matrix.
Signature:
combine(other: Matrix<number>, combineEntries: (a: number, b: number) => number): Matrix<number>;|
Parameter |
Type |
Description |
|---|---|---|
|
other |
Matrix<number> | |
|
combineEntries |
(a: number, b: number) => number |
Returns:
Matrix<number>
The new matrix