class GSL::Chebyshev

Overview

Class representing Chebyshev approximations to univariate functions

Defined in:

gsl/maths/approximation/chebyshev.cr

Constructors

Class Method Summary

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(order, f : GSL::Function, min : Float64, max : Float64) #

[View source]
def self.new(order, f : GSL::Function, range : Range(Float64, Float64)) #

[View source]

Class Method Detail

def self.allocate(order) #

[View source]

Instance Method Detail

def coeffs : Slice(Float64) #

[View source]
def deriv #

[View source]
def eval(x, order = nil) #

[View source]
def eval_err(x, order = nil) #

[View source]
def integrate #

[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 max #

[View source]
def min #

[View source]
def order #

[View source]
def range #

[View source]
def size #

[View source]