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