flopc::Constant_sum Class Reference

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

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


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 243 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 240 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 249 of file MP_constant.cpp.

Referenced by evaluate().

Definition at line 250 of file MP_constant.cpp.

Referenced by operator()().

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

Definition at line 251 of file MP_constant.cpp.

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


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

Generated on 3 Jun 2015 for FLOPC++ by  doxygen 1.6.1