wykobi::matrix< T, M, N > Class Template Reference

#include <biped-stabilizer/third_party/wykobi/wykobi_matrix.hpp>

Public Member Functions

 matrix ()
 
 ~matrix ()
 
 matrix (const matrix< T, M, N > &m)
 
const T & operator() (std::size_t x, std::size_t y) const
 
T & operator() (std::size_t x, std::size_t y)
 
const T & operator() (std::size_t i) const
 
T & operator() (std::size_t i)
 
const T & operator[] (std::size_t i) const
 
T & operator[] (std::size_t i)
 
matrix< T, M, N > & operator= (const matrix< T, M, N > &m)
 
matrix< T, M, N > & operator+= (const T &value)
 
matrix< T, M, N > & operator-= (const T &value)
 
matrix< T, M, N > & operator*= (const T &value)
 
matrix< T, M, N > & operator/= (const T &value)
 
matrix< T, M, N > & operator+= (const matrix< T, M, N > &_matrix)
 
matrix< T, M, N > & operator-= (const matrix< T, M, N > &_matrix)
 
void zero ()
 
void identity ()
 
void swap (const unsigned int &x1, const unsigned int &y1, const unsigned int &x2, const unsigned int &y2)
 
std::size_t size () const
 

Constructor & Destructor Documentation

◆ matrix() [1/2]

template<typename T , std::size_t M, std::size_t N>
wykobi::matrix< T, M, N >::matrix ( )
inline

◆ ~matrix()

template<typename T , std::size_t M, std::size_t N>
wykobi::matrix< T, M, N >::~matrix ( )
inline

◆ matrix() [2/2]

template<typename T , std::size_t M, std::size_t N>
wykobi::matrix< T, M, N >::matrix ( const matrix< T, M, N > &  m)

Member Function Documentation

◆ identity()

template<typename T , std::size_t M, std::size_t N>
void wykobi::matrix< T, M, N >::identity ( )

◆ operator()() [1/4]

template<typename T , std::size_t M, std::size_t N>
T& wykobi::matrix< T, M, N >::operator() ( std::size_t  i)
inline

◆ operator()() [2/4]

template<typename T , std::size_t M, std::size_t N>
const T& wykobi::matrix< T, M, N >::operator() ( std::size_t  i) const
inline

◆ operator()() [3/4]

template<typename T , std::size_t M, std::size_t N>
T& wykobi::matrix< T, M, N >::operator() ( std::size_t  x,
std::size_t  y 
)
inline

◆ operator()() [4/4]

template<typename T , std::size_t M, std::size_t N>
const T& wykobi::matrix< T, M, N >::operator() ( std::size_t  x,
std::size_t  y 
) const
inline

◆ operator*=()

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator*= ( const T &  value)

◆ operator+=() [1/2]

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator+= ( const matrix< T, M, N > &  _matrix)

◆ operator+=() [2/2]

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator+= ( const T &  value)

◆ operator-=() [1/2]

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator-= ( const matrix< T, M, N > &  _matrix)

◆ operator-=() [2/2]

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator-= ( const T &  value)

◆ operator/=()

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator/= ( const T &  value)

◆ operator=()

template<typename T , std::size_t M, std::size_t N>
matrix<T, M, N>& wykobi::matrix< T, M, N >::operator= ( const matrix< T, M, N > &  m)

◆ operator[]() [1/2]

template<typename T , std::size_t M, std::size_t N>
T& wykobi::matrix< T, M, N >::operator[] ( std::size_t  i)
inline

◆ operator[]() [2/2]

template<typename T , std::size_t M, std::size_t N>
const T& wykobi::matrix< T, M, N >::operator[] ( std::size_t  i) const
inline

◆ size()

template<typename T , std::size_t M, std::size_t N>
std::size_t wykobi::matrix< T, M, N >::size ( ) const
inline

◆ swap()

template<typename T , std::size_t M, std::size_t N>
void wykobi::matrix< T, M, N >::swap ( const unsigned int &  x1,
const unsigned int &  y1,
const unsigned int &  x2,
const unsigned int &  y2 
)

◆ zero()

template<typename T , std::size_t M, std::size_t N>
void wykobi::matrix< T, M, N >::zero ( )

The documentation for this class was generated from the following file: