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

AbsFunctExpressionclone () const override
 
 FunctExpressionT (const F &f)
 
double operator() (double x) const override
 
 ~FunctExpressionT () override
 
- 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

◆ FunctExpressionT()

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]

◆ ~FunctExpressionT()

template<typename F >
funct::FunctExpressionT< F >::~FunctExpressionT ( )
inlineoverride

Definition at line 58 of file Expression.h.

58 {}

Member Function Documentation

◆ clone()

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

Implements funct::AbsFunctExpression.

Definition at line 60 of file Expression.h.

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

60 { return new FunctExpressionT<F>(_f); }

◆ operator()()

template<typename F >
double funct::FunctExpressionT< F >::operator() ( double  x) const
inlineoverridevirtual

Implements funct::AbsFunctExpression.

Definition at line 59 of file Expression.h.

References funct::FunctExpressionT< F >::_f, and x.

59 { return _f(x); }

Member Data Documentation

◆ _f

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