MatrixTPointwiseBinary(ActionMatrixT, MatrixT, MatrixT) Method |
Helper function to apply a binary function which takes two matrices
and modifies the latter in place. A copy of the "this" matrix is
first made and then passed to f together with the other matrix. The
copy is then returned as the result
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected Matrix<T> PointwiseBinary(
Action<Matrix<T>, Matrix<T>> f,
Matrix<T> other
)
Parameters
- f ActionMatrixT, MatrixT
- Function which takes two matrices, modifies the second in place and returns void
- other MatrixT
- The other matrix to be passed to the function as argument. It is not modified
Return Value
MatrixTThe resulting matrix
Exceptions Exception | Condition |
---|
ArgumentException | If this matrix and other are not the same dimension. |
See Also