Vector<T>.Map Into Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Map | Applies a function to the elements of a vector. |
Map | Applies a function to the elements of a vector. |
MapInto<U>(Func<T, U>, Vector<U>)
Applies a function to the elements of a vector.
public Vector<U> MapInto<U>(
Func<T, U> function,
Vector<U> result
)
Parameters
- function Func<T, U>
- A delegate that represents a function of one variable
- result Vector<U>
- The vector that is to hold the result. May be null.
Type Parameters
- U
Return Value
Vector<U>The vector result.
Exceptions
Argument | function is null. |
MapInto<U>(Func<Int32, T, U>, Vector<U>)
Applies a function to the elements of a vector.
public Vector<U> MapInto<U>(
Func<int, T, U> function,
Vector<U> result
)
Parameters
- function Func<Int32, T, U>
- A delegate that represents a function of one variable
- result Vector<U>
- The vector that is to hold the result. May be null.
Type Parameters
- U
Return Value
Vector<U>The vector result.
Exceptions
Argument | function is null. |