CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

GenericFunctions/ACos.hh
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: ACos.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3//---------------------ACos-------------------------------------------------//
4// //
5// Class ACos //
6// Joe Boudreau, Petar Maksimovic, November 1999 //
7// //
8//--------------------------------------------------------------------------//
9#ifndef ACos_h
10#define ACos_h 1
12
13namespace Genfun {
14
15 class ACos : public AbsFunction {
16
18
19 public:
20
21 // Constructor
23
24 // Destructor
25 virtual ~ACos();
26
27 // Copy constructor
28 ACos(const ACos &right);
29
30 // Retreive function value
31 virtual double operator ()(double argument) const;
32 virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
33
34 // Derivative.
35 Derivative partial (unsigned int) const;
36
37 // Does this function have an analytic derivative?
38 virtual bool hasAnalyticDerivative() const {return true;}
39
40 private:
41
42 // It is illegal to assign a ACosine
43 const ACos & operator=(const ACos &right);
44
45 };
46
47} // end namespace Genfun
48
49#endif
#define FUNCTION_OBJECT_DEF(classname)
Derivative partial(unsigned int) const
virtual ~ACos()
virtual double operator()(double argument) const
Definition: ACos.cc:22
ACos(const ACos &right)
virtual bool hasAnalyticDerivative() const
@ a