carl  24.04
Computer ARithmetic Library
carl::GaloisFieldManager< IntegerType > Class Template Reference

#include <GaloisField.h>

Inheritance diagram for carl::GaloisFieldManager< IntegerType >:
Collaboration diagram for carl::GaloisFieldManager< IntegerType >:

Public Types

using BaseIntType = typename GaloisField< IntegerType >::BaseIntType
 

Public Member Functions

const GaloisField< IntegerType > * field (BaseIntType p, BaseIntType k=1)
 

Static Public Member Functions

static GaloisFieldManager< IntegerType > & getInstance ()
 Returns the single instance of this class by reference. More...
 

Private Attributes

std::map< std::pair< BaseIntType, BaseIntType >, std::unique_ptr< GaloisField< IntegerType > >, IntegerPairCompare< unsigned > > mGaloisFields
 

Detailed Description

template<typename IntegerType>
class carl::GaloisFieldManager< IntegerType >

Definition at line 99 of file GaloisField.h.

Member Typedef Documentation

◆ BaseIntType

template<typename IntegerType >
using carl::GaloisFieldManager< IntegerType >::BaseIntType = typename GaloisField<IntegerType>::BaseIntType

Definition at line 101 of file GaloisField.h.

Member Function Documentation

◆ field()

template<typename IntegerType >
const GaloisField<IntegerType>* carl::GaloisFieldManager< IntegerType >::field ( BaseIntType  p,
BaseIntType  k = 1 
)
inline

Definition at line 106 of file GaloisField.h.

◆ getInstance()

static GaloisFieldManager< IntegerType > & carl::Singleton< GaloisFieldManager< IntegerType > >::getInstance ( )
inlinestaticinherited

Returns the single instance of this class by reference.

If there is no instance yet, a new one is created.

Definition at line 45 of file Singleton.h.

Field Documentation

◆ mGaloisFields

template<typename IntegerType >
std::map<std::pair<BaseIntType,BaseIntType>, std::unique_ptr<GaloisField<IntegerType> >, IntegerPairCompare<unsigned> > carl::GaloisFieldManager< IntegerType >::mGaloisFields
private

Definition at line 103 of file GaloisField.h.


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