| 
    ML Reference
    
   | 
 
Base class of all matrix classes that holds the data buffer and provides some general access methods. More...
#include <mlFloatingPointMatrix.h>
  
Public Types | |
| enum | { RowCount = size } | 
| This enum grants access to the row count during compile time, e.g., it can be used as a template argument.  More... | |
| enum | { ColumnCount = VectorT::Size } | 
| This enum grants access to the row count during compile time, e.g., it can be used as a template argument.  More... | |
| enum | { ComponentCount = static_cast<int>(RowCount)*ColumnCount } | 
| This enum grants access to the number of values in the matrix, e.g., it can be used as a template argument.  More... | |
| typedef VectorT::ComponentType | ComponentType | 
| A typedef to 'export' the type of subcomponents.   | |
| typedef VectorT | VectorType | 
| A typedef to 'export' the type of component vector.   | |
Public Member Functions | |
| const VectorT & | operator[] (const size_t i) const | 
| VectorT & | operator[] (const size_t i) | 
| ComponentType & | linearIndexed (const size_t idx) | 
| ComponentType | linearIndexedConst (const size_t idx) const | 
| ComponentType | compAbsSum () const | 
| void | setValuesFromPtr (const ComponentType *const values) | 
| Copies the contents from an array matrix into *this, row by row; type and size must match.   | |
| void | getValuesToPtr (ComponentType *values) const | 
| Copies contents of *this into an array matrix, row by row; type and size must match.   | |
Protected Attributes | |
| VectorT | v [size] | 
| The rows constituting the matrix.   | |
Base class of all matrix classes that holds the data buffer and provides some general access methods.
Definition at line 34 of file mlFloatingPointMatrix.h.
| typedef VectorT::ComponentType ml::FloatingPointMatrix< VectorT, size >::ComponentType | 
A typedef to 'export' the type of subcomponents.
Definition at line 38 of file mlFloatingPointMatrix.h.
| typedef VectorT ml::FloatingPointMatrix< VectorT, size >::VectorType | 
A typedef to 'export' the type of component vector.
Definition at line 41 of file mlFloatingPointMatrix.h.
| anonymous enum | 
This enum grants access to the row count during compile time, e.g., it can be used as a template argument.
| Enumerator | |
|---|---|
| RowCount | |
Definition at line 45 of file mlFloatingPointMatrix.h.
| anonymous enum | 
This enum grants access to the row count during compile time, e.g., it can be used as a template argument.
| Enumerator | |
|---|---|
| ColumnCount | |
Definition at line 49 of file mlFloatingPointMatrix.h.
| anonymous enum | 
This enum grants access to the number of values in the matrix, e.g., it can be used as a template argument.
| Enumerator | |
|---|---|
| ComponentCount | |
Definition at line 53 of file mlFloatingPointMatrix.h.
      
  | 
  inline | 
Definition at line 150 of file mlFloatingPointMatrix.h.
References MLAbs().
| void ml::FloatingPointMatrix< VectorT, size >::getValuesToPtr | ( | ComponentType * | values | ) | const | 
Copies contents of *this into an array matrix, row by row; type and size must match.
Note: This might be not as fast as the setValues methods of the template instances, depending on compiler optimizations (loop unrolling)
Definition at line 177 of file mlFloatingPointMatrix.h.
Referenced by ml::AbstractPersistenceOutputStream::write().
      
  | 
  inline | 
Definition at line 123 of file mlFloatingPointMatrix.h.
References ML_BAD_INDEX, and ml::printTemplateError().
      
  | 
  inline | 
Definition at line 136 of file mlFloatingPointMatrix.h.
References ML_BAD_INDEX, and ml::printTemplateError().
| VectorT & ml::FloatingPointMatrix< VectorT, size >::operator[] | ( | const size_t | i | ) | 
Definition at line 111 of file mlFloatingPointMatrix.h.
References ML_BAD_INDEX, and ml::printTemplateError().
| const VectorT & ml::FloatingPointMatrix< VectorT, size >::operator[] | ( | const size_t | i | ) | const | 
Definition at line 99 of file mlFloatingPointMatrix.h.
References ML_BAD_INDEX, and ml::printTemplateError().
| void ml::FloatingPointMatrix< VectorT, size >::setValuesFromPtr | ( | const ComponentType *const | values | ) | 
Copies the contents from an array matrix into *this, row by row; type and size must match.
Note: This might be not as fast as the setValues methods of the template instances, depending on compiler optimizations (loop unrolling)
Definition at line 164 of file mlFloatingPointMatrix.h.
Referenced by ml::AbstractPersistenceInputStream::read().
      
  | 
  protected | 
The rows constituting the matrix.
Definition at line 93 of file mlFloatingPointMatrix.h.
Referenced by ml::Tmat3< DT >::jacobi(), ml::Tmat2< DT >::operator+=(), ml::Tmat3< DT >::operator+=(), ml::Tmat4< DT >::operator+=(), ml::Tmat5< DT >::operator+=(), ml::Tmat6< DT >::operator+=(), ml::Tmat2< DT >::operator-=(), ml::Tmat3< DT >::operator-=(), ml::Tmat4< DT >::operator-=(), ml::Tmat5< DT >::operator-=(), ml::Tmat6< DT >::operator-=(), ml::Tmat2< DT >::operator=(), ml::Tmat3< DT >::operator=(), ml::Tmat4< DT >::operator=(), ml::Tmat5< DT >::operator=(), ml::Tmat6< DT >::operator=(), ml::Tmat2< DT >::Tmat2(), ml::Tmat3< DT >::Tmat3(), ml::Tmat4< DT >::Tmat4(), ml::Tmat5< DT >::Tmat5(), and ml::Tmat6< DT >::Tmat6().