File indexing completed on 2025-01-30 10:03:24
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ACos_h
0010 #define ACos_h 1
0011 #include "CLHEP/GenericFunctions/AbsFunction.hh"
0012
0013 namespace Genfun {
0014
0015 class ACos : public AbsFunction {
0016
0017 FUNCTION_OBJECT_DEF(ACos)
0018
0019 public:
0020
0021
0022 ACos();
0023
0024
0025 virtual ~ACos();
0026
0027
0028 ACos(const ACos &right);
0029
0030
0031 virtual double operator ()(double argument) const override;
0032 virtual double operator ()(const Argument & a) const override {return operator() (a[0]);}
0033
0034
0035 Derivative partial (unsigned int) const override;
0036
0037
0038 virtual bool hasAnalyticDerivative() const override {return true;}
0039
0040 private:
0041
0042
0043 const ACos & operator=(const ACos &right);
0044
0045 };
0046
0047 }
0048
0049 #endif