Aggregator<T, U>.Aggregate Into Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Aggregate | Aggregates the columns of a matrix. |
Aggregate | Groups the elements of a vector according to the specified grouping. |
Aggregate | Groups the elements of a vector according to the specified level indexes. |
AggregateInto(Matrix<T>, Vector<U>)
Aggregates the columns of a matrix.
public virtual Vector<U> AggregateInto(
Matrix<T> values,
Vector<U> result
)
Parameters
- values Matrix<T>
- The matrix whose columns to aggregate.
- result Vector<U>
- The vector that is to hold the result. May be null.
Return Value
Vector<U>AggregateInto(Vector<T>, IGrouping, Vector<U>)
Groups the elements of a vector according to the specified grouping.
public virtual Vector<U> AggregateInto(
Vector<T> values,
IGrouping grouping,
Vector<U> result
)
Parameters
- values Vector<T>
- The vector to aggregate.
- grouping IGrouping
- A grouping.
- result Vector<U>
- The vector that is to hold the result. May be null.
Return Value
Vector<U>AggregateInto(Vector<T>, Int32[], Vector<U>)
Groups the elements of a vector according to the specified level indexes.
public virtual Vector<U> AggregateInto(
Vector<T> values,
int[] levels,
Vector<U> result
)
Parameters
- values Vector<T>
- The vector to aggregate.
- levels Int32[]
- An array of level indexes.
- result Vector<U>
- The vector that is to hold the result. May be null.