package owl-ode

  1. Overview
  2. Docs

Module Native.DSource

include module type of struct include Native_d end
Sourcemodule Euler = Native_d.Euler
Sourcemodule Midpoint = Native_d.Midpoint
Sourcemodule RK4 = Native_d.RK4
Sourcemodule RK23 = Native_d.RK23

Default tol = 1e-7

Sourcemodule RK45 = Native_d.RK45
Sourceval euler : (module Types.Solver with type f = mat -> float -> mat and type solve_output = mat * mat and type state = mat and type step_output = mat * float)
Sourceval midpoint : (module Types.Solver with type f = mat -> float -> mat and type solve_output = mat * mat and type state = mat and type step_output = mat * float)
Sourceval rk4 : (module Types.Solver with type f = mat -> float -> mat and type solve_output = mat * mat and type state = mat and type step_output = mat * float)
Sourceval rk23 : tol:float -> dtmax:float -> (module Types.Solver with type f = mat -> float -> mat and type solve_output = mat * mat and type state = mat and type step_output = mat * float * float * bool)
Sourceval rk45 : tol:float -> dtmax:float -> (module Types.Solver with type f = mat -> float -> mat and type solve_output = mat * mat and type state = mat and type step_output = mat * float * float * bool)
Sourceval to_state_array : ?axis:int -> (int * int) -> mat -> mat array
OCaml

Innovation. Community. Security.