flopc::Constant_product Class Reference

Inheritance diagram for flopc::Constant_product:

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

Collaboration graph
[legend]
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, virtual]

Implements flopc::Constant_base.

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

Definition at line 315 of file MP_constant.cpp.


Member Data Documentation

MP_domain flopc::Constant_product::d [private]

Definition at line 301 of file MP_constant.cpp.

Referenced by evaluate().

Constant flopc::Constant_product::exp [private]

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:
Generated on Fri May 16 19:22:47 2008 for FLOPC++ by  doxygen 1.4.7