Click or drag to resize

ColumnMathToEnumerableOfDouble(ValueTupleDataColumn, DataColumn, DataColumn) Method

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

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

Parameters

columnTriple  ValueTupleDataColumn, DataColumn, DataColumn
The three columns to convert.

Return Value

IEnumerableValueTupleDouble, Double, Double
Enumeration of pairs of Doubles.

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"]).ToEnumerableOfDouble();
See Also