flopc::Constant_abs Class Reference

Inheritance diagram for flopc::Constant_abs:

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

Collaboration graph
[legend]
List of all members.

Private Member Functions

 Constant_abs (const Constant &c)
double evaluate () const

Private Attributes

Constant C

Friends

Constant abs (const Constant &c)
 for computing the absolute value of a constant value.

This is used in the normal formation of an expression such as abs(-5)


Detailed Description

Definition at line 41 of file MP_constant.cpp.


Constructor & Destructor Documentation

flopc::Constant_abs::Constant_abs ( const Constant c  )  [inline, private]

Definition at line 44 of file MP_constant.cpp.


Member Function Documentation

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

Implements flopc::Constant_base.

Definition at line 45 of file MP_constant.cpp.

References C.


Friends And Related Function Documentation

Constant abs ( const Constant c  )  [friend]

for computing the absolute value of a constant value.

This is used in the normal formation of an expression such as abs(-5)

Definition at line 50 of file MP_constant.cpp.


Member Data Documentation

Constant flopc::Constant_abs::C [private]

Definition at line 48 of file MP_constant.cpp.

Referenced by evaluate().


The documentation for this class was generated from the following file:
Generated on Sun Nov 6 03:15:13 2011 for FLOPC++ by  doxygen 1.4.7