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> MapWhereCore<U>(
Func<int, T, bool> condition,
Func<T, U> function,
Vector<U> result
)
Protected Overridable Function MapWhereCore(Of U) (
condition As Func(Of Integer, T, Boolean),
function As Func(Of T, U),
result As Vector(Of U)
) As Vector(Of U)
protected:
generic<typename U>
virtual Vector<U>^ MapWhereCore(
Func<int, T, bool>^ condition,
Func<T, U>^ function,
Vector<U>^ result
)
abstract MapWhereCore :
condition : Func<int, 'T, bool> *
function : Func<'T, 'U> *
result : Vector<'U> -> Vector<'U>
override MapWhereCore :
condition : Func<int, 'T, bool> *
function : Func<'T, 'U> *
result : Vector<'U> -> Vector<'U>
Parameters
- condition
- Type: SystemFuncInt32, T, Boolean
A predicate that computes whether a value should be mapped
based on the index and value of the element. - 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