libCalib
C++ library documentation
libCalib::Matrix< T, rows, cols > Class Template Reference

#include <types.h>

Public Member Functions

 Matrix (const std::initializer_list< T > &init)
 
 Matrix (const std::array< std::array< T, cols >, rows > &init)
 
size_t getRows () const
 
size_t getCols () const
 
T & operator() (unsigned int row, unsigned int col)
 
operator() (unsigned int row, unsigned int col) const
 
template<size_t colsOther>
Matrix< T, rows, colsOther > operator* (const Matrix< T, cols, colsOther > &other) const
 
Matrix< T, cols, rows > transpose ()
 
double * ptr ()
 
double const * ptr () const
 
Matrix< T, rows, cols > cholesky ()
 

Detailed Description

template<typename T, size_t rows, size_t cols>
class libCalib::Matrix< T, rows, cols >

A general purpose fixed-size matrix class.