class GSL::ODE::Driver

Defined in:

gsl/maths/analysis/ode.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(system : GSL::ODE::System, initial_step : Float64, epsabs : Float64 = 0.0, epsrel : Float64 = 0.0, algorithm : Algorithm | Nil = nil, a_y : Float64 = 0.0, a_dydt : Float64 = 1.0, scale_abs : Array(Float64) | Nil = nil) #

[View source]

Instance Method Detail

def apply(t0 : Float64, t1 : Float64, y : Array(Float64) | Slice(Float64)) #

[View source]
def evolve(y_initial, t0 : Float64, t1 : Float64, dt : Float64, &) #

evaluate states at given step from t0 to t1


[View source]
def evolve(y_initial, t0 : Float64, t1 : Float64, &) #

evaluate states with natural step from t0 to t1


[View source]
def evolve(y_initial, time_points, &) #

evaluate states at given array of time points


[View source]
def evolve(y_initial, t0, t1, step) #

[View source]
def evolve(y_initial, t0, t1) #

[View source]
def evolve(y_initial, time_points) #

[View source]
def hmax(*args, **options) #

[View source]
def hmax(*args, **options, &) #

[View source]
def hmax=(value) #

[View source]
def hmin(*args, **options) #

[View source]
def hmin(*args, **options, &) #

[View source]
def hmin=(value) #

[View source]
def initial_step : Float64 #

[View source]
def initial_step=(initial_step : Float64) #

[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 nmax(*args, **options) #

[View source]
def nmax(*args, **options, &) #

[View source]
def nmax=(value) #

[View source]
def reset(initial_step) #

[View source]
def reset #

[View source]
def system : System #

[View source]