Public Member Functions | |
| MoveConstantsToLeftOfProduct () | |
| virtual | ~MoveConstantsToLeftOfProduct () |
| virtual bool | doTransform (const RCP< ScalarExpr > &left, const RCP< ScalarExpr > &right, RCP< ScalarExpr > &rtn) const |
Transform a product by moving any constants to the left:
Definition at line 165 of file SundanceStdProductTransformations.hpp.
Definition at line 169 of file SundanceStdProductTransformations.hpp.
| virtual Sundance::MoveConstantsToLeftOfProduct::~MoveConstantsToLeftOfProduct | ( | ) | [inline, virtual] |
Definition at line 172 of file SundanceStdProductTransformations.hpp.
| bool MoveConstantsToLeftOfProduct::doTransform | ( | const RCP< ScalarExpr > & | left, |
| const RCP< ScalarExpr > & | right, | ||
| RCP< ScalarExpr > & | rtn | ||
| ) | const [virtual] |
Implements Sundance::ProductTransformation.
Definition at line 214 of file SundanceStdProductTransformations.cpp.
References Sundance::SymbolicTransformation::getScalar(), Sundance::Expr::handle(), Playa::Out::println(), SUNDANCE_OUT, and Playa::ObjectWithVerbosity::verb().