ScalarArgument.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/ScalarArgument.h
10 
11 #ifndef __ScalarArgument_H
12 #define __ScalarArgument_H
13 
14 #include "MEAL/Univariate.h"
15 #include "MEAL/Scalar.h"
16 
17 namespace MEAL {
18 
20  class ScalarArgument : public Univariate<Scalar> {
21 
22  public:
23 
26 
28  std::string get_name () const;
29 
30  protected:
31 
33  void calculate (double& result, std::vector<double>* gradient=0);
34 
35  };
36 
37 }
38 
39 #endif
void calculate(double &result, std::vector< double > *gradient=0)
Return the argument.
Definition: ScalarArgument.C:24
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Represents a model with no parameters.
Definition: NoParameters.h:24
std::string get_name() const
Return the name of the class.
Definition: ScalarArgument.C:19
ScalarArgument()
Default constructor.
Definition: ScalarArgument.C:13

Generated using doxygen 1.8.17