MUQ  0.4.3
TemplatedArrayUtilities.h File Reference

Go to the source code of this file.

Classes

class  muq::Approximation::ColumnSlice< MatType >
 
class  muq::Approximation::VectorSlice< VecType >
 
class  muq::Approximation::MatrixBlock< MatType >
 

Namespaces

 muq
 
 muq::Approximation
 

Functions

template<typename MatrixType >
unsigned muq::Approximation::GetShape (MatrixType const &mat, unsigned dim)
 
template<typename ScalarType , int rows, int cols>
unsigned muq::Approximation::GetShape (Eigen::Matrix< ScalarType, rows, cols > const &mat, unsigned dim)
 
template<typename Derived >
unsigned muq::Approximation::GetShape (MatrixBlock< Derived > const &mat, unsigned dim)
 
template<typename Derived >
unsigned muq::Approximation::GetShape (Eigen::Ref< Derived > const &mat, unsigned dim)
 
template<typename VectorType1 , typename VectorType2 >
double muq::Approximation::CalcSquaredDistance (VectorType1 const &v1, VectorType2 const &v2, int startDim=0, int endDim=-1)
 Calculates the distance squared between two points defined by vectors v1 and v2. More...
 
template<typename VectorType1 , typename VectorType2 >
double muq::Approximation::CalcDistance (VectorType1 const &v1, VectorType2 const &v2)
 
template<typename MatType >
ColumnSlice< MatType > muq::Approximation::GetColumn (MatType &matrix, unsigned col)
 
template<typename MatType >
VectorSlice< MatType > muq::Approximation::GetSlice (MatType &matrix, std::vector< unsigned > const &inds)
 
template<typename MatType >
MatrixBlock< MatType > muq::Approximation::GetBlock (MatType &matrix, unsigned rowStart, unsigned colStart, unsigned numRows, unsigned numCols)