ScalarInverseTangent2.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/ScalarInverseTangent2.h
10 
11 #ifndef __MEAL_ScalarInverseTangent2_H
12 #define __MEAL_ScalarInverseTangent2_H
13 
14 #include "MEAL/BinaryScalar.h"
15 
16 namespace MEAL {
17 
19  class ScalarInverseTangent2 : public BinaryScalar
20  {
21 
22  public:
23 
24  // ///////////////////////////////////////////////////////////////////
25  //
26  // BinaryScalar implementation
27  //
28  // ///////////////////////////////////////////////////////////////////
29 
31  double function (double arg1, double arg2) const;
32 
34  double partial_arg1 (double arg1, double arg2) const;
35 
37  double partial_arg2 (double arg1, double arg2) const;
38 
39  // ///////////////////////////////////////////////////////////////////
40  //
41  // Function implementation
42  //
43  // ///////////////////////////////////////////////////////////////////
44 
46  std::string get_name () const;
47 
48  };
49 
50 }
51 
52 
53 #endif
std::string get_name() const
Return the name of the class.
Definition: ScalarInverseTangent2.C:13
double function(double arg1, double arg2) const
The function.
Definition: ScalarInverseTangent2.C:19
double partial_arg1(double arg1, double arg2) const
The partial derivative with respect to arg1.
Definition: ScalarInverseTangent2.C:26
double partial_arg2(double arg1, double arg2) const
The partial derivative with respect to arg2.
Definition: ScalarInverseTangent2.C:33
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Project< Scalar > arg2
The first argument to the binary operation.
Definition: BinaryRule.h:60
Project< Scalar > arg1
The first argument to the binary operation.
Definition: BinaryRule.h:57
const ScalarMath atan2(const ScalarMath &y, const ScalarMath &x)
Return a ScalarMath instance representing tan(y/x)
Definition: ScalarMath.C:255

Generated using doxygen 1.8.17