package owl-ode-base

  1. Overview
  2. Docs

Parameters

module M : Owl_types_ndarray_algodiff.Sig with type elt = float

Signature

type f_t = (M.arr * M.arr) -> float -> M.arr
val symplectic_euler_s : f_t -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float
val leapfrog_s : f_t -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float
val pseudoleapfrog_s : f_t -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float
val ruth3_s : f_t -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float
val ruth4_s : f_t -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float
val prepare : ('a -> dt:float -> (M.arr * M.arr) -> float -> (M.arr * M.arr) * float) -> 'a -> (M.arr * M.arr) -> Types.tspec -> unit -> M.arr * M.arr * M.arr
val symplectic_euler : (module Types.Solver with type f = (M.arr * M.arr) -> float -> M.arr and type solve_output = M.arr * M.arr * M.arr and type state = M.arr * M.arr and type step_output = (M.arr * M.arr) * float)
val leapfrog : (module Types.Solver with type f = (M.arr * M.arr) -> float -> M.arr and type solve_output = M.arr * M.arr * M.arr and type state = M.arr * M.arr and type step_output = (M.arr * M.arr) * float)
val pseudoleapfrog : (module Types.Solver with type f = (M.arr * M.arr) -> float -> M.arr and type solve_output = M.arr * M.arr * M.arr and type state = M.arr * M.arr and type step_output = (M.arr * M.arr) * float)
val ruth3 : (module Types.Solver with type f = (M.arr * M.arr) -> float -> M.arr and type solve_output = M.arr * M.arr * M.arr and type state = M.arr * M.arr and type step_output = (M.arr * M.arr) * float)
val ruth4 : (module Types.Solver with type f = (M.arr * M.arr) -> float -> M.arr and type solve_output = M.arr * M.arr * M.arr and type state = M.arr * M.arr and type step_output = (M.arr * M.arr) * float)
val to_state_array : ?axis:int -> (int * int) -> M.arr -> M.arr -> M.arr array * M.arr array