MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
|
Implents an expansible matrix and its operations. More...
#include <matFuns.h>
Public Member Functions | |
Ematrix (int rows, int cols, int reserveRows, int reserveCols) | |
Ematrix (int rows, int cols) | |
Ematrix (const Ematrix &) | |
Ematrix (const matrix &) | |
Ematrix (const pos3d &) | |
Ematrix (const posCil3d &) | |
void | addSubMat (int r, int c, const Ematrix &mat) |
void | addSubMat (int r, int c, const matrix &mat) |
void | clear () |
float | det () const |
void | extend (int rinc, int cinc) |
float | get (int r, int c) const |
int | getNumCols () const |
int | getNumRows () const |
void | initialize (int rows, int cols, int reserveRows, int reserveCols) |
Ematrix | inverse () const |
Ematrix | mul2 (const Ematrix &) const |
float | operator() (int r, int c) const |
Ematrix | operator* (const Ematrix &) const |
Ematrix | operator* (const float &) const |
Ematrix & | operator*= (const float &) |
Ematrix | operator+ (const Ematrix &) const |
Ematrix & | operator+= (const Ematrix &) |
Ematrix | operator- (const Ematrix &) const |
Ematrix & | operator-= (const Ematrix &) |
Ematrix & | operator= (const Ematrix &) |
Ematrix & | operator= (const matrix &) |
Ematrix & | operator= (const pos3d &) |
Ematrix & | operator= (const posCil3d &) |
void | print (const char *str=0) const |
void | set (int r, int c, float val) |
void | set (int r, int c, const matrix &mat) |
void | set (int r, int c, const Ematrix &mat) |
matrix | subMat (int rini, int rend, int cini, int cend) const |
pos3d | toPos3d () const |
pose | toPose () const |
float | totalsum () const |
Ematrix | transpose () const |
Static Public Member Functions | |
static const Ematrix | identity (int size) |
Protected Attributes | |
unsigned short | cols |
unsigned short | reservedCols |
unsigned short | reservedRows |
unsigned short | rows |
float * | val |
Implents an expansible matrix and its operations.
This size reserved for the matrix data is independent of the current size This matrices can me expanded without relocating the data