abstract class
GSL::ODE::System
- GSL::ODE::System
- Reference
- Object
Overview
Abstract base class for ODE systems. Defines interface for #function.
Direct Known Subclasses
Defined in:
gsl/maths/analysis/ode.crConstructors
-
.new(size : Int32)
Initializes system with given state size.
Instance Method Summary
-
#function(t : LibC::Double, y : Slice(LibC::Double), dydt : Slice(LibC::Double))
Abstract method: compute derivatives dy/dt = f(t, y).
-
#size
Returns dimension of the system.
-
#to_unsafe
Returns raw pointer to GSL system struct.
Constructor Detail
Instance Method Detail
abstract
def function(t : LibC::Double, y : Slice(LibC::Double), dydt : Slice(LibC::Double))
#
Abstract method: compute derivatives dy/dt = f(t, y).