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

Private Member Functions

 Constant_min (const MP_domain &i, const Constant &e)
void operator() () const
double evaluate () const

Private Attributes

MP_domain d
Constant exp
double the_min

Friends

Constant minimum (const MP_domain &i, const Constant &e)
 Returns the sum of two constants.

Additional Inherited Members

- Public Member Functions inherited from flopc::Constant_base
virtual double evaluate () const =0
virtual int getStage () const
virtual int stage () const
- Public Member Functions inherited from flopc::Functor
virtual void operator() () const =0
- Protected Member Functions inherited from flopc::Constant_base
 Constant_base ()
virtual ~Constant_base ()
- Protected Member Functions inherited from flopc::Functor
 Functor ()
virtual ~Functor ()
 Functor (const Functor &)
- Protected Attributes inherited from flopc::Constant_base
int count

Detailed Description

Definition at line 249 of file MP_constant.cpp.

Constructor & Destructor Documentation

flopc::Constant_min::Constant_min ( const MP_domain i,
const Constant e 
)
inlineprivate

Definition at line 252 of file MP_constant.cpp.

Member Function Documentation

double flopc::Constant_min::evaluate ( ) const
inlineprivate

Definition at line 259 of file MP_constant.cpp.

References d, flopc::MP_domain::forall(), and the_min.

void flopc::Constant_min::operator() ( ) const
inlineprivate

Definition at line 253 of file MP_constant.cpp.

References exp, and the_min.

Friends And Related Function Documentation

Constant minimum ( const MP_domain i,
const Constant e 
)
friend

Returns the sum of two constants.

Todo:
description? Haven't used this.
Parameters
iMP_domain used in evaluation
esecond constant

Definition at line 309 of file MP_constant.cpp.

Member Data Documentation

MP_domain flopc::Constant_min::d
private

Definition at line 265 of file MP_constant.cpp.

Referenced by evaluate().

Constant flopc::Constant_min::exp
private

Definition at line 266 of file MP_constant.cpp.

Referenced by operator()().

double flopc::Constant_min::the_min
mutableprivate

Definition at line 267 of file MP_constant.cpp.

Referenced by evaluate(), and operator()().


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