12 #ifndef ECL_SMOOTH_LINEAR_SPLINE_HPP_ 13 #define ECL_SMOOTH_LINEAR_SPLINE_HPP_ 90 double operator()(
const double &x)
const;
101 double derivative(
const double &x)
const;
110 double dderivative(
const double &x)
const;
162 template <
typename OutputStream>
175 template <
typename OutputStream>
180 ostream << smooth_linear_spline.
segments[0] <<
"\n";
181 for (
unsigned int i = 1; i < smooth_linear_spline.
segments.size(); ++i ) {
182 ostream << smooth_linear_spline.
corners[i-1] <<
"\n";
183 ostream << smooth_linear_spline.
segments[i] <<
"\n";
OutputStream & operator<<(OutputStream &ostream, const Array< ElementType, ArraySize > &array)
Embedded control libraries.
virtual ~SmoothLinearSpline()
Storage container for a smoothed linear spline interpolation.
#define ecl_geometry_PUBLIC
Representations for polynomial functions.
const Array< double > & domain() const
The discretised domain for this spline.
Array< double > discretised_domain
Array< QuinticPolynomial > corners
SmoothLinearSpline()
Default constructor.
#define ecl_compile_time_concept_check(Model)
static SmoothLinearSpline Interpolation(const Array< double > &x_data, const Array< double > &y_data, double a_max)
Static construction that interpolates on a set of waypoints.
Array< LinearFunction > segments