flopc::Constant_max Class Reference

Inheritance diagram for flopc::Constant_max:
Inheritance graph
[legend]
Collaboration diagram for flopc::Constant_max:
Collaboration graph
[legend]

List of all members.

Private Member Functions

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

Private Attributes

MP_domain d
Constant exp
double the_max

Friends

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

Detailed Description

Definition at line 194 of file MP_constant.cpp.


Constructor & Destructor Documentation

flopc::Constant_max::Constant_max ( const MP_domain i,
const Constant e 
) [inline, private]

Definition at line 197 of file MP_constant.cpp.


Member Function Documentation

double flopc::Constant_max::evaluate (  )  const [inline, private, virtual]

Implements flopc::Constant_base.

Definition at line 204 of file MP_constant.cpp.

References d, flopc::MP_domain::Forall(), and the_max.

void flopc::Constant_max::operator() (  )  const [inline, private, virtual]

Implements flopc::Functor.

Definition at line 198 of file MP_constant.cpp.

References exp, and the_max.


Friends And Related Function Documentation

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:
i MP_domain used in evaluation
e constant

Member Data Documentation

Definition at line 210 of file MP_constant.cpp.

Referenced by evaluate().

Definition at line 211 of file MP_constant.cpp.

Referenced by operator()().

double flopc::Constant_max::the_max [mutable, private]

Definition at line 212 of file MP_constant.cpp.

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


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

Generated on 30 Mar 2015 for FLOPC++ by  doxygen 1.6.1