1 #ifndef __INTERP_SOLUTION_ITERATOR_H 2 #define __INTERP_SOLUTION_ITERATOR_H 4 #include "../Core/SharedLibraryExportMacros.h" 5 #include "SerializableSpline1dInterpolant.h" 21 public std::iterator<std::input_iterator_tag, double, ptrdiff_t,
22 const double*, const double&>
26 const alglib_impl::spline1dinterpolant *
spline;
66 const alglib::spline1dinterpolant &spline_var,
67 double offset,
double min_sol_distance=1e-8
83 const double &operator*()
const;
94 bool out_of_range()
const;
bool is_out_of_range
Whether we have gone past the last solution or before the first.
An iterator over a set of solutions to an interpolating function.
const alglib_impl::spline1dinterpolant * spline
The ALGLIB spline.
std::list< double >::const_iterator solution_iter
An iterator over the list of solutions found so far.
double y
Iterate over abscissas when the interpolation=y.
Declaration of some general purpose utilities.
InterpSolutionIterator()
Default constructor of a non meaningful object.
int node_index
The node up to which solutions have been reported.
std::list< double > solutions
The list of solutions found so far.