Public Member Functions | |
RearrangeRightProductWithConstant () | |
virtual | ~RearrangeRightProductWithConstant () |
virtual bool | doTransform (const RCP< ScalarExpr > &left, const RCP< ScalarExpr > &right, RCP< ScalarExpr > &rtn) const |
Definition at line 314 of file SundanceStdProductTransformations.hpp.
Sundance::RearrangeRightProductWithConstant::RearrangeRightProductWithConstant | ( | ) | [inline] |
Definition at line 318 of file SundanceStdProductTransformations.hpp.
virtual Sundance::RearrangeRightProductWithConstant::~RearrangeRightProductWithConstant | ( | ) | [inline, virtual] |
Definition at line 321 of file SundanceStdProductTransformations.hpp.
bool RearrangeRightProductWithConstant::doTransform | ( | const RCP< ScalarExpr > & | left, | |
const RCP< ScalarExpr > & | right, | |||
RCP< ScalarExpr > & | rtn | |||
) | const [virtual] |
Implements Sundance::ProductTransformation.
Definition at line 473 of file SundanceStdProductTransformations.cpp.
References Sundance::SymbolicTransformation::getScalar(), Sundance::Expr::handle(), Sundance::ExprWithChildren::isConstant(), Sundance::ScalarExpr::isConstant(), Sundance::BinaryExpr::left(), Sundance::BinaryExpr::leftScalar(), Playa::Out::println(), Sundance::BinaryExpr::right(), Sundance::BinaryExpr::rightScalar(), Sundance::Expr::toString(), and Playa::ObjectWithVerbosity::verb().