oILAB
Loading...
Searching...
No Matches
gbLAB::RationalApproximations< IntScalarType > Class Template Reference

#include <RationalApproximations.h>

Public Member Functions

 RationalApproximations (double number, int max_denominator, double tolerance)
 

Data Fields

double number
 
double tolerance
 
IntScalarType max_denominator
 
std::vector< Rational< IntScalarType > > approximations
 

Detailed Description

template<typename IntScalarType>
class gbLAB::RationalApproximations< IntScalarType >

Definition at line 14 of file RationalApproximations.h.

Constructor & Destructor Documentation

◆ RationalApproximations()

template<typename IntScalarType >
gbLAB::RationalApproximations< IntScalarType >::RationalApproximations ( double  number,
int  max_denominator,
double  tolerance 
)
inline

Definition at line 22 of file RationalApproximations.h.

Field Documentation

◆ approximations

template<typename IntScalarType >
std::vector<Rational<IntScalarType> > gbLAB::RationalApproximations< IntScalarType >::approximations

Definition at line 20 of file RationalApproximations.h.

◆ max_denominator

template<typename IntScalarType >
IntScalarType gbLAB::RationalApproximations< IntScalarType >::max_denominator

Definition at line 19 of file RationalApproximations.h.

◆ number

template<typename IntScalarType >
double gbLAB::RationalApproximations< IntScalarType >::number

Definition at line 17 of file RationalApproximations.h.

◆ tolerance

template<typename IntScalarType >
double gbLAB::RationalApproximations< IntScalarType >::tolerance

Definition at line 18 of file RationalApproximations.h.


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