flopc::Constant_mult Class Reference

Inheritance diagram for flopc::Constant_mult:

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

Collaboration graph
[legend]
List of all members.

Private Member Functions

 Constant_mult (const Constant &i, const Constant &j)
double evaluate () const

Friends

Constant operator * (const Constant &a, const Constant &b)
 Returns the product of two constants.

This is used in the formation of an expression.


Detailed Description

Definition at line 177 of file MP_constant.cpp.


Constructor & Destructor Documentation

flopc::Constant_mult::Constant_mult ( const Constant i,
const Constant j 
) [inline, private]

Definition at line 180 of file MP_constant.cpp.


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 181 of file MP_constant.cpp.

References flopc::Constant_exp::left, and flopc::Constant_exp::right.


Friends And Related Function Documentation

Constant operator * ( const Constant a,
const Constant b 
) [friend]

Returns the product of two constants.

This is used in the formation of an expression.

Parameters:
a first constant
b second constant
Returns:
the result of multiplying the constants.

Definition at line 186 of file MP_constant.cpp.


The documentation for this class was generated from the following file:
Generated on Fri May 16 00:25:23 2008 for FLOPC++ by  doxygen 1.4.7