Skip to content

Commit 8ae9c25

Browse files
authored
Merge pull request #205 from KybernetikJo/refactor_init_py
Refactor __init__.py
2 parents 294eae0 + beb6298 commit 8ae9c25

File tree

1 file changed

+43
-15
lines changed

1 file changed

+43
-15
lines changed

slycot/__init__.py

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,47 @@
1212

1313
# import slycot.examples
1414

15-
# Analysis routines (15/40 wrapped)
16-
from .analysis import ab01nd, ab05md, ab05nd, ab07nd, ab08nd, ab08nz
17-
from .analysis import ab09ad, ab09ax, ab09bd, ab09md, ab09nd
18-
from .analysis import ab13bd, ab13dd, ab13ed, ab13fd, ab13md
15+
# The Slycot library is organised by 11-chapters. Each chapter can be identified by a single letter.
16+
# The following chapters are included:
17+
# A : Analysis Routines (included)
18+
# B : Benchmark
19+
# C : Adaptive Control
20+
# D : Data Analysis
21+
# F : Filtering
22+
# I : Identification
23+
# M : Mathematical Routines (included)
24+
# N : Nonlinear Systems
25+
# S : Synthesis Routines (included)
26+
# T : Transformation Routines (included)
27+
# U : Utility Routines
1928

2029

21-
# Data analysis routines (0/7 wrapped)
30+
# Analysis routines (16/60 wrapped)
31+
from .analysis import (ab01nd,
32+
ab05md, ab05nd,
33+
ab07nd,
34+
ab08nd, ab08nz,
35+
ab09ad, ab09ax, ab09bd, ab09md, ab09nd,
36+
ab13bd, ab13dd, ab13ed, ab13fd, ab13md)
37+
38+
# Benchmark routines (0/6 wrapped)
39+
40+
# Adaptive control routines (0/0 wrapped)
41+
42+
# Data analysis routines (0/8 wrapped)
2243

2344
# Filtering routines (0/6 wrapped)
2445

25-
# Identification routines (0/5 wrapped)
46+
# Identification routines (0/15 wrapped)
2647

27-
# Mathematical routines (7/81 wrapped)
28-
from .math import mc01td, mb03rd, mb03vd, mb03vy, mb03wd, mb05md, mb05nd
48+
# Mathematical routines (7/281 wrapped)
49+
from .math import (mb03rd, mb03vd, mb03vy, mb03wd,
50+
mb05md, mb05nd,
51+
mc01td)
2952

30-
# Synthesis routines (15/50 wrapped)
53+
# Nonlinear Systems (0/16 wrapped)
3154

55+
# Synthesis routines ((15+1)/131 wrapped), sb03md57 is not part of slicot
3256
from .synthesis import (sb01bd,
3357
sb02md, sb02mt, sb02od,
3458
sb03md, sb03md57, sb03od,
@@ -37,13 +61,17 @@
3761
sg02ad,
3862
sg03ad, sg03bd)
3963

64+
# Transformation routines (10/77 wrapped)
65+
from .transform import (tb01id, tb01pd,
66+
tb03ad,
67+
tb04ad,
68+
tb05ad,
69+
tc01od, tc04ad,
70+
td04ad,
71+
tf01md, tf01rd)
72+
73+
# Utility routines (0/7 wrapped)
4074

41-
# Transformation routines (9/40 wrapped)
42-
from .transform import tb01id, tb03ad, tb04ad
43-
from .transform import tb05ad
44-
from .transform import tc04ad, tc01od
45-
from .transform import tf01md, tf01rd
46-
from .transform import td04ad, tb01pd
4775

4876
from .version import __version__
4977

0 commit comments

Comments
 (0)