12 #ifndef ECL_SMOOTH_LINEAR_SPLINE_HPP_ 13 #define ECL_SMOOTH_LINEAR_SPLINE_HPP_ 101 double derivative(
const double &x)
const ecl_assert_throw_decl(
StandardException);
110 double dderivative(
const double &x)
const ecl_assert_throw_decl(
StandardException);
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";
Embedded control libraries.
virtual ~SmoothLinearSpline()
Storage container for a smoothed linear spline interpolation.
OutputStream & operator<<(OutputStream &ostream, const Void void_object)
#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
#define ecl_assert_throw_decl(exception)
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