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

Classes

class  MaxFunctor
 

Private Member Functions

 Constant_max (const MP_domain &i, const Constant &e)
 
double evaluate () const
 

Private Attributes

MP_domain d
 
Constant exp
 

Friends

Constant maximum (const MP_domain &i, const Constant &e)
 Returns the maximum over the domain of the constant. More...
 

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 223 of file MP_constant.cpp.

Constructor & Destructor Documentation

◆ Constant_max()

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

Definition at line 226 of file MP_constant.cpp.

Member Function Documentation

◆ evaluate()

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

Implements flopc::Constant_base.

Definition at line 227 of file MP_constant.cpp.

References flopc::Constant_max::MaxFunctor::the_max.

Friends And Related Function Documentation

◆ maximum

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

Returns the maximum over the domain of the constant.

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

Definition at line 306 of file MP_constant.cpp.

Member Data Documentation

◆ d

MP_domain flopc::Constant_max::d
private

Definition at line 245 of file MP_constant.cpp.

◆ exp

Constant flopc::Constant_max::exp
private

Definition at line 246 of file MP_constant.cpp.


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