CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
AbsParameter.cc
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: AbsParameter.cc,v 1.3 2003/09/06 14:04:14 boudreau Exp $
3#include "CLHEP/GenericFunctions/AbsParameter.hh"
4#include "CLHEP/GenericFunctions/Parameter.hh"
5namespace Genfun {
6
7// Two do-nothing functions:
9}
10
12}
13
15{}
16
18 return _clone();
19}
20
21
23 return ParameterSum(&a,&b);
24}
25
27 return ParameterDifference(&a,&b);
28}
29
31 return ParameterProduct(&a,&b);
32}
33
35 return ParameterQuotient(&a,&b);
36}
37
38
40 return ParameterNegation(&a);
41}
42
43
45 return ConstTimesParameter (c, &op2);
46}
47
49 return ConstPlusParameter (c, &op2);
50}
51
53 return ConstMinusParameter(c, &op2);
54}
55
57 return ConstOverParameter(c, &op2);
58}
59
61 return ConstTimesParameter (c, &op2);
62}
63
65 return ConstPlusParameter (c, &op2);
66}
67
69 return ConstPlusParameter(-c, &op2);
70}
71
73 return ConstTimesParameter(1/c, &op2);
74}
75
76
77} // namespace Genfun
AbsParameter * clone() const
Definition: AbsParameter.cc:17
Definition: Abs.hh:14
FunctionQuotient operator/(const AbsFunction &op1, const AbsFunction &op2)
Definition: AbsFunction.cc:67
FunctionSum operator+(const AbsFunction &op1, const AbsFunction &op2)
Definition: AbsFunction.cc:55
FunctionProduct operator*(const AbsFunction &op1, const AbsFunction &op2)
Definition: AbsFunction.cc:63
FunctionDifference operator-(const AbsFunction &op1, const AbsFunction &op2)
Definition: AbsFunction.cc:59