CMS 3D CMS Logo

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 56 of file Expression.h.

Constructor & Destructor Documentation

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

Definition at line 57 of file Expression.h.

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

Definition at line 58 of file Expression.h.

58 {}

Member Function Documentation

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

Implements funct::AbsFunctExpression.

Definition at line 60 of file Expression.h.

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

Implements funct::AbsFunctExpression.

Definition at line 59 of file Expression.h.

59 { return _f(x); }

Member Data Documentation

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

Definition at line 63 of file Expression.h.