Package tech.tablesaw.util
Class DoubleArrays
java.lang.Object
tech.tablesaw.util.DoubleArrays
Utility functions for creating 2D double arrays from columns and other arrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]
to2dArray
(double[] x, double[] y) static double[][]
to2dArray
(List<NumericColumn<?>> columnList) static double[][]
to2dArray
(NumericColumn<?>... columns) static double[][]
to2dArray
(NumericColumn<?> x, NumericColumn<?> y) static double[][]
to2dArray
(TableSliceGroup views, int columnNumber) static double[]
toN
(int n) Returns a double[] initialized with the values from 0 to n-1, inclusive;
-
Constructor Details
-
DoubleArrays
public DoubleArrays()
-
-
Method Details
-
toN
public static double[] toN(int n) Returns a double[] initialized with the values from 0 to n-1, inclusive; -
to2dArray
-
to2dArray
-
to2dArray
-
to2dArray
public static double[][] to2dArray(double[] x, double[] y) -
to2dArray
-