28 #ifndef _math_optimize_conv_h 29 #define _math_optimize_conv_h 35 #include <util/state/state.h> 36 #include <util/class/class.h> 37 #include <math/scmat/matrix.h> 38 #include <math/optimize/function.h> 72 void check_conv(
const char *heading,
73 double val,
double bound,
74 int &pass,
int &fail);
129 virtual void reset();
virtual void get_grad(const Ref< Function > &)
Set the current gradient and displacement.
The RefSCVector class is a smart pointer to an SCVector specialization.
Definition: matrix.h:55
virtual int converged()
Return nonzero if the optimization has converged.
Serializes objects that derive from SavableState.
Definition: stateout.h:61
virtual void reset()
Set the current gradient and displacement to null.
A template class that maintains references counts.
Definition: ref.h:332
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
Restores objects that derive from SavableState.
Definition: statein.h:70
The Convergence class is used by the optimizer to determine when an optimization is converged...
Definition: conv.h:56
Base class for objects that can save/restore state.
Definition: state.h:46