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

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