In file ../include/EST_FMatrix.h:

class EST_FMatrix

A matrix class for floating point numbers.

Inheritance:


Public Methods

[more] EST_FMatrix (int m, int n)
size constructor
[more] EST_FMatrix (const EST_FMatrix &a)
copy constructor
[more] EST_FMatrix (const EST_FMatrix &a, int b)
CHECK - what does this do???
[more] EST_FMatrix ()
default constructor
[more]EST_write_status save (const EST_String &filename, const EST_String &type = EST_FMatrix::default_file_type )
Save in file (ascii or binary)
[more]EST_read_status load (const EST_String &filename)
Load from file (ascii or binary as defined in file)
[more]EST_write_status est_save (const EST_String &filename, const EST_String &type)
Save in file in est format
[more]EST_read_status est_load (const EST_String &filename)
Load from file in est format (binary/ascii defined in file itself)
[more]void copyin (float** x, int rows, int cols)
Copy 2-d array x of size rows x cols into matrix
[more]EST_FMatrix& operator+= (const EST_FMatrix &a)
Add elements of 2 same sized matrices
[more]EST_FMatrix& operator-= (const EST_FMatrix &a)
Subtract elements of 2 same sized matrices
[more]EST_FMatrix& operator*= (const float f)
elementwise multiply by scalar
[more]EST_FMatrix& operator/= (const float f)
elementwise divide by scalar


Documentation

A matrix class for floating point numbers. EST_FMatrix x should be used instead of float **x wherever possible.
o EST_FMatrix(int m, int n)
size constructor

o EST_FMatrix(const EST_FMatrix &a)
copy constructor

o EST_FMatrix(const EST_FMatrix &a, int b)
CHECK - what does this do???

o EST_FMatrix()
default constructor

oEST_write_status save(const EST_String &filename, const EST_String &type = EST_FMatrix::default_file_type )
Save in file (ascii or binary)

oEST_read_status load(const EST_String &filename)
Load from file (ascii or binary as defined in file)

oEST_write_status est_save(const EST_String &filename, const EST_String &type)
Save in file in est format

oEST_read_status est_load(const EST_String &filename)
Load from file in est format (binary/ascii defined in file itself)

ovoid copyin(float** x, int rows, int cols)
Copy 2-d array x of size rows x cols into matrix

oEST_FMatrix& operator+=(const EST_FMatrix &a)
Add elements of 2 same sized matrices

oEST_FMatrix& operator-=(const EST_FMatrix &a)
Subtract elements of 2 same sized matrices

oEST_FMatrix& operator*=(const float f)
elementwise multiply by scalar

oEST_FMatrix& operator/=(const float f)
elementwise divide by scalar


This class has no child classes.
Friends:
EST_FMatrix operator*(const EST_FMatrix &a, const float x)
EST_FVector operator*(const EST_FMatrix &a, const EST_FVector &v)
EST_FVector operator*(const EST_FVector &v,const EST_FMatrix &a)
EST_FMatrix operator*(const EST_FMatrix &a, const EST_FMatrix &b)

Alphabetic index HTML hierarchy of classes or Java


This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk