Click or drag to resize

ConvertXYVToMatrixActionsClusterValuesByEquality Method

Clusters equal values of a column and returns the cluster representatives and indices.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static (IReadOnlyList<AltaxoVariant> ClusterValues, IReadOnlyList<int> ClusterIndices) ClusterValuesByEquality(
	DataColumn col,
	SortDirection sortDirection
)

Parameters

col  DataColumn
The source column.
sortDirection  SortDirection
The requested sort direction for the clusters.

Return Value

ValueTupleIReadOnlyListAltaxoVariant, IReadOnlyListInt32
The cluster values and their corresponding indices.
See Also