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

Public Types

typedef I in_type
 
typedef O out_type
 

Public Member Functions

 UnaryOpExpr (boost::shared_ptr< Expr< I, E > > f, O(*func)(E), 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, E > > f
 
O(* func )(E)
 
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: