Applies a function in-place to the elements of a vector as the second argument.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> MapInPlace<U>(
Func<U, T, T> function,
Vector<U> first
)
Public Function MapInPlace(Of U) (
function As Func(Of U, T, T),
first As Vector(Of U)
) As Vector(Of T)
public:
generic<typename U>
Vector<T>^ MapInPlace(
Func<U, T, T>^ function,
Vector<U>^ first
)
member MapInPlace :
function : Func<'U, 'T, 'T> *
first : Vector<'U> -> Vector<'T>
Parameters
- function
- Type: SystemFuncU, T, T
A delegate that represents a function of one variable - first
- Type: Extreme.MathematicsVectorU
A vector whose elements serve as the first argument to the function.
Type Parameters
- U
Return Value
Type:
VectorTA reference to this instance.
Reference