Matrix of NxM elements (resizable in runtime), with operation overloads for itself, VectorND and scalars
Public Methods
-
MatrixNM()
- Constructors / Destructors
-
MatrixNM(unsigned int n, unsigned int m)
-
virtual ~MatrixNM()
-
void Resize(unsigned int n, unsigned int m)
-
void makeIdentity(void)
-
void SetElement(unsigned int i, unsigned int j, double val)
-
double GetElement(unsigned int i, unsigned int j) const
-
inline unsigned int GetN(void) const
-
inline unsigned int GetM(void) const
-
bool EqualSize(const MatrixNM other) const
-
MatrixNM Transpose() const
-
void SetRow(unsigned int i, const VectorND row)
- The user must take care on vectors lengths, to match matrix size
-
void SetColumn(unsigned int j, const VectorND col)
-
VectorND GetRow(unsigned int row) const
-
VectorND GetColumn(unsigned int col) const
-
void SetValues(const double* v)
- --------------------------------------------------
-
void Out(char* c) const
- Handle with care.
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
-
string strGetLine(istrstream& ifstr) const
-
inline MatrixNM& operator=(const MatrixNM& other)
- Operator overloads
-
MatrixNM operator+(const MatrixNM& other) const
-
MatrixNM& operator+=(const MatrixNM& other)
-
MatrixNM operator-(const MatrixNM& other) const
-
MatrixNM& operator -=(const MatrixNM& other)
-
MatrixNM operator-()
-
MatrixNM operator/(const double other) const
-
MatrixNM& operator/=(const double other)
-
MatrixNM operator*(const double other) const
-
MatrixNM& operator*=(const double other)
-
MatrixNM operator *(const MatrixNM& other) const
-
VectorND operator *(const VectorND& other) const
-
inline vector< vector<double> > Get_mNM(void) const
Private Fields
-
vector< vector<double> > mNM
Documentation
Matrix of NxM elements (resizable in runtime), with operation overloads for itself, VectorND and scalars
- MatrixNM()
- Constructors / Destructors
- MatrixNM(unsigned int n, unsigned int m)
- virtual ~MatrixNM()
- void Resize(unsigned int n, unsigned int m)
- void makeIdentity(void)
- void SetElement(unsigned int i, unsigned int j, double val)
- double GetElement(unsigned int i, unsigned int j) const
- inline unsigned int GetN(void) const
- inline unsigned int GetM(void) const
- bool EqualSize(const MatrixNM other) const
- MatrixNM Transpose() const
- void SetRow(unsigned int i, const VectorND row)
- The user must take care on vectors lengths, to match matrix size
- void SetColumn(unsigned int j, const VectorND col)
- VectorND GetRow(unsigned int row) const
- VectorND GetColumn(unsigned int col) const
- void SetValues(const double* v)
- --------------------------------------------------
- void Out(char* c) const
- Handle with care. Must be N*M=lenght, v[lenght].
- int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- string strGetLine(istrstream& ifstr) const
- inline MatrixNM& operator=(const MatrixNM& other)
- Operator overloads
- MatrixNM operator+(const MatrixNM& other) const
- MatrixNM& operator+=(const MatrixNM& other)
- MatrixNM operator-(const MatrixNM& other) const
- MatrixNM& operator -=(const MatrixNM& other)
- MatrixNM operator-()
- MatrixNM operator/(const double other) const
- MatrixNM& operator/=(const double other)
- MatrixNM operator*(const double other) const
- MatrixNM& operator*=(const double other)
- MatrixNM operator *(const MatrixNM& other) const
- VectorND operator *(const VectorND& other) const
- inline vector< vector<double> > Get_mNM(void) const
- vector< vector<double> > mNM
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.