Public Member Functions | |
| TakeConstantUnderIntegralSign () | |
| virtual | ~TakeConstantUnderIntegralSign () |
| virtual bool | doTransform (const RCP< ScalarExpr > &left, const RCP< ScalarExpr > &right, RCP< ScalarExpr > &rtn) const |
Rearrange a product of a constant and an integral so that the constant is under the integral sign:
Definition at line 372 of file SundanceStdProductTransformations.hpp.
Definition at line 376 of file SundanceStdProductTransformations.hpp.
| virtual Sundance::TakeConstantUnderIntegralSign::~TakeConstantUnderIntegralSign | ( | ) | [inline, virtual] |
Definition at line 379 of file SundanceStdProductTransformations.hpp.
| bool TakeConstantUnderIntegralSign::doTransform | ( | const RCP< ScalarExpr > & | left, |
| const RCP< ScalarExpr > & | right, | ||
| RCP< ScalarExpr > & | rtn | ||
| ) | const [virtual] |
Implements Sundance::ProductTransformation.
Definition at line 607 of file SundanceStdProductTransformations.cpp.
References Sundance::SumOfIntegrals::multiplyByConstant(), and Sundance::ExprBase::toString().