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)
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.

Classes

class  MaxFunctor

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

References d, exp, flopc::MP_domain::forall(), and flopc::Constant_max::MaxFunctor::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 306 of file MP_constant.cpp.


Member Data Documentation

MP_domain flopc::Constant_max::d [private]

Definition at line 245 of file MP_constant.cpp.

Referenced by evaluate().

Constant flopc::Constant_max::exp [private]

Definition at line 246 of file MP_constant.cpp.

Referenced by evaluate().


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 03:06:06 2008 for FLOPC++ by  doxygen 1.4.7