Sundance::UserDefOp Class Reference

Inheritance diagram for Sundance::UserDefOp:

Sundance::ListExpr Sundance::ExprBase Playa::Handleable< ExprBase >

List of all members.

Public Member Functions

 UserDefOp (const Expr &args, const RCP< const UserDefFunctor > &functor)
virtual ~UserDefOp ()
virtual RCP< ExprBasegetRcp ()

Static Private Member Functions

static Array< RCP< ScalarExpr > > getScalarArgs (const Expr &args)

Detailed Description

UserDefOp provides a hook for inserting a user-defined nonlinear function into the Sundance Expr system.

Definition at line 60 of file SundanceUserDefOp.hpp.

Constructor & Destructor Documentation

UserDefOp::UserDefOp ( const Expr args,
const RCP< const UserDefFunctor > &  functor 

construct with an argument and the functor defining the operation

Definition at line 45 of file SundanceUserDefOp.cpp.

References Sundance::ListExpr::append(), and getScalarArgs().

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

virtual destructor

Definition at line 68 of file SundanceUserDefOp.hpp.

Member Function Documentation

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

Reimplemented from Sundance::ListExpr.

Definition at line 71 of file SundanceUserDefOp.hpp.

Array< RCP< ScalarExpr > > UserDefOp::getScalarArgs ( const Expr args  )  [static, private]

Site Contact