Source file symplectic_s.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 1 "src/ode/symplectic/symplectic_s.ml"
type mat = Owl_dense_matrix_s.mat
include Symplectic_generic.Make (Owl_dense_ndarray.S)
module Symplectic_Euler = struct
type s = mat * mat
type t = mat
type output = mat * mat * mat
let solve = prepare symplectic_euler_s
end
module PseudoLeapfrog = struct
type s = mat * mat
type t = mat
type output = mat * mat * mat
let solve = prepare pseudoleapfrog_s
end
module Leapfrog = struct
type s = mat * mat
type t = mat
type output = mat * mat * mat
let solve = prepare leapfrog_s
end
module Ruth3 = struct
type s = mat * mat
type t = mat
type output = mat * mat * mat
let solve = prepare ruth3_s
end
module Ruth4 = struct
type s = mat * mat
type t = mat
type output = mat * mat * mat
let solve = prepare ruth4_s
end