abstract class GSL::ODE::System

Overview

Abstract base class for ODE systems. Defines interface for #function.

Direct Known Subclasses

Defined in:

gsl/maths/analysis/ode.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : Int32) #

Initializes system with given state size.


[View source]

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).


[View source]
def size #

Returns dimension of the system.


[View source]
def to_unsafe #

Returns raw pointer to GSL system struct.


[View source]