CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
v
w
z
Functions
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
v
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
a
b
c
e
f
i
j
m
n
o
r
s
t
u
v
w
x
y
z
Related Functions
b
c
d
h
i
o
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
m
n
q
r
t
Typedefs
Enumerator
Macros
_
a
c
d
e
f
h
m
n
p
r
s
t
v
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
Airy.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
// Airy Functions Ai and Bi
4
#ifndef Airy_h
5
#define Airy_h 1
6
#include "CLHEP/GenericFunctions/AbsFunction.hh"
7
namespace
Genfun
{
8
9
/**
10
* @author
11
* @ingroup genfun
12
*/
13
class
Airy
:
public
AbsFunction
{
14
15
FUNCTION_OBJECT_DEF
(
Airy
)
16
17
public
:
18
19
enum
Type
{
Ai
,
Bi
};
20
21
// Constructor: Use this one and you will get a Airy function Ai or Bi
22
Airy
(
Type
type);
23
24
// Copy constructor
25
Airy
(
const
Airy
&right);
26
27
// Destructor
28
virtual
~Airy
();
29
30
// Retreive function value
31
virtual
double
operator ()
(
double
argument)
const override
;
32
virtual
double
operator ()
(
const
Argument
& a)
const override
{
return
operator()
(a[0]);}
33
34
private
:
35
36
// It is illegal to assign an adjustable constant
37
const
Airy
& operator=(
const
Airy
&right);
38
39
// The type and order of the Airy function
40
Type
_type;
41
42
};
43
44
}
// namespace Genfun
45
46
47
#include "CLHEP/GenericFunctions/Airy.icc"
48
#endif
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition:
AbsFunction.hh:143
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::Airy
Definition:
Airy.hh:13
Genfun::Airy::Airy
Airy(const Airy &right)
Genfun::Airy::Airy
Airy(Type type)
Genfun::Airy::Type
Type
Definition:
Airy.hh:19
Genfun::Airy::Ai
@ Ai
Definition:
Airy.hh:19
Genfun::Airy::Bi
@ Bi
Definition:
Airy.hh:19
Genfun::Airy::~Airy
virtual ~Airy()
Genfun::Airy::operator()
virtual double operator()(double argument) const override
Genfun::Argument
Definition:
Argument.hh:17
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
Airy.hh
Generated by
1.9.6