Main MRPT website > C++ reference
MRPT logo
Classes | Functions
mrpt::math::detail Namespace Reference

Classes

class  VicinityTraits< CMatrixFixedNumeric< T, D, D > >
 Vicinity traits class specialization for fixed size matrices. More...
 
class  VicinityTraits< CMatrixTemplateNumeric< T > >
 Vicinity traits class specialization for fixed size matrices. More...
 
struct  TAuxResizer
 Internal resize which compiles to nothing on fixed-size matrices. More...
 
struct  TAuxResizer< MAT,-1 >
 
class  MatrixWrapper< U, true >
 
class  MatrixWrapper< U, false >
 
class  AccessorIterator
 Template class for matrix accessor's iterators. More...
 
class  ReverseAccessorIterator
 Template class for matrix accessor's iterators. More...
 

Functions

template<typename T , typename U , bool UIsObject, typename FunctionType >
void applyFunction (CBinaryRelation< T, U, UIsObject > &o, FunctionType fun, size_t e1, size_t e2, const T &T1, const T &T2)
 
template<typename T , typename U , bool UIsObject>
void applyFunction (CBinaryRelation< T, U, UIsObject > &o, typename CBinaryRelation< T, U, UIsObject >::FunctionByReferencePass fun, size_t e1, size_t e2, const T &T1, const T &T2)
 Template specialization by reference type.
 
template<class T >
void noncentralChi2OneIteration (T arg, T &lans, T &dans, T &pans, unsigned int &j)
 
template<class T >
std::pair< double, double > noncentralChi2CDF_exact (unsigned int degreesOfFreedom, T noncentrality, T arg, T eps)
 
template<typename SCALAR >
double BASE_IMPEXP internal_kmeans (const bool use_kmeansplusplus_method, const size_t nPoints, const size_t k, const size_t dims, const SCALAR *points, const size_t attempts, SCALAR *out_center, int *out_assignments)
 
template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 >
double stub_kmeans (const bool use_kmeansplusplus_method, const size_t k, const LIST_OF_VECTORS1 &points, std::vector< int > &assignments, LIST_OF_VECTORS2 *out_centers, const size_t attempts)
 
TPoint2D BASE_IMPEXP lightFromPose (const mrpt::poses::CPoint2D &p)
 Convert a pose into a light-weight structure (functional form, needed for forward declarations)
 
TPoint3D BASE_IMPEXP lightFromPose (const mrpt::poses::CPoint3D &p)
 Convert a pose into a light-weight structure (functional form, needed for forward declarations)
 
TPose2D BASE_IMPEXP lightFromPose (const mrpt::poses::CPose2D &p)
 Convert a pose into a light-weight structure (functional form, needed for forward declarations)
 
TPose3D BASE_IMPEXP lightFromPose (const mrpt::poses::CPose3D &p)
 Convert a pose into a light-weight structure (functional form, needed for forward declarations)
 
TPose3DQuat BASE_IMPEXP lightFromPose (const mrpt::poses::CPose3DQuat &p)
 Convert a pose into a light-weight structure (functional form, needed for forward declarations)
 
template<class MATORG , class MATDEST >
void extractMatrix (const MATORG &M, const size_t first_row, const size_t first_col, MATDEST &outMat)
 Extract a submatrix - The output matrix must be set to the required size before call.
 

Function Documentation

template<typename T , typename U , bool UIsObject, typename FunctionType >
void mrpt::math::detail::applyFunction ( CBinaryRelation< T, U, UIsObject > &  o,
FunctionType  fun,
size_t  e1,
size_t  e2,
const T &  T1,
const T &  T2 
)
inline
template<typename T , typename U , bool UIsObject>
void mrpt::math::detail::applyFunction ( CBinaryRelation< T, U, UIsObject > &  o,
typename CBinaryRelation< T, U, UIsObject >::FunctionByReferencePass  fun,
size_t  e1,
size_t  e2,
const T &  T1,
const T &  T2 
)
inline

Template specialization by reference type.

Definition at line 442 of file CBinaryRelation.h.

References mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationValue().

template<class MATORG , class MATDEST >
void mrpt::math::detail::extractMatrix ( const MATORG &  M,
const size_t  first_row,
const size_t  first_col,
MATDEST &  outMat 
)

Extract a submatrix - The output matrix must be set to the required size before call.

Definition at line 289 of file ops_matrices.h.

References ASSERT_BELOWEQ_.

Referenced by mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::extractColumns(), and mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::extractRows().

template<typename SCALAR >
double BASE_IMPEXP mrpt::math::detail::internal_kmeans ( const bool  use_kmeansplusplus_method,
const size_t  nPoints,
const size_t  k,
const size_t  dims,
const SCALAR *  points,
const size_t  attempts,
SCALAR *  out_center,
int *  out_assignments 
)

Referenced by stub_kmeans().

TPoint2D BASE_IMPEXP mrpt::math::detail::lightFromPose ( const mrpt::poses::CPoint2D p)

Convert a pose into a light-weight structure (functional form, needed for forward declarations)

TPoint3D BASE_IMPEXP mrpt::math::detail::lightFromPose ( const mrpt::poses::CPoint3D p)

Convert a pose into a light-weight structure (functional form, needed for forward declarations)

TPose2D BASE_IMPEXP mrpt::math::detail::lightFromPose ( const mrpt::poses::CPose2D p)

Convert a pose into a light-weight structure (functional form, needed for forward declarations)

TPose3D BASE_IMPEXP mrpt::math::detail::lightFromPose ( const mrpt::poses::CPose3D p)

Convert a pose into a light-weight structure (functional form, needed for forward declarations)

TPose3DQuat BASE_IMPEXP mrpt::math::detail::lightFromPose ( const mrpt::poses::CPose3DQuat p)

Convert a pose into a light-weight structure (functional form, needed for forward declarations)

template<class T >
std::pair<double, double> mrpt::math::detail::noncentralChi2CDF_exact ( unsigned int  degreesOfFreedom,
noncentrality,
arg,
eps 
)
template<class T >
void mrpt::math::detail::noncentralChi2OneIteration ( arg,
T &  lans,
T &  dans,
T &  pans,
unsigned int &  j 
)

Definition at line 201 of file distributions.h.

Referenced by noncentralChi2CDF_exact().

template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 >
double mrpt::math::detail::stub_kmeans ( const bool  use_kmeansplusplus_method,
const size_t  k,
const LIST_OF_VECTORS1 &  points,
std::vector< int > &  assignments,
LIST_OF_VECTORS2 *  out_centers,
const size_t  attempts 
)



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013