geomc 1.0
A c++ linear algebra template library
Public Types | Public Member Functions | Public Attributes | List of all members
BinopExpr< I, O, A, B > Class Template Reference
Inheritance diagram for BinopExpr< I, O, A, B >:
Expr< I, O >

Public Types

typedef I in_type
 
typedef O out_type
 

Public Member Functions

 BinopExpr (boost::shared_ptr< Expr< I, A > > a, boost::shared_ptr< Expr< I, B > > b, O(*combine)(A, B), string name)
 
virtual void sout (std::ostream &s)
 
virtual O eval (I x)
 
virtual boost::shared_ptr< Expr< I, O > > managedCopy ()
 
virtual string opname ()
 
 operator boost::shared_ptr< Expr< I, O > > ()
 

Public Attributes

boost::shared_ptr< Expr< I, A > > e1
 
boost::shared_ptr< Expr< I, B > > e2
 
O(* combine )(A, B)
 
string name
 

Member Function Documentation

◆ eval()

virtual O eval ( x)
inlinevirtual

Implements Expr< I, O >.

◆ managedCopy()

virtual boost::shared_ptr< Expr< I, O > > managedCopy ( )
inlinevirtual

Implements Expr< I, O >.

◆ opname()

virtual string opname ( )
inlinevirtual

Implements Expr< I, O >.

◆ sout()

virtual void sout ( std::ostream &  s)
inlinevirtual

Implements Expr< I, O >.


The documentation for this class was generated from the following file: