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


Member Function Documentation

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

Implements flopc::Constant_base.

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

Referenced by evaluate().

Definition at line 247 of file MP_constant.cpp.

Referenced by operator()().

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

Definition at line 248 of file MP_constant.cpp.

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


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

Generated on 7 Oct 2014 for FLOPC++ by  doxygen 1.6.1