edu.cmu.sphinx.util
Class MatrixUtils
java.lang.Object
edu.cmu.sphinx.util.MatrixUtils
public class MatrixUtils
- extends java.lang.Object
Some simple matrix and vector manipulation methods.
Field Summary |
static java.text.DecimalFormat |
df
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
df
public static java.text.DecimalFormat df
MatrixUtils
public MatrixUtils()
toString
public static java.lang.String toString(double[][] m)
toString
public static java.lang.String toString(double[] m)
numCols
public static int numCols(double[][] m)
toString
public static java.lang.String toString(float[][] matrix)
double2float
public static float[] double2float(double[] values)
double2float
public static float[][] double2float(double[][] array)
float2double
public static double[] float2double(float[] values)
float2double
public static double[][] float2double(float[][] array)