class GSL::Interpolate1D
- GSL::Interpolate1D
- GSL::Object
- Reference
- Object
Overview
1D Interpolation object
Defined in:
gsl/maths/approximation/interpolation.crConstructors
-
.new(type : Type, xa : Array(Float64) | Slice(Float64), ya : Array(Float64) | Slice(Float64))
TODO - check sorted?
Instance Method Summary
- #eval(x, deriv : DerivativeOrder = DerivativeOrder::Function)
- #integrate(a, b)
-
#lib_free
This function must call corresponding gsl_*_free to free internal pointer
- #size
- #type : GSL::Interpolate1D::Type
- #update(xa = nil, ya = nil)
- #x
- #x_index(x)
- #y
Instance methods inherited from class GSL::Object
finalize
finalize,
free
free,
pointer
pointer,
to_unsafe
to_unsafe
Constructor Detail
def self.new(type : Type, xa : Array(Float64) | Slice(Float64), ya : Array(Float64) | Slice(Float64))
#
TODO - check sorted?
Instance Method Detail
def lib_free
#
Description copied from class GSL::Object
This function must call corresponding gsl_*_free to free internal pointer