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 prepare : ('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 -> dt:float -> M.arr -> float -> M.arr * float * float * bool) -> 'a -> M.arr -> Types.tspec_t -> unit -> M.arr * M.arr
val euler_s : f_t -> dt:float -> M.arr -> float -> M.arr * float
val midpoint_s : f_t -> dt:float -> M.arr -> float -> M.arr * float
val rk4_s : f_t -> dt:float -> M.arr -> float -> M.arr * float
val rk23_s : tol:float -> dtmax:float -> f_t -> dt:float -> M.arr -> float -> M.arr * float * float * bool
val rk45_s : tol:float -> dtmax:float -> f_t -> dt:float -> M.arr -> float -> M.arr * float * float * bool
val euler : (module Types.SolverT with type output = M.arr * M.arr and type s = M.arr and type step_output = M.arr * float and type t = M.arr)
val midpoint : (module Types.SolverT with type output = M.arr * M.arr and type s = M.arr and type step_output = M.arr * float and type t = M.arr)
val rk4 : (module Types.SolverT with type output = M.arr * M.arr and type s = M.arr and type step_output = M.arr * float and type t = M.arr)
val rk23 : tol:float -> dtmax:float -> (module Types.SolverT with type output = M.arr * M.arr and type s = M.arr and type step_output = M.arr * float * float * bool and type t = M.arr)
val rk45 : tol:float -> dtmax:float -> (module Types.SolverT with type output = M.arr * M.arr and type s = M.arr and type step_output = M.arr * float * float * bool and type t = M.arr)
val to_state_array : ?axis:int -> (int * int) -> M.arr -> M.arr array
OCaml

Innovation. Community. Security.