 |
Edinburgh Speech Tools
2.4-release
|
|
44 #include "EST_TSimpleMatrix.h"
45 #include "EST_TSimpleVector.h"
46 #include "EST_FMatrix.h"
71 EST_DMatrix::default_file_type);
81 void copyin(
double **x,
int rows,
int cols);
134 EST_write_status est_save(
const EST_String &filename,
165 void make_random_vector(
EST_DVector &M,
const double scale);
167 void make_random_matrix(
EST_DMatrix &M,
const double scale);
169 void make_random_diagonal_matrix(
EST_DMatrix &M,
const double scale);
171 void make_random_symmetric_matrix(
EST_DMatrix &M,
const double scale);
202 int floor_matrix(
EST_DMatrix &M,
const double floor);
231 polynomial_value(
const EST_DVector &coeffs,
const double x);
EST_read_status load(const EST_String &filename)
Load from file (ascii or binary as defined in file)
EST_DMatrix & operator-=(const EST_DMatrix &a)
Subtract elements of 2 same sized matrices.
EST_DVector & operator+=(const EST_DVector &s)
elementwise add
EST_DMatrix()
default constructor
EST_DVector(int n)
Size constructor.
EST_read_status est_load(const EST_String &filename)
Load from file in est format (binary/ascii defined in file itself)
friend EST_DMatrix operator*(const EST_DMatrix &a, const double x)
Multiply all elements of matrix by {\tt x}.
void copyin(double **x, int rows, int cols)
Copy 2-d array {\tt x} of size {\tt rows x cols} into matrix.
EST_write_status est_save(const EST_String &filename, const EST_String &type)
Save in file in est format.
EST_DMatrix & operator/=(const double f)
elementwise divide by scalar
EST_DMatrix(int m, int n)
size constructor
EST_DVector & operator/=(const double d)
elementwise divide by scalar
EST_write_status save(const EST_String &filename, const EST_String &type)
save vector to file filename.
EST_DMatrix & operator+=(const EST_DMatrix &a)
Add elements of 2 same sized matrices.
EST_DVector()
Default constructor.
EST_DVector & operator*=(const EST_DVector &s)
elementwise multiply
EST_write_status save(const EST_String &filename, const EST_String &type=EST_DMatrix::default_file_type)
Save in file (ascii or binary)
EST_read_status est_load(const EST_String &filename)
Load from file in est format (binary/ascii defined in file itself)
EST_DMatrix(const EST_DMatrix &a)
copy constructor
EST_DVector(const EST_DVector &a)
Copy constructor.
INLINE int n() const
number of items in vector.
EST_read_status load(const EST_String &filename)
load vector from file filename.
EST_DMatrix & operator*=(const double f)
elementwise multiply by scalar