ReFRACtor
jennrich_sampson_nlls_problem.h
Go to the documentation of this file.
1 #ifndef JENNRICH_SAMPSON_NLLS_PROBLEM
2 #define JENNRICH_SAMPSON_NLLS_PROBLEM
3 #include "nlls_problem.h"
4 #include "nlls_problem_state.h"
5 
6 
7 namespace FullPhysics {
8 
10 public:
12  : NLLSProblem()
13  {}
15  virtual int residual_size() const { return 10; }
16  virtual int expected_parameter_size() const { return 2; }
17  virtual blitz::Array<double, 1> residual();
18  virtual blitz::Array<double, 2> jacobian();
19  virtual void print(std::ostream& Os) const
20  { Os << "JennrichSampsonNLLSProblem"; }
21 };
22 }
23 
24 #endif
virtual void print(std::ostream &Os) const
Prints description of object.
virtual int residual_size() const
The size of the residual returned by residual()
virtual blitz::Array< double, 2 > jacobian()
The Jacobian matrix function.
The state for a NLLS problem with implemented residual function and its Jacobian. ...
virtual blitz::Array< double, 1 > residual()
The residual vector function.
The base class for the Non-Linear Least Squares problem.
Definition: nlls_problem.h:54
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual int expected_parameter_size() const
Returns the expected size of the parameters.

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:08