34 typedef __int8 int8_t;
35 typedef __int16 int16_t;
37 typedef __int64 int64_t;
38 typedef unsigned __int8 uint8_t;
39 typedef unsigned __int16 uint16_t;
40 typedef unsigned __int32 uint32_t;
41 typedef unsigned __int64 uint64_t;
bool solve(const Matrix &M, FLOAT eps=1e-20)
void setMat(const Matrix &M, const int32_t i, const int32_t j)
static Matrix ones(const int32_t m, const int32_t n)
bool lu(int32_t *idx, FLOAT &d, FLOAT eps=1e-20)
static Matrix diag(const Matrix &M)
static Matrix homogenizeTranslation(const Matrix &M)
static Matrix homogenize(const Matrix &M)
Matrix operator*(const Matrix &M)
Matrix operator/(const Matrix &M)
void allocateMemory(const int32_t m_, const int32_t n_)
Matrix & operator=(const Matrix &M)
static Matrix reshape(const Matrix &M, int32_t m, int32_t n)
void setVal(const int32_t m, const int32_t n, const FLOAT *val_)
void setDiag(FLOAT s, int32_t i1=0, int32_t i2=-1)
static Matrix cross(const Matrix &a, const Matrix &b)
FLOAT pythag(FLOAT a, FLOAT b)
double eps(TVector3 v1, TVector3 v2)
static Matrix rotMatX(const FLOAT &angle)
static Matrix homogenizeRotTrans(const Matrix &R, const Matrix &t)
void getData(FLOAT *val_, int32_t i1=0, int32_t j1=0, int32_t i2=-1, int32_t j2=-1)
friend std::ostream & operator<<(std::ostream &out, const Matrix &M)
Matrix operator+(const Matrix &M)
static Matrix rotMatZ(const FLOAT &angle)
static Matrix dehomogenize(const Matrix &M)
void svd(Matrix &U, Matrix &W, Matrix &V)
Matrix extractCols(std::vector< int > idx)
Matrix getMat(int32_t i1, int32_t j1, int32_t i2=-1, int32_t j2=-1)
static Matrix rotMatY(const FLOAT &angle)