Public Member Functions | |
UnaryExpr (const RCP< ScalarExpr > &arg) | |
virtual | ~UnaryExpr () |
Expr | arg () const |
const EvaluatableExpr * | evaluatableArg () const |
Definition at line 48 of file SundanceUnaryExpr.hpp.
UnaryExpr::UnaryExpr | ( | const RCP< ScalarExpr > & | arg | ) |
construct with the argument
Definition at line 45 of file SundanceUnaryExpr.cpp.
virtual Sundance::UnaryExpr::~UnaryExpr | ( | ) | [inline, virtual] |
virtual dtor
Definition at line 55 of file SundanceUnaryExpr.hpp.
Expr Sundance::UnaryExpr::arg | ( | ) | const [inline] |
Return the operand
Definition at line 58 of file SundanceUnaryExpr.hpp.
References Sundance::ExprWithChildren::child().
Referenced by Sundance::RemoveUnaryMinusFromSum::doTransform(), Sundance::MoveUnaryMinusOutsideProduct::doTransform(), Sundance::Expr::getSumTree(), Sundance::Expr::operator-(), Sundance::UnaryMinus::toText(), Sundance::NonlinearUnaryOp::toText(), Sundance::DiffOp::toText(), Sundance::UnaryMinus::toXML(), Sundance::NonlinearUnaryOp::toXML(), and Sundance::DiffOp::toXML().
const EvaluatableExpr* Sundance::UnaryExpr::evaluatableArg | ( | ) | const [inline] |
Downcast the argument to an evaluatable expr
Definition at line 61 of file SundanceUnaryExpr.hpp.
References Sundance::ExprWithChildren::evaluatableChild().
Referenced by Sundance::DerivOfSymbFunc::DerivOfSymbFunc(), Sundance::DerivOfSymbFuncEvaluator::DerivOfSymbFuncEvaluator(), Sundance::DiffOp::internalDetermineR(), Sundance::DiffOp::internalFindC(), Sundance::UnaryMinus::internalFindQ_W(), Sundance::DiffOp::internalFindV(), Sundance::DiffOp::internalFindW(), Sundance::UnaryMinus::isLinearForm(), Sundance::DiffOp::isLinearForm(), Sundance::UnaryMinus::isLinearInTests(), Sundance::DiffOp::isLinearInTests(), Sundance::UnaryMinus::isQuadraticForm(), Sundance::DiffOp::isQuadraticForm(), Sundance::DiffOp::maxDiffOrderOnDiscreteFunctions(), Sundance::DiffOp::registerSpatialDerivs(), and Sundance::DerivOfSymbFunc::representMeAsFunctionalDeriv().