package owl-ode

  1. Overview
  2. Docs

Parameters

module M : Owl_types_ndarray_algodiff.Sig with type elt = float

Signature

type f_t = M.arr -> float -> M.arr
val euler_s : f:f_t -> dt:float -> M.arr -> float -> M.arr * float
val midpoint_s : f:f_t -> dt:float -> M.arr -> float -> M.arr * float
val rk4_s : f:f_t -> dt:float -> M.arr -> float -> M.arr * float
val prepare : (f:'a -> dt:float -> M.arr -> float -> M.arr * float) -> 'a -> M.arr -> Types.tspec_t -> unit -> M.arr * M.arr
val adaptive_prepare : (dtmax:float -> 'a -> M.arr -> float -> float -> float * M.arr * float * bool) -> 'a -> M.arr -> Types.tspec_t -> unit -> M.arr * M.arr
val rk23_s : tol:float -> dtmax:float -> f_t -> M.arr -> float -> float -> float * M.arr * float * bool
val rk45_s : tol:float -> dtmax:float -> f_t -> M.arr -> float -> float -> float * M.arr * float * bool
val to_state_array : ?axis:int -> (int * int) -> M.arr -> M.arr array
OCaml

Innovation. Community. Security.