CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Genfun Namespace Reference

Namespaces

namespace  EllipticIntegral
 
namespace  FractionalOrder
 
namespace  IntegralOrder
 

Classes

class  Abs
 
class  AbsFunction
 
class  AbsFunctional
 
class  AbsParameter
 
class  ACos
 
class  AdaptiveRKStepper
 
class  Airy
 
class  AnalyticConvolution
 
class  Argument
 
class  ArrayFunction
 
class  ASin
 
class  AssociatedLaguerre
 
class  AssociatedLegendre
 
class  ATan
 
class  BetaDistribution
 
class  BivariateGaussian
 
class  BogackiShampineXtTableau
 
class  ButcherTableau
 
class  CashKarpXtTableau
 
class  ClassicalRungeKuttaTableau
 
class  ClebschGordanCoefficientSet
 
class  ConstMinusFunction
 
class  ConstMinusParameter
 
class  ConstOverFunction
 
class  ConstOverParameter
 
class  ConstPlusFunction
 
class  ConstPlusParameter
 
class  ConstTimesFunction
 
class  ConstTimesParameter
 
class  Cos
 
class  CubicSplinePolynomial
 
class  CumulativeChiSquare
 
class  DefiniteIntegral
 
class  DoubleParamToArgAdaptor
 
class  EfficiencyFunctional
 
class  EmbeddedRKStepper
 
class  EnergyFunction
 
class  Erf
 
class  EulerTableau
 
class  Exp
 
class  Exponential
 
class  ExtendedButcherTableau
 
class  F1D
 
class  FehlbergRK45F2XtTableau
 
class  FixedConstant
 
class  FloatingConstant
 
class  FourierFit
 
class  FunctionComposition
 
class  FunctionConvolution
 
class  FunctionDifference
 
class  FunctionDirectProduct
 
class  FunctionNegation
 
class  FunctionNoop
 
class  FunctionNumDeriv
 
class  FunctionPlusParameter
 
class  FunctionProduct
 
class  FunctionQuotient
 
class  FunctionSum
 
class  FunctionTimesParameter
 
class  Gamma
 
class  GammaDistribution
 
class  Gaussian
 
class  HermitePolynomial
 
class  HeunEulerXtTableau
 
class  IncompleteGamma
 
class  InterpolatingPolynomial
 
class  KroneckerDelta
 
class  Landau
 
class  Legendre
 
class  LegendreCoefficientSet
 
class  LegendreExpansion
 
class  LegendreFit
 
class  LikelihoodFunctional
 
class  Ln
 
class  LogGamma
 
class  LogisticFunction
 
class  MidpointTableau
 
class  Mod
 
class  NonrelativisticBWDistribution
 
class  Parameter
 
class  ParameterComposition
 
class  ParameterDifference
 
class  ParameterNegation
 
class  ParameterProduct
 
class  ParameterQuotient
 
class  ParameterSum
 
class  ParamToArgAdaptor
 
class  PeriodicRectangular
 
class  Power
 
class  Psi2Hydrogen
 
class  PtRelFcn
 
class  PuncturedSmearedExp
 
class  RCBase
 
class  Rectangular
 
class  RelativisticBWDistribution
 
class  ReverseExponential
 
class  RK31Tableau
 
class  RK32Tableau
 
class  RKIntegrator
 
class  Sigma
 
class  SimpleRKStepper
 
class  Sin
 
class  SphericalBessel
 
class  SphericalHarmonicCoefficientSet
 
class  SphericalHarmonicExpansion
 
class  SphericalHarmonicFit
 
class  SphericalNeumann
 
class  Sqrt
 
class  Square
 
class  StepDoublingRKStepper
 
class  SymToArgAdaptor
 
class  Tan
 
class  Theta
 
class  ThreeEighthsRuleTableau
 
class  TrapezoidTableau
 
class  TrivariateGaussian
 
class  Variable
 
class  VoigtProfile
 
class  X_
 

Typedefs

typedef FunctionNoop Derivative
 
typedef const AbsFunctionGENFUNCTION
 
typedef const AbsParameterGENPARAMETER
 
typedef std::vector< ArgumentArgumentList
 

Functions

FunctionProduct operator* (const AbsFunction &op1, const AbsFunction &op2)
 
FunctionSum operator+ (const AbsFunction &op1, const AbsFunction &op2)
 
FunctionDifference operator- (const AbsFunction &op1, const AbsFunction &op2)
 
FunctionQuotient operator/ (const AbsFunction &op1, const AbsFunction &op2)
 
FunctionNegation operator- (const AbsFunction &op1)
 
ConstTimesFunction operator* (double c, const AbsFunction &op2)
 
