public class MatrixUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.text.DecimalFormat |
df |
Constructor and Description |
---|
MatrixUtils() |
Modifier and Type | Method and Description |
---|---|
static float[] |
double2float(double[] values) |
static float[][] |
double2float(double[][] array) |
static double[] |
float2double(float[] values) |
static double[][] |
float2double(float[][] array) |
static int |
numCols(double[][] m) |
static java.lang.String |
toString(double[] m) |
static java.lang.String |
toString(double[][] m) |
static java.lang.String |
toString(float[][] matrix) |
public static java.lang.String toString(double[][] m)
public static java.lang.String toString(double[] m)
public static int numCols(double[][] m)
public static java.lang.String toString(float[][] matrix)
public static float[] double2float(double[] values)
public static float[][] double2float(double[][] array)
public static double[] float2double(float[] values)
public static double[][] float2double(float[][] array)