class GSL::Interpolate1D

Overview

1D Interpolation object

Defined in:

gsl/maths/approximation/interpolation.cr

Constructors

Instance Method Summary

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?


[View source]

Instance Method Detail

def eval(x, deriv : DerivativeOrder = DerivativeOrder::Function) #

[View source]
def integrate(a, b) #

[View source]
def lib_free #
Description copied from class GSL::Object

This function must call corresponding gsl_*_free to free internal pointer


[View source]
def size #

[View source]

[View source]
def update(xa = nil, ya = nil) #

[View source]
def x #

[View source]
def x_index(x) #

[View source]
def y #

[View source]