flopc::Constant_sum Class Reference

Inheritance diagram for flopc::Constant_sum:
flopc::Constant_base flopc::Functor

List of all members.

Private Member Functions

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

Private Attributes

MP_domain d
Constant exp
double the_sum

Friends

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

Detailed Description

Definition at line 270 of file MP_constant.cpp.


Constructor & Destructor Documentation

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

Definition at line 273 of file MP_constant.cpp.


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 277 of file MP_constant.cpp.

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

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

Implements flopc::Functor.

Definition at line 274 of file MP_constant.cpp.

References exp, and the_sum.


Friends And Related Function Documentation

Constant sum ( const MP_domain i,
const Constant e 
) [friend]

Returns the sum of two constants.

Todo:
description? Haven't used this.
Parameters:
i MP_domain used in evaluation
e constant

Member Data Documentation

Definition at line 283 of file MP_constant.cpp.

Referenced by evaluate().

Definition at line 284 of file MP_constant.cpp.

Referenced by operator()().

double flopc::Constant_sum::the_sum [mutable, private]

Definition at line 285 of file MP_constant.cpp.

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


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

Generated by  doxygen 1.6.2