#include <matrix.h>
|
| | Matrix () |
| |
| | Matrix (const int32_t m, const int32_t n) |
| |
| | Matrix (const int32_t m, const int32_t n, const FLOAT *val_) |
| |
| | Matrix (const Matrix &M) |
| |
| | ~Matrix () |
| |
| Matrix & | operator= (const Matrix &M) |
| |
| void | getData (FLOAT *val_, int32_t i1=0, int32_t j1=0, int32_t i2=-1, int32_t j2=-1) |
| |
| Matrix | getMat (int32_t i1, int32_t j1, int32_t i2=-1, int32_t j2=-1) |
| |
| void | setMat (const Matrix &M, const int32_t i, const int32_t j) |
| |
| void | setVal (FLOAT s, int32_t i1=0, int32_t j1=0, int32_t i2=-1, int32_t j2=-1) |
| |
| void | setDiag (FLOAT s, int32_t i1=0, int32_t i2=-1) |
| |
| void | zero () |
| |
| Matrix | extractCols (std::vector< int > idx) |
| |
| void | eye () |
| |
| Matrix | operator+ (const Matrix &M) |
| |
| Matrix | operator- (const Matrix &M) |
| |
| Matrix | operator* (const Matrix &M) |
| |
| Matrix | operator* (const FLOAT &s) |
| |
| Matrix | operator/ (const Matrix &M) |
| |
| Matrix | operator/ (const FLOAT &s) |
| |
| Matrix | operator- () |
| |
| Matrix | operator~ () |
| |
| FLOAT | l2norm () |
| |
| FLOAT | mean () |
| |
| bool | inv () |
| |
| FLOAT | det () |
| |
| bool | solve (const Matrix &M, FLOAT eps=1e-20) |
| |
| bool | lu (int32_t *idx, FLOAT &d, FLOAT eps=1e-20) |
| |
| void | svd (Matrix &U, Matrix &W, Matrix &V) |
| |
◆ Matrix() [1/4]
◆ Matrix() [2/4]
| Matrix::Matrix |
( |
const int32_t |
m, |
|
|
const int32_t |
n |
|
) |
| |
◆ Matrix() [3/4]
| Matrix::Matrix |
( |
const int32_t |
m, |
|
|
const int32_t |
n, |
|
|
const FLOAT * |
val_ |
|
) |
| |
◆ Matrix() [4/4]
| Matrix::Matrix |
( |
const Matrix & |
M | ) |
|
◆ ~Matrix()
◆ cross()
◆ det()
◆ diag()
◆ extractCols()
| Matrix Matrix::extractCols |
( |
std::vector< int > |
idx | ) |
|
◆ eye() [1/2]
| Matrix Matrix::eye |
( |
const int32_t |
m | ) |
|
|
static |
◆ eye() [2/2]
◆ getData()
| void Matrix::getData |
( |
FLOAT * |
val_, |
|
|
int32_t |
i1 = 0, |
|
|
int32_t |
j1 = 0, |
|
|
int32_t |
i2 = -1, |
|
|
int32_t |
j2 = -1 |
|
) |
| |
◆ getMat()
| Matrix Matrix::getMat |
( |
int32_t |
i1, |
|
|
int32_t |
j1, |
|
|
int32_t |
i2 = -1, |
|
|
int32_t |
j2 = -1 |
|
) |
| |
◆ inv() [1/2]
◆ inv() [2/2]
◆ l2norm()
◆ lu()
| bool Matrix::lu |
( |
int32_t * |
idx, |
|
|
FLOAT & |
d, |
|
|
FLOAT |
eps = 1e-20 |
|
) |
| |
◆ mean()
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator+()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator/() [1/2]
◆ operator/() [2/2]
◆ operator=()
◆ operator~()
◆ reshape()
| Matrix Matrix::reshape |
( |
const Matrix & |
M, |
|
|
int32_t |
m, |
|
|
int32_t |
n |
|
) |
| |
|
static |
◆ rotMatX()
◆ rotMatY()
◆ rotMatZ()
◆ setDiag()
| void Matrix::setDiag |
( |
FLOAT |
s, |
|
|
int32_t |
i1 = 0, |
|
|
int32_t |
i2 = -1 |
|
) |
| |
◆ setMat()
| void Matrix::setMat |
( |
const Matrix & |
M, |
|
|
const int32_t |
i, |
|
|
const int32_t |
j |
|
) |
| |
◆ setVal()
| void Matrix::setVal |
( |
FLOAT |
s, |
|
|
int32_t |
i1 = 0, |
|
|
int32_t |
j1 = 0, |
|
|
int32_t |
i2 = -1, |
|
|
int32_t |
j2 = -1 |
|
) |
| |
◆ solve()
| bool Matrix::solve |
( |
const Matrix & |
M, |
|
|
FLOAT |
eps = 1e-20 |
|
) |
| |
◆ svd()
◆ zero()
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Matrix & |
M |
|
) |
| |
|
friend |
◆ val
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-perception-libelas-0.20130628/src/matrix.h
- /build/rock-master-18.09-perception-libelas-0.20130628/src/matrix.cpp