flopc::Expression_mult Class Reference

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

List of all members.

Private Member Functions

 Expression_mult (const Constant &e1, const MP_expression &e2)
double level () const
void generate (const MP_domain &domain, vector< Constant > multiplicators, GenerateFunctor &f, double m) const
void insertVariables (set< MP_variable * > &v) const

Private Attributes

Constant left
MP_expression right

Friends

MP_expression operator* (const Constant &e1, const MP_expression &e2)
MP_expression operator* (const MP_expression &e1, const Constant &e2)

Detailed Description

Definition at line 89 of file MP_expression.cpp.


Constructor & Destructor Documentation

flopc::Expression_mult::Expression_mult ( const Constant e1,
const MP_expression e2 
) [inline, private]

Definition at line 94 of file MP_expression.cpp.


Member Function Documentation

void flopc::Expression_mult::generate ( const MP_domain domain,
vector< Constant multiplicators,
GenerateFunctor f,
double  m 
) const [inline, private]

Definition at line 99 of file MP_expression.cpp.

References left, and right.

void flopc::Expression_mult::insertVariables ( set< MP_variable * > &  v  )  const [inline, private]

Definition at line 106 of file MP_expression.cpp.

References right.

double flopc::Expression_mult::level (  )  const [inline, private, virtual]

Implements flopc::MP_expression_base.

Definition at line 96 of file MP_expression.cpp.

References left, and right.


Friends And Related Function Documentation

MP_expression operator* ( const MP_expression e1,
const Constant e2 
) [friend]

Operator which multiplies an MP_expression by a Constant, and forms a new MP_expression

MP_expression operator* ( const Constant e1,
const MP_expression e2 
) [friend]

Operator which multiplies a Constant by an MP_expression, and forms a new MP_expression


Member Data Documentation

Definition at line 109 of file MP_expression.cpp.

Referenced by generate(), and level().

Definition at line 110 of file MP_expression.cpp.

Referenced by generate(), insertVariables(), and level().


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

Generated on 21 Dec 2013 for FLOPC++ by  doxygen 1.6.1