Grouping.Pivot<R, C> Method
Creates a new two-dimensional grouping from the specified row and column keys.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A pivot object that represent a two-dimensional grouping with the unique values in rowValues as row keys and the unique values in columnValues as column keys.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Pivot<R, C> Pivot<R, C>(
IList<R> rowValues,
IList<C> columnValues
)
Parameters
- rowValues IList<R>
- A list containing the row keys.
- columnValues IList<C>
- A list containing the column keys.
Type Parameters
- R
- The element type of the row keys.
- C
- The element type of the column keys.
Return Value
Pivot<R, C>A pivot object that represent a two-dimensional grouping with the unique values in rowValues as row keys and the unique values in columnValues as column keys.
Exceptions
Argument | rowValues is null. -or- rowValues is null. |
Dimension | rowValues and columnValues do not have the same length. |