Applies a function to the elements of a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual Vector<U> MapCore<U>(
Func<int, T, U> function,
Vector<U> result
)
Protected Overridable Function MapCore(Of U) (
function As Func(Of Integer, T, U),
result As Vector(Of U)
) As Vector(Of U)
protected:
generic<typename U>
virtual Vector<U>^ MapCore(
Func<int, T, U>^ function,
Vector<U>^ result
)
abstract MapCore :
function : Func<int, 'T, 'U> *
result : Vector<'U> -> Vector<'U>
override MapCore :
function : Func<int, 'T, 'U> *
result : Vector<'U> -> Vector<'U>
Parameters
- function
- Type: SystemFuncInt32, T, U
A delegate that represents a function of one variable - result
- Type: Extreme.MathematicsVectorU
The vector that is to hold the result. May be .
Type Parameters
- U
Return Value
Type:
VectorUThe vector
result.
Reference