CAPD::DynSys Library  6.0.0
SmithFormFactory.hpp File Reference

Classes

struct  capd::matrixAlgorithms::_CreateSmithForm_< MatrixT >
 
struct  capd::matrixAlgorithms::_CreateSmithForm_< Matrix< Scalar, 0, 0 > >
 
struct  capd::matrixAlgorithms::_CreateSmithForm_< Matrix< short, 0, 0 > >
 
struct  capd::matrixAlgorithms::_CreateSmithForm_< Matrix< int, 0, 0 > >
 
struct  capd::matrixAlgorithms::_CreateSmithForm_< Matrix< long, 0, 0 > >
 
struct  capd::matrixAlgorithms::_CreateSmithForm_< Matrix< llong, 0, 0 > >
 

Namespaces

 capd
 
 capd::matrixAlgorithms
 Matrix algorithms: Gauss elimination, orthonormalization, QR decomposition etc.
 

Macros

#define CREATE_SMITH_FORM(type)
 

Detailed Description

Macro Definition Documentation

◆ CREATE_SMITH_FORM

#define CREATE_SMITH_FORM (   type)
Value:
template<> \
struct _CreateSmithForm_<Matrix<type, 0, 0> > \
{\
typedef Matrix<type, 0, 0> MatrixT;\
SmithForm<MatrixT>* operator()(MatrixT& B, bool computeQ, bool computeQinv, bool computeR, bool computeRinv, bool usePari) \
{ \
if (usePari && PARISmithForm<type>::enabled()) { \
return new PARISmithForm<type>(B, computeQ, computeQinv, computeR, computeRinv); \
} else { \
return new CAPDSmithForm<MatrixT>(B, computeQ, computeQinv, computeR, computeRinv); \
} \
} \
};
Definition: Matrix.h:65