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<U> MapInto<U>(
Func<T, U> function,
Vector<U> result
)
Public Function MapInto(Of U) (
function As Func(Of T, U),
result As Vector(Of U)
) As Vector(Of U)
public:
generic<typename U>
Vector<U>^ MapInto(
Func<T, U>^ function,
Vector<U>^ result
)
member MapInto :
function : Func<'T, 'U> *
result : Vector<'U> -> Vector<'U>
Parameters
- function
- Type: SystemFuncT, 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