CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
CLHEP
GenericFunctions
CLHEP/GenericFunctions/ASin.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: ASin.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3
//---------------------ASin-------------------------------------------------//
4
// //
5
// Class ASin //
6
// Joe Boudreau, Petar Maksimovic, November 1999 //
7
// //
8
//--------------------------------------------------------------------------//
9
#ifndef ASin_h
10
#define ASin_h 1
11
#include "
CLHEP/GenericFunctions/AbsFunction.hh
"
12
namespace
Genfun {
13
class
ASin
:
public
AbsFunction
{
14
15
FUNCTION_OBJECT_DEF
(
ASin
)
16
17
public
:
18
19
// Constructor
20
ASin
();
21
22
// Destructor
23
virtual
~ASin
();
24
25
// Copy constructor
26
ASin
(
const
ASin
&right);
27
28
// Retreive function value
29
virtual
double
operator ()
(
double
argument)
const
;
30
virtual
double
operator ()
(
const
Argument
&
a
)
const
{
return
operator()
(a[0]);}
31
32
// Derivative.
33
Derivative
partial
(
unsigned
int
)
const
;
34
35
// Does this function have an analytic derivative?
36
virtual
bool
hasAnalyticDerivative
()
const
{
return
true
;}
37
38
39
private
:
40
41
// It is illegal to assign a ASin
42
const
ASin
& operator=(
const
ASin
&right);
43
44
};
45
}
// end namespace Genfun
46
47
#endif
Generated on Sun Jun 17 2012 08:08:26 for CLHEP by
1.8.1.1