oILAB
Loading...
Searching...
No Matches
oILAB::RationalMatrix< dim > Class Template Reference

#include <RationalMatrix.h>

+ Inheritance diagram for oILAB::RationalMatrix< dim >:

Public Member Functions

 RationalMatrix (const MatrixDimD &R)
 
 RationalMatrix (const MatrixDimI &Rn, const IntScalarType &Rd)
 
 RationalMatrix (const MatrixDimI &Rn, const MatrixDimI &Rd)
 
MatrixDimD asMatrix () const
 

Data Fields

const MatrixDimIintegerMatrix
 
const IntScalarTypemu
 

Private Types

typedef Eigen::Matrix< double, dim, 1 > VectorDimD
 
typedef Eigen::Matrix< double, dim, dim > MatrixDimD
 
typedef long long int IntScalarType
 
typedef Eigen::Matrix< IntScalarType, dim, 1 > VectorDimI
 
typedef Eigen::Matrix< IntScalarType, dim, dim > MatrixDimI
 

Static Private Member Functions

static std::pair< MatrixDimI, IntScalarTypecompute (const MatrixDimD &R)
 
static std::pair< MatrixDimI, IntScalarTypereduce (const MatrixDimI &Rn, const MatrixDimI &Rd)
 

Private Attributes

const std::pair< MatrixDimI, IntScalarTypereturnPair
 

Static Private Attributes

static constexpr long long int maxDen = 1000000
 

Detailed Description

template<int dim>
class oILAB::RationalMatrix< dim >

Definition at line 13 of file RationalMatrix.h.

Member Typedef Documentation

◆ IntScalarType

template<int dim>
typedef long long int oILAB::RationalMatrix< dim >::IntScalarType
private

Definition at line 17 of file RationalMatrix.h.

◆ MatrixDimD

template<int dim>
typedef Eigen::Matrix<double, dim, dim> oILAB::RationalMatrix< dim >::MatrixDimD
private

Definition at line 16 of file RationalMatrix.h.

◆ MatrixDimI

template<int dim>
typedef Eigen::Matrix<IntScalarType, dim, dim> oILAB::RationalMatrix< dim >::MatrixDimI
private

Definition at line 19 of file RationalMatrix.h.

◆ VectorDimD

template<int dim>
typedef Eigen::Matrix<double, dim, 1> oILAB::RationalMatrix< dim >::VectorDimD
private

Definition at line 15 of file RationalMatrix.h.

◆ VectorDimI

template<int dim>
typedef Eigen::Matrix<IntScalarType, dim, 1> oILAB::RationalMatrix< dim >::VectorDimI
private

Definition at line 18 of file RationalMatrix.h.

Constructor & Destructor Documentation

◆ RationalMatrix() [1/3]

template<int dim>
oILAB::RationalMatrix< dim >::RationalMatrix ( const MatrixDimD R)

Definition at line 104 of file RationalMatrix.cpp.

◆ RationalMatrix() [2/3]

template<int dim>
oILAB::RationalMatrix< dim >::RationalMatrix ( const MatrixDimI Rn,
const IntScalarType Rd 
)

Definition at line 124 of file RationalMatrix.cpp.

◆ RationalMatrix() [3/3]

template<int dim>
oILAB::RationalMatrix< dim >::RationalMatrix ( const MatrixDimI Rn,
const MatrixDimI Rd 
)

Definition at line 112 of file RationalMatrix.cpp.

Member Function Documentation

◆ asMatrix()

template<int dim>
RationalMatrix< dim >::MatrixDimD oILAB::RationalMatrix< dim >::asMatrix ( ) const

Definition at line 132 of file RationalMatrix.cpp.

◆ compute()

template<int dim>
std::pair< typename RationalMatrix< dim >::MatrixDimI, typename RationalMatrix< dim >::IntScalarType > oILAB::RationalMatrix< dim >::compute ( const MatrixDimD R)
staticprivate

Definition at line 23 of file RationalMatrix.cpp.

◆ reduce()

template<int dim>
std::pair< typename RationalMatrix< dim >::MatrixDimI, typename RationalMatrix< dim >::IntScalarType > oILAB::RationalMatrix< dim >::reduce ( const MatrixDimI Rn,
const MatrixDimI Rd 
)
staticprivate

Definition at line 66 of file RationalMatrix.cpp.

Field Documentation

◆ integerMatrix

template<int dim>
const MatrixDimI& oILAB::RationalMatrix< dim >::integerMatrix

Definition at line 30 of file RationalMatrix.h.

◆ maxDen

template<int dim>
constexpr long long int oILAB::RationalMatrix< dim >::maxDen = 1000000
staticconstexprprivate

Definition at line 22 of file RationalMatrix.h.

◆ mu

template<int dim>
const IntScalarType& oILAB::RationalMatrix< dim >::mu

Definition at line 31 of file RationalMatrix.h.

◆ returnPair

template<int dim>
const std::pair<MatrixDimI, IntScalarType> oILAB::RationalMatrix< dim >::returnPair
private

Definition at line 27 of file RationalMatrix.h.


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