flopc::Constant_minus Class Reference

Inheritance diagram for flopc::Constant_minus:
flopc::Constant_exp flopc::Constant_base

List of all members.

Private Member Functions

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

Friends

Constant operator- (const Constant &a, const Constant &b)
 Returns the difference of two constants.This is used in the formation of an expression.
Constant operator- (MP_index &a, MP_index &b)
 returns a Constant as a result of a difference of two MP_index values.

Detailed Description

Definition at line 145 of file MP_constant.cpp.


Constructor & Destructor Documentation

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

Definition at line 149 of file MP_constant.cpp.


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 150 of file MP_constant.cpp.

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


Friends And Related Function Documentation

Constant operator- ( MP_index a,
MP_index b 
) [friend]

returns a Constant as a result of a difference of two MP_index values.

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

Returns the difference of two constants.This is used in the formation of an expression.

Parameters:
a first constant
b second constant
Returns:
the difference between the constants.

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

Generated by  doxygen 1.6.2