The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::PointCov< T, N > Class Template Reference

Inhomogeneous n-dimensional point and associated covariance matrix. More...

#include <PointCov.h>

Public Member Functions

 PointCov ()=default
 Default constructor.
 
 PointCov (const Point< T, N > &point, const SmallMatrix< T, N, N > &cov)
 Constructs inhomogeneous n-dimensional point and associated covariance matrix.
 
 PointCov (const PointCov< T, N > &rhs)=default
 Copy constructor.
 
 ~PointCov ()=default
 Destructor.
 
PointCov< T, N > & operator= (const PointCov< T, N > &rhs)=default
 Assignment operator.
 
Point< T, N > & point ()
 Inhomogeneous n-dimensional point.
 
const Point< T, N > & point () const
 Inhomogeneous n-dimensional point.
 
SmallMatrix< T, N, N > & cov ()
 Covariance matrix associated with the inhomogeneous n-dimensional point.
 
const SmallMatrix< T, N, N > & cov () const
 Covariance matrix associated with the inhomogeneous n-dimensional point.
 

Detailed Description

template<typename T, size_t N>
class blo::PointCov< T, N >

Inhomogeneous n-dimensional point and associated covariance matrix.

Template Parameters
TData type.
NNumber of dimensions.

Constructor & Destructor Documentation

◆ PointCov() [1/3]

template<typename T , size_t N>
blo::PointCov< T, N >::PointCov ( )
default

Default constructor.

◆ PointCov() [2/3]

template<typename T , size_t N>
blo::PointCov< T, N >::PointCov ( const Point< T, N > &  point,
const SmallMatrix< T, N, N > &  cov 
)

Constructs inhomogeneous n-dimensional point and associated covariance matrix.

Parameters
pointInhomogeneous n-dimensional point.
covCovariance matrix associated with the inhomogeneous n-dimensional point.

◆ PointCov() [3/3]

template<typename T , size_t N>
blo::PointCov< T, N >::PointCov ( const PointCov< T, N > &  rhs)
default

Copy constructor.

◆ ~PointCov()

template<typename T , size_t N>
blo::PointCov< T, N >::~PointCov ( )
default

Destructor.

Member Function Documentation

◆ cov() [1/2]

template<typename T , size_t N>
SmallMatrix< T, N, N > & blo::PointCov< T, N >::cov ( )

Covariance matrix associated with the inhomogeneous n-dimensional point.

◆ cov() [2/2]

template<typename T , size_t N>
const SmallMatrix< T, N, N > & blo::PointCov< T, N >::cov ( ) const

Covariance matrix associated with the inhomogeneous n-dimensional point.

◆ operator=()

template<typename T , size_t N>
PointCov< T, N > & blo::PointCov< T, N >::operator= ( const PointCov< T, N > &  rhs)
default

Assignment operator.

◆ point() [1/2]

template<typename T , size_t N>
Point< T, N > & blo::PointCov< T, N >::point ( )

Inhomogeneous n-dimensional point.

Returns
Inhomogeneous n-dimensional point.

◆ point() [2/2]

template<typename T , size_t N>
const Point< T, N > & blo::PointCov< T, N >::point ( ) const

Inhomogeneous n-dimensional point.

Returns
Inhomogeneous n-dimensional point.

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