Class: Numo::GSL::Spline::Cspline
- Inherits:
-
Numo::GSL::Spline
- Object
- Numo::GSL::Spline
- Numo::GSL::Spline::Cspline
- Defined in:
- ext/numo/gsl/interp/gsl_interp.c
Class Method Summary collapse
-
.new(xa[], ya[]) ⇒ Object
Generate an instance of Numo::GSL::Spline::Cspline class, a subclass of Numo::GSL::Spline class with gsl_interp_cspline type.
Methods inherited from Numo::GSL::Spline
#eval, #eval_deriv, #eval_deriv2, #eval_integ, #min_size, #name
Class Method Details
.new(xa[], ya[]) ⇒ Object
Generate an instance of Numo::GSL::Spline::Cspline class, a subclass of Numo::GSL::Spline class with gsl_interp_cspline type.
This function initializes the interpolation object interp for the data (xa,ya) where xa and ya are arrays of size size. The interpolation object (gsl_interp) does not save the data arrays xa and ya and only stores the static state computed from the data. The xa data array is always assumed to be strictly ordered, with increasing x values; the behavior for other arrangements is not defined.
253 254 255 256 257 |
# File 'ext/numo/gsl/interp/gsl_interp.c', line 253
static VALUE
spline_cspline_s_new(VALUE self, VALUE v1, VALUE v2)
{
return spline_s_new(self, gsl_interp_cspline, v1, v2);
}
|