00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef ACos_h
00010 #define ACos_h 1
00011 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00012
00013 namespace Genfun {
00014
00015 class ACos : public AbsFunction {
00016
00017 FUNCTION_OBJECT_DEF(ACos)
00018
00019 public:
00020
00021
00022 ACos();
00023
00024
00025 virtual ~ACos();
00026
00027
00028 ACos(const ACos &right);
00029
00030
00031 virtual double operator ()(double argument) const;
00032 virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
00033
00034
00035 Derivative partial (unsigned int) const;
00036
00037
00038 virtual bool hasAnalyticDerivative() const {return true;}
00039
00040 private:
00041
00042
00043 const ACos & operator=(const ACos &right);
00044
00045 };
00046
00047 }
00048
00049 #endif