Sundance::DerivOfSymbFunc Class Reference

Inheritance diagram for Sundance::DerivOfSymbFunc:

Sundance::DiffOp Sundance::UnaryExpr Sundance::ExprWithChildren Sundance::EvaluatableExpr Sundance::ScalarExpr Sundance::EvaluatorFactory Sundance::FuncSetAccumulator Sundance::ObjectWithClassVerbosity< EvaluatableExpr > Sundance::ExprBase Playa::ObjectWithVerbosity Playa::Handleable< ExprBase >

List of all members.

Public Member Functions

 DerivOfSymbFunc (const MultiIndex &op, const RCP< ScalarExpr > &arg)
virtual ~DerivOfSymbFunc ()
const FunctionIdentifierargFid () const
virtual RCP< ExprBasegetRcp ()
virtual EvaluatorcreateEvaluator (const EvaluatableExpr *expr, const EvalContext &context) const
Deriv representMeAsFunctionalDeriv () const
virtual bool lessThan (const ScalarExpr *other) const

Private Attributes

FunctionIdentifier argFid_

Detailed Description

Specialization of DiffOp to the case where the argument is a symbolic function, allowing optimized evaluation.

Definition at line 52 of file SundanceDerivOfSymbFunc.hpp.

Constructor & Destructor Documentation

DerivOfSymbFunc::DerivOfSymbFunc ( const MultiIndex op,
const RCP< ScalarExpr > &  arg 

virtual Sundance::DerivOfSymbFunc::~DerivOfSymbFunc (  )  [inline, virtual]

virtual destructor

Definition at line 60 of file SundanceDerivOfSymbFunc.hpp.

Member Function Documentation

const FunctionIdentifier& Sundance::DerivOfSymbFunc::argFid (  )  const [inline]

Definition at line 63 of file SundanceDerivOfSymbFunc.hpp.

References argFid_.

Evaluator * DerivOfSymbFunc::createEvaluator ( const EvaluatableExpr expr,
const EvalContext context 
) const [virtual]

Reimplemented from Sundance::DiffOp.

Definition at line 68 of file SundanceDerivOfSymbFunc.cpp.

virtual RCP<ExprBase> Sundance::DerivOfSymbFunc::getRcp (  )  [inline, virtual]

Reimplemented from Sundance::DiffOp.

Definition at line 66 of file SundanceDerivOfSymbFunc.hpp.

bool DerivOfSymbFunc::lessThan ( const ScalarExpr other  )  const [virtual]

Ordering operator for use in transforming exprs to standard form

Reimplemented from Sundance::DiffOp.

Definition at line 75 of file SundanceDerivOfSymbFunc.cpp.

References argFid_.

Deriv DerivOfSymbFunc::representMeAsFunctionalDeriv (  )  const

Member Data Documentation

Definition at line 80 of file SundanceDerivOfSymbFunc.hpp.

Referenced by argFid(), DerivOfSymbFunc(), and lessThan().

Site Contact