CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
Genfun::LegendreExpansion Class Reference

#include <CLHEP/GenericFunctions/LegendreExpansion.hh>

Inheritance diagram for Genfun::LegendreExpansion:
Genfun::AbsFunction

Classes

class  Clockwork

Public Types

enum  Type { REAL , IMAG , MAG , MAGSQ }

Public Member Functions

 LegendreExpansion (Type type, const LegendreCoefficientSet &coefficients)
 LegendreExpansion (const LegendreExpansion &right)
virtual ~LegendreExpansion ()
virtual double operator() (double argument) const override
virtual double operator() (const Argument &a) const override
const LegendreCoefficientSetcoefficientSet () const
Public Member Functions inherited from Genfun::AbsFunction
 AbsFunction ()
 AbsFunction (const AbsFunction &right)
virtual ~AbsFunction ()
virtual unsigned int dimensionality () const
virtual AbsFunctionclone () const =0
virtual FunctionComposition operator() (const AbsFunction &f) const
virtual ParameterComposition operator() (const AbsParameter &p) const
Derivative derivative (const Variable &v) const
Derivative prime () const
virtual bool hasAnalyticDerivative () const
virtual Derivative partial (unsigned int) const

Detailed Description

Author

Definition at line 19 of file LegendreExpansion.hh.

Member Enumeration Documentation

◆ Type

Enumerator
REAL 
IMAG 
MAG 
MAGSQ 

Definition at line 25 of file LegendreExpansion.hh.

Constructor & Destructor Documentation

◆ LegendreExpansion() [1/2]

Genfun::LegendreExpansion::LegendreExpansion ( Type type,
const LegendreCoefficientSet & coefficients )
inline

Definition at line 26 of file LegendreExpansion.icc.

Referenced by LegendreExpansion().

◆ LegendreExpansion() [2/2]

Genfun::LegendreExpansion::LegendreExpansion ( const LegendreExpansion & right)
inline

◆ ~LegendreExpansion()

Genfun::LegendreExpansion::~LegendreExpansion ( )
inlinevirtual

Definition at line 34 of file LegendreExpansion.icc.

Member Function Documentation

◆ coefficientSet()

const LegendreCoefficientSet & Genfun::LegendreExpansion::coefficientSet ( ) const
inline

Definition at line 77 of file LegendreExpansion.icc.

◆ operator()() [1/2]

virtual double Genfun::LegendreExpansion::operator() ( const Argument & a) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 38 of file LegendreExpansion.hh.

References operator()().

◆ operator()() [2/2]

double Genfun::LegendreExpansion::operator() ( double argument) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 46 of file LegendreExpansion.icc.

References IMAG, MAG, MAGSQ, and REAL.

Referenced by operator()().


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