marytts.util.math
Class DoubleMatrix

java.lang.Object
  extended by marytts.util.math.DoubleMatrix

public class DoubleMatrix
extends java.lang.Object

Author:
Oytun Türk

Field Summary
 int dimension
           
 int numVectors
           
 double[][] vectors
           
 
Constructor Summary
DoubleMatrix()
           
DoubleMatrix(double[][] x)
           
DoubleMatrix(int numVectorsIn, int dimensionIn)
           
DoubleMatrix(java.lang.String dataFile)
           
 
Method Summary
 void allocate(int numVectorsIn, int dimensionIn)
           
 void read(java.lang.String dataFile)
           
 void setVectors(double[][] x)
           
 void write(java.lang.String dataFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vectors

public double[][] vectors

numVectors

public int numVectors

dimension

public int dimension
Constructor Detail

DoubleMatrix

public DoubleMatrix()

DoubleMatrix

public DoubleMatrix(int numVectorsIn,
                    int dimensionIn)

DoubleMatrix

public DoubleMatrix(java.lang.String dataFile)

DoubleMatrix

public DoubleMatrix(double[][] x)
Method Detail

setVectors

public void setVectors(double[][] x)

allocate

public void allocate(int numVectorsIn,
                     int dimensionIn)

write

public void write(java.lang.String dataFile)

read

public void read(java.lang.String dataFile)