Returns a vector that applies the specified selector
to each element of a lookup.
Namespace:
Extreme.DataAnalysis.Linq
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<TResult> Select<TKey, R, C, TResult>(
this LinqExtensionsDataFrameLookup<TKey, R, C> lookup,
Func<LinqExtensionsDataFrameGrouping<TKey, R, C>, TResult> selector
)
<ExtensionAttribute>
Public Shared Function Select(Of TKey, R, C, TResult) (
lookup As LinqExtensionsDataFrameLookup(Of TKey, R, C),
selector As Func(Of LinqExtensionsDataFrameGrouping(Of TKey, R, C), TResult)
) As Vector(Of TResult)
public:
[ExtensionAttribute]
generic<typename TKey, typename R, typename C, typename TResult>
static Vector<TResult>^ Select(
LinqExtensionsDataFrameLookup<TKey, R, C>^ lookup,
Func<LinqExtensionsDataFrameGrouping<TKey, R, C>^, TResult>^ selector
)
[<ExtensionAttribute>]
static member Select :
lookup : LinqExtensionsDataFrameLookup<'TKey, 'R, 'C> *
selector : Func<LinqExtensionsDataFrameGrouping<'TKey, 'R, 'C>, 'TResult> -> Vector<'TResult>
Parameters
- lookup
- Type: Extreme.DataAnalysis.LinqLinqExtensionsDataFrameLookupTKey, R, C
A LinqExtensionsLookupTKey, T value. - selector
- Type: SystemFuncLinqExtensionsDataFrameGroupingTKey, R, C, TResult
The function to apply to each group in
lookup.
Type Parameters
- TKey
- The type of the lookup keys.
- R
- The element type of the row index of the data frame.
- C
- The element type of the column index of the data frame.
- TResult
- The type of the result of the selector function.
Return Value
Type:
VectorTResultA vector containing the results of applying
selector
to each grouping in
lookup.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
LinqExtensionsDataFrameLookupTKey,
R,
C. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference