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