ReFRACtor
helical_valley_nlls_problem.h
Go to the documentation of this file.
1 #ifndef HELICAL_VALLEY_NLLS_PROBLEM
2 #define HELICAL_VALLEY_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 3; }
16  virtual int expected_parameter_size() const { return 3; }
17  virtual blitz::Array<double, 1> residual();
18  virtual blitz::Array<double, 2> jacobian();
19  virtual void print(std::ostream& Os) const
20  { Os << "HelicalValleyNLLSProblem"; }
21 };
22 }
23 
24 #endif
virtual blitz::Array< double, 2 > jacobian()
The Jacobian matrix function.
virtual blitz::Array< double, 1 > residual()
The residual vector function.
virtual int residual_size() const
The size of the residual returned by residual()
virtual int expected_parameter_size() const
Returns the expected size of the parameters.
The state for a NLLS problem with implemented residual function and its Jacobian. ...
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 void print(std::ostream &Os) const
Prints description of object.

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