ConstPlusFunction operator+ (double c, const AbsFunction &op2)
 
ConstMinusFunction operator- (double c, const AbsFunction &op2)
 
ConstOverFunction operator/ (double c, const AbsFunction &op2)
 
ConstTimesFunction operator* (const AbsFunction &op2, double c)
 
ConstPlusFunction operator+ (const AbsFunction &op2, double c)
 
ConstPlusFunction operator- (const AbsFunction &op2, double c)
 
ConstTimesFunction operator/ (const AbsFunction &op2, double c)
 
FunctionTimesParameter operator* (const AbsFunction &op1, const AbsParameter &op2)
 
FunctionPlusParameter operator+ (const AbsFunction &op1, const AbsParameter &op2)
 
FunctionPlusParameter operator- (const AbsFunction &op1, const AbsParameter &op2)
 
FunctionTimesParameter operator/ (const AbsFunction &op1, const AbsParameter &op2)
 
FunctionTimesParameter operator* (const AbsParameter &op1, const AbsFunction &op2)
 
FunctionPlusParameter operator+ (const AbsParameter &op1, const AbsFunction &op2)
 
FunctionPlusParameter operator- (const AbsParameter &op1, const AbsFunction &op2)
 
FunctionTimesParameter operator/ (const AbsParameter &op1, const AbsFunction &op2)
 
FunctionConvolution convolve (const AbsFunction &op1, const AbsFunction &op2, double x0, double x1)
 
FunctionDirectProduct operator% (const AbsFunction &op1, const AbsFunction &op2)
 
ConstTimesParameter operator* (double c, const AbsParameter &op2)
 
ConstPlusParameter operator+ (double c, const AbsParameter &op2)
 
ConstMinusParameter operator- (double c, const AbsParameter &op2)
 
ConstOverParameter operator/ (double c, const AbsParameter &op2)
 
ConstTimesParameter operator* (const AbsParameter &op2, double c)
 
ConstPlusParameter operator+ (const AbsParameter &op2, double c)
 
ConstPlusParameter operator- (const AbsParameter &op2, double c)
 
ConstTimesParameter operator/ (const AbsParameter &op2, double c)
 
