Inheritance diagram for RealMat:


Constructors | |
| RealMat (u_int rows, u_int cols) | |
| RealMat (RealVec &src, u_int rstart, u_int rend, u_int rows, u_int cols) | |
| ~RealMat () | |
Unary Operators | |
| RealMat & | operator- () |
| RealMat & | transpose () |
Binary Operators | |
| RealMat & | operator+= (const RealMat &r) |
| RealMat & | operator+= (const Real &r) |
| RealMat & | operator-= (const RealMat &r) |
| RealMat & | operator-= (const Real &r) |
| RealMat & | operator *= (const RealMat &r) |
| RealMat & | operator *= (const Real &r) |
| RealMat & | operator/= (const RealMat &r) |
| RealMat & | operator/= (const Real &r) |
Vector-Matrix Operators | |
| RealMat & | deltarule (Real rate, const RealVec &x, const RealVec &y) |
| static RealVec & | mul (RealVec &y, const RealVec &x, const RealMat &m) |
| static RealVec & | mul (RealVec &y, const RealMat &m, const RealVec &x) |
Matrix-Matrix Operators | |
| RealMat & | cover (const MatrixData< bool > &mask) |
Math Functions | |
| RealMat & | exp () |
| RealMat & | scale (const Real v) |
| RealMat & | inv () |
| Real | norm () |
| void | normalize () |
Construct a Matrix view from VectorData passed
| src | is the RealVec from which this method constructs a RealMat view. See Documentation about MatrixData view constructor |
| ~RealMat | ( | ) |
Destructor
| RealMat& operator- | ( | ) | [inline] |
Operator -
Right Multiplication: y += x*m
| y | the result of multiplication | |
| x | the vector | |
| m | the matrix |
Left Multiplication: y += m*x
| y | the result of multiplication | |
| m | the matrix | |
| x | the vector |
Delta-Rule: m += rate * x * y
It return itself
| rate | is the factor of multiplicaton | |
| x | is the first vector, its dimension have to be the same of matrix's rows | |
| y | is the second vector, its dimension have to be the same of matrix's columns |
| RealMat& cover | ( | const MatrixData< bool > & | mask | ) | [inline] |
Put to zero all elements at positions where mask elements are false
| RealMat& exp | ( | ) |
Exponential
| RealMat& inv | ( | ) |
Element Inversion
| Real norm | ( | ) | [inline] |
"Entrywise" Norm of order 2 or Frobenius norm
| void normalize | ( | ) | [inline] |
normalize the matrix, so the "entrywise" norm is one