Private Member Functions | Private Attributes | Friends

flopc::Constant_product Class Reference

Inheritance diagram for flopc::Constant_product:
flopc::Constant_base flopc::Functor

List of all members.

Private Member Functions

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

Private Attributes

MP_domain d
Constant exp
double the_product

Friends

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

Detailed Description

Definition at line 288 of file MP_constant.cpp.


Constructor & Destructor Documentation

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

Definition at line 291 of file MP_constant.cpp.


Member Function Documentation

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

Definition at line 295 of file MP_constant.cpp.

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

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

Implements flopc::Functor.

Definition at line 292 of file MP_constant.cpp.

References exp, and the_product.


Friends And Related Function Documentation

Constant product ( 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 301 of file MP_constant.cpp.

Referenced by evaluate().

Definition at line 302 of file MP_constant.cpp.

Referenced by operator()().

double flopc::Constant_product::the_product [mutable, private]

Definition at line 303 of file MP_constant.cpp.

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


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