Linq Extensions Class
Contains extension methods that enable LINQ query syntax for data frames and vectors.
Definition
Namespace: Extreme.DataAnalysis.Linq
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static class LinqExtensions
- Inheritance
- Object → LinqExtensions
Methods
Aggregate<T>(Vector<T>, Func<T, T, T>) | Applies an accumulator function over the elements of a vector. |
Aggregate<T, TAccumulate>(Vector<T>, TAccumulate, Func<TAccumulate, T, TAccumulate>) | Applies an accumulator function over the elements of a vector. |
Aggregate<R, C, TAccumulate>(DataFrame<R, C>, TAccumulate, Func<TAccumulate, DataFrameRow<R, C>, TAccumulate>) | Applies an accumulator function over the rows of a data frame. The specified seed value is used as the initial accumulator value. |
Aggregate<T, TAccumulate, TResult>(Vector<T>, TAccumulate, Func<TAccumulate, T, TAccumulate>, Func<TAccumulate, TResult>) | Aggregates the elements of a vector using the specified accumulator and seed value. |
Aggregate<R, C, TAccumulate, TResult>(DataFrame<R, C>, TAccumulate, Func<TAccumulate, DataFrameRow<R, C>, TAccumulate>, Func<TAccumulate, TResult>) | Applies an accumulator function over the rows of a data frame. The specified seed value is used as the initial accumulator value. |
Concat<T>(Vector<T>, Vector<T>) | Concatenates two vectors. |
Concat<R, C>(DataFrame<R, C>, DataFrame<R, C>) | Appends two data frames. |
Group | Groups the elements of a vector according to the specified key selector function. |
Group | Groups the elements of a vector according to the specified key selector function and key comparer. |
Group | Groups the rows of a data frame based on the specified key selector. |
Group | Groups the rows of a data frame based on the specified key selector. |
Group | Groups the elements of a vector according to the specified key selector and element selector functions. |
Group | Groups the elements of a vector according to the specified key selector function and creates a result value from each group and its key. |
Group | Groups the elements of a vector according to the specified key selector and element selector functions, and key comparer. |
Group | Groups the elements of a vector according to the specified key selector function and creates a result value from each group and its key. Key values are compared using the specified comparer. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Group | Groups the elements of a vector according to the specified key selector function and creates a result value from each group and its key. The elements of each group are projected using the specified function. |
Group | Groups the elements of a vector according to the specified key selector function and creates a result value from each group and its key. Key values are compared using the specified comparer, and the elements of each group are projected using the specified function. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Group | Groups the rows of a data frame based on the specified key selector, and returns the result of applying a function to the selected elements of each group. |
Select<T, TResult>(Vector<T>, Func<T, TResult>) | Projects each element of a vector into a new form. |
Select<T, TResult>(Vector<T>, Func<T, Int32, TResult>) | Projects each element of a vector into a new form by incorporating the elements index. |
Select<R, C, TResult>(DataFrame<R, C>, Func<DataFrameRow<R, C>, TResult>) | Projects each row of a data frame into a value. |
Select<R, C, TResult>(DataFrame<R, C>, Func<DataFrameRow<R, C>, Int32, TResult>) | Projects each row of a data frame into a value. |
Select<TKey, TElement, TResult>(LinqExtensions.Lookup<TKey, TElement>, Func<LinqExtensions.Grouping<TKey, TElement>, TResult>) | Returns a vector that applies the specified selector to each element of a lookup. |
Select<TKey, R, C, TResult>(LinqExtensions.DataFrameLookup<TKey, R, C>, Func<LinqExtensions.DataFrameGrouping<TKey, R, C>, TResult>) | Returns a vector that applies the specified selector to each element of a lookup. |
Select | Projects each element of a vector to a vector and flattens the resulting vectors into one vector. |
Select | Projects each element of a vector to a vector incorporating the element's index and flattens the resulting vectors into one vector. |
Select | Projects each row of a data frame into a value. |
Select | Projects each row of a data frame into a sequence of values, flattens all the sequences into one sequence. |
Select | Projects each element of a vector to a vector and flattens the resulting vectors into one vector, and applies a selector function to each element of the flattened vector. |
Select | Projects each element of a vector to a vector incorporating the element's index and flattens the resulting vectors into one vector, and applies a selector function to each element of the flattened vector. |
Select | Projects each row of a data frame into a sequence of values, flattens all the sequences into one sequence, and invokes a selector function on each element of the flattened sequence. |
Select | Projects each row of a data frame into a sequence of values, flattens all the sequences into one sequence, and invokes a selector function on each element of the flattened sequence. The row index is used in the logic of the projection that produces the intermediate sequence. |
ToLookup<T, TKey>(Vector<T>, Func<T, TKey>) | Creates a lookup from a vector according to the specified key selector function. |
ToLookup<T, TKey>(Vector<T>, Func<T, TKey>, IEqualityComparer<TKey>) | Creates a lookup from a vector according to the specified key selector function and key comparer. |
ToLookup<R, C, TKey>(DataFrame<R, C>, Func<DataFrameRow<R, C>, TKey>) | Creates a lookup for the data frame according to the specified key selector function. |
ToLookup<R, C, TKey>(DataFrame<R, C>, Func<DataFrameRow<R, C>, TKey>, IEqualityComparer<TKey>) | Creates a lookup for the data frame according to the specified key selector function and key comparer. |
ToLookup<T, TKey, TElement>(Vector<T>, Func<T, TKey>, Func<T, TElement>) | Creates a lookup from a vector according to the specified key selector and element selector functions. |
ToLookup<T, TKey, TElement>(Vector<T>, Func<T, TKey>, Func<T, TElement>, IEqualityComparer<TKey>) | Creates a lookup from a vector according to the specified key selector and element selector functions, and key comparer. |
ToLookup<R, C, TKey, TElement>(DataFrame<R, C>, Func<DataFrameRow<R, C>, TKey>, Func<DataFrameRow<R, C>, TElement>) | Creates a lookup for the data frame according to the specified key selector and element selector function. |
ToLookup<R, C, TKey, TElement>(DataFrame<R, C>, Func<DataFrameRow<R, C>, TKey>, Func<DataFrameRow<R, C>, TElement>, IEqualityComparer<TKey>) | Creates a lookup for the data frame according to the specified key selector and element selector function. |
Where<T>(Vector<T>, Func<T, Boolean>) | Filters the elements of a vector based on a predicate. |
Where<T>(Vector<T>, Func<T, Int32, Boolean>) | Filters the elements of a vector based on a predicate. Each element's index is used in the logic of the predicate function. |
Where<R, C>(DataFrame<R, C>, Func<DataFrameRow<R, C>, Boolean>) | Filters the rows of a data frame based on a predicate. |
Where<R, C>(DataFrame<R, C>, Func<DataFrameRow<R, C>, Int32, Boolean>) | Filters the rows of a data frame based on a predicate. Each row's index is used in the logic of the predicate function. |