ParameterProduct operator* (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterSum operator+ (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterDifference operator- (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterQuotient operator/ (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterNegation operator- (const AbsParameter &op1)
 
std::ostream & operator<< (std::ostream &os, const Argument &a)
 
std::ostream & operator<< (std::ostream &o, const LegendreCoefficientSet &c)
 
std::ostream & operator<< (std::ostream &o, const Parameter &p)
 
std::ostream & operator<< (std::ostream &o, const SphericalHarmonicCoefficientSet &c)
 
std::complex< doubledot (const SphericalHarmonicCoefficientSet &, const SphericalHarmonicCoefficientSet &)
 
SphericalHarmonicCoefficientSet squareExpansionCoefficients (const SphericalHarmonicCoefficientSet &)
 
double factorial (int n)
 

Typedef Documentation

◆ ArgumentList

typedef std::vector<Argument> Genfun::ArgumentList

Definition at line 7 of file ArgumentList.hh.

◆ Derivative

Definition at line 42 of file AbsFunction.hh.

◆ GENFUNCTION

Definition at line 125 of file AbsFunction.hh.

◆ GENPARAMETER

Definition at line 74 of file AbsParameter.hh.

Function Documentation

◆ convolve()

FunctionConvolution Genfun::convolve ( const AbsFunction op1,
const AbsFunction op2,
double  x0,
double  x1 
)

Definition at line 71 of file AbsFunction.cc.

71 {
72 return FunctionConvolution(&a,&b, x0, x1);
73}

◆ dot()

std::complex< double > Genfun::dot ( const SphericalHarmonicCoefficientSet ,
const SphericalHarmonicCoefficientSet  
)

◆ factorial()

double Genfun::factorial ( int  n)
inline

Definition at line 11 of file AssociatedLaguerre.cc.

11 {
12 if (n<=1) return 1.0;
13 else return n*factorial(n-1);
14}
double factorial(int N)

Referenced by factorial().

◆ operator%()

FunctionDirectProduct Genfun::operator% ( const AbsFunction op1,
const AbsFunction op2 
)

Definition at line 83 of file AbsFunction.cc.

◆ operator*() [1/8]

FunctionProduct Genfun::operator* ( const AbsFunction op1,
const AbsFunction op2 
)

Definition at line 63 of file AbsFunction.cc.

63 {
64 return FunctionProduct(&a,&b);
65}

◆ operator*() [2/8]

FunctionTimesParameter Genfun::operator* ( const AbsFunction op1,
const AbsParameter op2 
)

Definition at line 121 of file AbsFunction.cc.

121 {
122 return FunctionTimesParameter(&p, &f);
123}
void f(void g())
Definition: excDblThrow.cc:38

◆ operator*() [3/8]

ConstTimesFunction Genfun::operator* ( const AbsFunction op2,
double  c 
)

Definition at line 87 of file AbsFunction.cc.

◆ operator*() [4/8]

FunctionTimesParameter Genfun::operator* ( const AbsParameter op1,
const AbsFunction op2 
)

Definition at line 140 of file AbsFunction.cc.

140 {
141 return FunctionTimesParameter(&p, &f);
142}

◆ operator*() [5/8]

ParameterProduct Genfun::operator* ( const AbsParameter op1,
const AbsParameter op2 
)

Definition at line 30 of file AbsParameter.cc.

30 {
31 return ParameterProduct(&a,&b);
32}

◆ operator*() [6/8]

ConstTimesParameter Genfun::operator* ( const AbsParameter op2,
double  c 
)

Definition at line 60 of file AbsParameter.cc.

◆ operator*() [7/8]

ConstTimesFunction Genfun::operator* ( double  c,
const AbsFunction op2 
)

Definition at line 104 of file AbsFunction.cc.

104 {
105 return ConstTimesFunction(c,&op2);
106}

◆ operator*() [8/8]

ConstTimesParameter Genfun::operator* ( double  c,
const AbsParameter op2 
)

Definition at line 44 of file AbsParameter.cc.

44 {
45 return ConstTimesParameter (c, &op2);
46}

◆ operator+() [1/8]

FunctionSum Genfun::operator+ ( const AbsFunction op1,
const AbsFunction op2 
)

Definition at line 55 of file AbsFunction.cc.

55 {
56 return FunctionSum(&a,&b);
57}

◆ operator+() [2/8]

FunctionPlusParameter Genfun::operator+ ( const AbsFunction op1,
const AbsParameter op2 
)

Definition at line 125 of file AbsFunction.cc.

◆ operator+() [3/8]

ConstPlusFunction Genfun::operator+ ( const AbsFunction op2,
double  c 
)

Definition at line 91 of file AbsFunction.cc.

◆ operator+() [4/8]

FunctionPlusParameter Genfun::operator+ ( const AbsParameter op1,
const AbsFunction op2 
)

Definition at line 144 of file AbsFunction.cc.

144 {
145 return FunctionPlusParameter(&p, &f);
146}

◆ operator+() [5/8]

ParameterSum Genfun::operator+ ( const AbsParameter op1,
const AbsParameter op2 
)

Definition at line 22 of file AbsParameter.cc.

22 {
23 return ParameterSum(&a,&b);
24}

◆ operator+() [6/8]

ConstPlusParameter Genfun::operator+ ( const AbsParameter op2,
double  c 
)

Definition at line 64 of file AbsParameter.cc.

◆ operator+() [7/8]

ConstPlusFunction Genfun::operator+ ( double  c,
const AbsFunction op2 
)

Definition at line 108 of file AbsFunction.cc.

108 {
109 return ConstPlusFunction(c,&op2);
110}

◆ operator+() [8/8]

ConstPlusParameter Genfun::operator+ ( double  c,
const AbsParameter op2 
)

Definition at line 48 of file AbsParameter.cc.

48 {
49 return ConstPlusParameter (c, &op2);
50}

◆ operator-() [1/10]

FunctionNegation Genfun::operator- ( const AbsFunction op1)

Definition at line 75 of file AbsFunction.cc.

◆ operator-() [2/10]

FunctionDifference Genfun::operator- ( const AbsFunction op1,
const AbsFunction op2 
)

Definition at line 59 of file AbsFunction.cc.

◆ operator-() [3/10]

FunctionPlusParameter Genfun::operator- ( const AbsFunction op1,
const AbsParameter op2 
)

Definition at line 129 of file AbsFunction.cc.

129 {
130 GENPARAMETER MinusP = -p;
131 return FunctionPlusParameter(&MinusP, &f);
132
133}

◆ operator-() [4/10]

ConstPlusFunction Genfun::operator- ( const AbsFunction op2,
double  c 
)

Definition at line 95 of file AbsFunction.cc.

95 {
96 return ConstPlusFunction(-c, &op2);
97}

◆ operator-() [5/10]

ParameterNegation Genfun::operator- ( const AbsParameter op1)

Definition at line 39 of file AbsParameter.cc.

◆ operator-() [6/10]

FunctionPlusParameter Genfun::operator- ( const AbsParameter op1,
const AbsFunction op2 
)

Definition at line 148 of file AbsFunction.cc.

148 {
149 GENFUNCTION MinusF = -f;
150 return FunctionPlusParameter(&p, &MinusF);
151}

◆ operator-() [7/10]

ParameterDifference Genfun::operator- ( const AbsParameter op1,
const AbsParameter op2 
)

Definition at line 26 of file AbsParameter.cc.

◆ operator-() [8/10]

ConstPlusParameter Genfun::operator- ( const AbsParameter op2,
double  c 
)

Definition at line 68 of file AbsParameter.cc.

68 {
69 return ConstPlusParameter(-c, &op2);
70}

◆ operator-() [9/10]

ConstMinusFunction Genfun::operator- ( double  c,
const AbsFunction op2 
)

Definition at line 112 of file AbsFunction.cc.

112 {
113 return ConstMinusFunction(c,&op2);
114}

◆ operator-() [10/10]

ConstMinusParameter Genfun::operator- ( double  c,
const AbsParameter op2 
)

Definition at line 52 of file AbsParameter.cc.

◆ operator/() [1/8]

FunctionQuotient Genfun::operator/ ( const AbsFunction op1,
const AbsFunction op2 
)

Definition at line 67 of file AbsFunction.cc.

67 {
68 return FunctionQuotient(&a,&b);
69}

◆ operator/() [2/8]

FunctionTimesParameter Genfun::operator/ ( const AbsFunction op1,
const AbsParameter op2 
)

Definition at line 135 of file AbsFunction.cc.

135 {
136 GENPARAMETER oneOverP = 1.0/p;
137 return FunctionTimesParameter(&oneOverP, &f);
138}

◆ operator/() [3/8]

ConstTimesFunction Genfun::operator/ ( const AbsFunction op2,
double  c 
)

Definition at line 99 of file AbsFunction.cc.

99 {
100 return ConstTimesFunction(1/c,&op2);
101}

◆ operator/() [4/8]

FunctionTimesParameter Genfun::operator/ ( const AbsParameter op1,
const AbsFunction op2 
)

Definition at line 153 of file AbsFunction.cc.

153 {
154 GENFUNCTION oneOverF = 1.0/f;
155 return FunctionTimesParameter(&p, &oneOverF);
156}

◆ operator/() [5/8]

ParameterQuotient Genfun::operator/ ( const AbsParameter op1,
const AbsParameter op2 
)

Definition at line 34 of file AbsParameter.cc.

◆ operator/() [6/8]

ConstTimesParameter Genfun::operator/ ( const AbsParameter op2,
double  c 
)

Definition at line 72 of file AbsParameter.cc.

72 {
73 return ConstTimesParameter(1/c, &op2);
74}

◆ operator/() [7/8]

ConstOverFunction Genfun::operator/ ( double  c,
const AbsFunction op2 
)

Definition at line 116 of file AbsFunction.cc.

116 {
117 return ConstOverFunction(c,&op2);
118}

◆ operator/() [8/8]

ConstOverParameter Genfun::operator/ ( double  c,
const AbsParameter op2 
)

Definition at line 56 of file AbsParameter.cc.

◆ operator<<() [1/4]

std::ostream & Genfun::operator<< ( std::ostream &  o,
const LegendreCoefficientSet c 
)

◆ operator<<() [2/4]

std::ostream & Genfun::operator<< ( std::ostream &  o,
const Parameter p 
)

Definition at line 18 of file Parameter.cc.

18 {
19 return o << p.getName() << "\t" << " value = "
20 << p.getValue() << "\t" <<" limits: ["
21 << p.getLowerLimit() << ","
22 << p.getUpperLimit() << "]" << std::endl;
23}
const std::string & getName() const
Definition: Parameter.cc:25
virtual double getValue() const
Definition: Parameter.cc:29
double getLowerLimit() const
Definition: Parameter.cc:39
double getUpperLimit() const
Definition: Parameter.cc:49

◆ operator<<() [3/4]

std::ostream & Genfun::operator<< ( std::ostream &  o,
const SphericalHarmonicCoefficientSet c 
)

◆ operator<<() [4/4]

std::ostream & Genfun::operator<< ( std::ostream &  os,
const Argument a 
)
inline

Definition at line 81 of file Argument.hh.

81 {
82 std::ostream_iterator<double> oi(os,",");
83 std::copy (a._data->begin(),a._data->end(),oi);
84 return os;
85 }

◆ squareExpansionCoefficients()

SphericalHarmonicCoefficientSet Genfun::squareExpansionCoefficients ( const SphericalHarmonicCoefficientSet )