APM:Libraries
Public Member Functions | Private Attributes | Friends | List of all members
MatrixN< T, N > Class Template Reference

#include <matrixN.h>

Collaboration diagram for MatrixN< T, N >:
[legend]

Public Member Functions

 MatrixN (void)
 
 MatrixN (const float d[N])
 
void mult (const VectorN< T, N > &A, const VectorN< T, N > &B)
 
MatrixN< T, N > & operator-= (const MatrixN< T, N > &B)
 
MatrixN< T, N > & operator+= (const MatrixN< T, N > &B)
 
void force_symmetry (void)
 

Private Attributes

v [N][N]
 

Friends

class VectorN< T, N >
 

Detailed Description

template<typename T, uint8_t N>
class MatrixN< T, N >

Definition at line 16 of file matrixN.h.

Constructor & Destructor Documentation

◆ MatrixN() [1/2]

template<typename T, uint8_t N>
MatrixN< T, N >::MatrixN ( void  )
inline

Definition at line 22 of file matrixN.h.

◆ MatrixN() [2/2]

template<typename T, uint8_t N>
MatrixN< T, N >::MatrixN ( const float  d[N])
inline

Definition at line 27 of file matrixN.h.

Member Function Documentation

◆ force_symmetry()

template<typename T , uint8_t N>
template void MatrixN< T, N >::force_symmetry ( void  )

Definition at line 47 of file matrixN.cpp.

Referenced by MatrixN< float, N >::force_symmetry(), MatrixN< float, N >::MatrixN(), and ExtendedKalmanFilter::update().

Here is the caller graph for this function:

◆ mult()

template<typename T, uint8_t N>
template void MatrixN< T, N >::mult ( const VectorN< T, N > &  A,
const VectorN< T, N > &  B 
)

Definition at line 12 of file matrixN.cpp.

Referenced by MatrixN< float, N >::force_symmetry(), MatrixN< float, N >::MatrixN(), and ExtendedKalmanFilter::update().

Here is the caller graph for this function:

◆ operator+=()

template<typename T, uint8_t N>
template MatrixN< float, 4 > & MatrixN< T, N >::operator+= ( const MatrixN< T, N > &  B)

Definition at line 35 of file matrixN.cpp.

Referenced by MatrixN< float, N >::force_symmetry(), and MatrixN< float, N >::MatrixN().

Here is the caller graph for this function:

◆ operator-=()

template<typename T, uint8_t N>
template MatrixN< float, 4 > & MatrixN< T, N >::operator-= ( const MatrixN< T, N > &  B)

Definition at line 23 of file matrixN.cpp.

Referenced by MatrixN< float, N >::force_symmetry(), and MatrixN< float, N >::MatrixN().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ VectorN< T, N >

template<typename T, uint8_t N>
friend class VectorN< T, N >
friend

Definition at line 18 of file matrixN.h.

Member Data Documentation

◆ v

template<typename T, uint8_t N>
T MatrixN< T, N >::v[N][N]
private

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