Click or drag to resize

ColumnMathToEnumerable(ValueTupleDataColumn, DataColumn, DataColumn, Boolean) Method

Converts a triple of data columns to an enumeration of pairs of AltaxoVariants.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<(AltaxoVariant X, AltaxoVariant Y, AltaxoVariant Z)> ToEnumerable(
	this (DataColumn xCol, DataColumn yCol, DataColumn zCol) columnTriple,
	bool filterInvalidPairs
)

Parameters

columnTriple  ValueTupleDataColumn, DataColumn, DataColumn
The three columns to convert.
filterInvalidPairs  Boolean
If set to true, only pairs will yielded, for which both values are valid.

Return Value

IEnumerableValueTupleAltaxoVariant, AltaxoVariant, AltaxoVariant
Enumeration of pairs of AltaxoVariants.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ValueTupleDataColumn, DataColumn, DataColumn. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Example
C#
var e = (col["A"], col["B"], col["C"]).ToEnumerable(true);
See Also