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


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 233 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 227 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

Definition at line 301 of file MP_constant.cpp.


Member Data Documentation

MP_domain flopc::Constant_max::d [private]

Definition at line 239 of file MP_constant.cpp.

Referenced by evaluate().

Constant flopc::Constant_max::exp [private]

Definition at line 240 of file MP_constant.cpp.

Referenced by operator()().

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

Definition at line 241 of file MP_constant.cpp.

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


The documentation for this class was generated from the following file:
Generated on Fri May 16 00:25:23 2008 for FLOPC++ by  doxygen 1.4.7