Pivot<R, C> Class

Represents a two-dimensional grouping of data.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class Pivot<R, C> : Pivot
Inheritance
Object  →  Pivot  →  Pivot<R, C>

Type Parameters

R
The element type of the row index of the pivot.
C
The element type of the column index of the pivot.

Properties

ColumnIndex Gets the index that contains the column keys to the groups.
Count Gets the number of groups.
(Inherited from Pivot)
Index Gets the linearized index of the pivot.
RowIndex Gets the index that contains the row keys to the groups.

Methods

AggregateInto<T, TResult>(Vector<T>, Aggregator<T, TResult>, Vector<TResult>) Applies the specified aggregator to the elements of a vector according to the current grouping.
(Inherited from Pivot)
AggregateInto<T1, T2, TResult>(Vector<T1>, Vector<T2>, BinaryAggregator<T1, T2, TResult>, Vector<TResult>) Applies the specified aggregator to the elements of a vector according to the current grouping.
(Inherited from Pivot)
AggregateInto<T, TResult, TPredicate>(Vector<T>, Aggregator<T, TResult>, TPredicate, Nullable<Boolean>, Vector<TResult>)
(Inherited from Pivot)
AggregateInto<TInput, TResult, TPredicate>(Aggregator<TInput, TResult>, Int32, ReadOnlySpanSlice<TInput>, TPredicate, Boolean, SpanSlice<TResult>)
(Inherited from Pivot)
CountsMatrix Returns a matrix that contains the counts of the elements in each pivot cell.
(Inherited from Pivot)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetCounts Returns a data frame that contains the number of elements of each group.
GetHashCodeServes as the default hash function.
(Inherited from Pivot)
GetIndex Gets the index that contains the unique keys to the groups.
(Overrides Pivot.GetIndex())
GetIndexes(Int32) Returns the sequence of indexes for the specified group.
(Inherited from Pivot)
GetIndexes(Int32, Int32) Gets a sequence of indexes for the grouping.
(Inherited from Pivot)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also