FLOPC++
Private Member Functions | Private Attributes | Friends | List of all members
flopc::Constant_index Class Reference
Inheritance diagram for flopc::Constant_index:
flopc::Constant_base

Private Member Functions

 Constant_index (const MP_index_exp &i)
 
double evaluate () const
 

Private Attributes

const MP_index_exp I
 

Friends

class Constant
 

Additional Inherited Members

- Public Member Functions inherited from flopc::Constant_base
virtual int getStage () const
 
virtual int stage () const
 
- Protected Member Functions inherited from flopc::Constant_base
 Constant_base ()
 
virtual ~Constant_base ()
 
- Protected Attributes inherited from flopc::Constant_base
int count
 

Detailed Description

Definition at line 19 of file MP_constant.cpp.

Constructor & Destructor Documentation

◆ Constant_index()

flopc::Constant_index::Constant_index ( const MP_index_exp i)
inlineprivate

Definition at line 22 of file MP_constant.cpp.

Member Function Documentation

◆ evaluate()

double flopc::Constant_index::evaluate ( ) const
inlineprivatevirtual

Implements flopc::Constant_base.

Definition at line 23 of file MP_constant.cpp.

References I.

Friends And Related Function Documentation

◆ Constant

friend class Constant
friend

Definition at line 20 of file MP_constant.cpp.

Referenced by flopc::operator+(), and flopc::operator-().

Member Data Documentation

◆ I

const MP_index_exp flopc::Constant_index::I
private

Definition at line 26 of file MP_constant.cpp.

Referenced by evaluate().


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