CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
funct::FunctExpressionT< F > Struct Template Reference

#include <Expression.h>

Inheritance diagram for funct::FunctExpressionT< F >:
funct::AbsFunctExpression

Public Member Functions

virtual AbsFunctExpressionclone () const
 
 FunctExpressionT (const F &f)
 
virtual double operator() (double x) const
 
virtual ~FunctExpressionT ()
 
- Public Member Functions inherited from funct::AbsFunctExpression
virtual ~AbsFunctExpression ()
 

Private Attributes

F _f
 

Detailed Description

template<typename F>
struct funct::FunctExpressionT< F >

Definition at line 50 of file Expression.h.

Constructor & Destructor Documentation

template<typename F >
funct::FunctExpressionT< F >::FunctExpressionT ( const F f)
inline

Definition at line 51 of file Expression.h.

51 : _f(f) {}
double f[11][100]
template<typename F >
virtual funct::FunctExpressionT< F >::~FunctExpressionT ( )
inlinevirtual

Definition at line 52 of file Expression.h.

52 { }

Member Function Documentation

template<typename F >
virtual AbsFunctExpression* funct::FunctExpressionT< F >::clone ( void  ) const
inlinevirtual

Implements funct::AbsFunctExpression.

Definition at line 54 of file Expression.h.

References funct::FunctExpressionT< F >::_f.

54 { return new FunctExpressionT<F>(_f); }
template<typename F >
virtual double funct::FunctExpressionT< F >::operator() ( double  x) const
inlinevirtual

Implements funct::AbsFunctExpression.

Definition at line 53 of file Expression.h.

References funct::FunctExpressionT< F >::_f.

53 { return _f(x); }
x
Definition: VDTMath.h:216

Member Data Documentation

template<typename F >
F funct::FunctExpressionT< F >::_f
private