1 #ifndef INMOST_NONLINEAR_INCLUDED
2 #define INMOST_NONLINEAR_INCLUDED
4 #include "inmost_common.h"
5 #include "inmost_autodiff.h"
7 #if defined(USE_NONLINEAR)
11 typedef INMOST_DATA_BULK_TYPE RequestedAction;
13 static const RequestedAction COMPUTE_FUNCTION = 0x01;
14 static const RequestedAction COMPUTE_JACOBIAN = 0x02;
15 static const RequestedAction COMPUTE_HESSIAN = 0x04;
16 static const RequestedAction FINISHED = 0x08;
28 RequestedAction GetAction()
const;
29 INMOST_DATA_REAL_TYPE GetResidual()
const;
30 INMOST_DATA_ENUM_TYPE GetIterations()
const;
31 std::string GetReason()
const;