Applies a function to the elements of a matrix.
Namespace: Extreme.Mathematics.GenericAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public virtual Matrix<T> MapInPlace<U>(
Func<T, U, T> function,
Matrix<U> right
)
Public Overridable Function MapInPlace(Of U) (
function As Func(Of T, U, T),
right As Matrix(Of U)
) As Matrix(Of T)
public:
generic<typename U>
virtual Matrix<T>^ MapInPlace(
Func<T, U, T>^ function,
Matrix<U>^ right
)
abstract MapInPlace :
function : Func<'T, 'U, 'T> *
right : Matrix<'U> -> Matrix<'T>
override MapInPlace :
function : Func<'T, 'U, 'T> *
right : Matrix<'U> -> Matrix<'T>
Parameters
- function
- Type: SystemFuncT, U, T
A delegate that represents a function of one variable - right
- Type: Extreme.Mathematics.GenericMatrixU
A matrix whose elements serve as the second argument to the function.
Type Parameters
- U
Return Value
Type:
MatrixTA reference to this instance.
Numerical Libraries
Supported in: 5.x
Reference