Linear Spline
Linear spline is a spline whose degree is equal to 1.
It’s described by the following polynomial

where




Header File
#include<oneapi/mkl/experimental/data_fitting.hpp>
Namespace
oneapi::mkl::experimental::data_fitiing
Syntax
namespace linear_spline {
struct default_type {};
}
Example
To create a linear spline object use the following:
spline<float, linear_spline::default_type> val(
/*SYCL queue object*/q,
/*number of spline functions*/ny
);
Follow the Examples section to see more complicated examples.