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