Matrix<T>.Map In Place<U>(Func<T, U, T>, Matrix<U>) Method
Applies a function to the elements of a matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to this instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public virtual Matrix<T> MapInPlace<U>(
Func<T, U, T> function,
Matrix<U> right
)
Parameters
- function Func<T, U, T>
- A delegate that represents a function of one variable
- right Matrix<U>
- A matrix whose elements serve as the second argument to the function.
Type Parameters
- U
Return Value
Matrix<T>A reference to this instance.
Exceptions
Argument | function is null. |