package owl-ode-base

  1. Overview
  2. Docs

Parameters

module M : Owl_types_ndarray_algodiff.Sig with type elt = float

Signature

val steps : float -> float -> float -> int
type state_type =
  1. | Row of int
  2. | Col of int
  3. | Arr of int array
val get_state_t : M.arr -> state_type
val integrate : step:(M.arr -> M.elt -> M.arr * M.elt) -> tspan:(M.elt * float) -> dt:float -> M.arr -> M.arr * M.arr
val symplectic_integrate : step:((M.arr * M.arr) -> M.elt -> (M.arr * M.arr) * M.elt) -> tspan:(M.elt * float) -> dt:float -> (M.arr * M.arr) -> M.arr * M.arr * M.arr
val adaptive_integrate : step:(dt:float -> M.arr -> float -> M.arr * M.elt * float * bool) -> tspan:(M.elt * float) -> dtmax:float -> M.arr -> M.arr * M.arr
OCaml

Innovation. Community. Security.