Applies a function to the corresponding elements of two vectors.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual Vector<V> MapAsSecondCore<U, V>(
Func<U, T, V> function,
Vector<U> first,
Vector<V> result
)
Protected Overridable Function MapAsSecondCore(Of U, V) (
function As Func(Of U, T, V),
first As Vector(Of U),
result As Vector(Of V)
) As Vector(Of V)
protected:
generic<typename U, typename V>
virtual Vector<V>^ MapAsSecondCore(
Func<U, T, V>^ function,
Vector<U>^ first,
Vector<V>^ result
)
abstract MapAsSecondCore :
function : Func<'U, 'T, 'V> *
first : Vector<'U> *
result : Vector<'V> -> Vector<'V>
override MapAsSecondCore :
function : Func<'U, 'T, 'V> *
first : Vector<'U> *
result : Vector<'V> -> Vector<'V>
Parameters
- function
- Type: SystemFuncU, T, V
A delegate that represents a function of two variables - first
- Type: Extreme.MathematicsVectorU
A vector whose elements serve as the first argument to the function. - result
- Type: Extreme.MathematicsVectorV
The vector that is to hold the result. May be .
Type Parameters
- U
- V
Return Value
Type:
VectorVThe result of applying
function to the corresponding elements
of
first and this vector.
Reference