Skip to content
Prev Previous commit
Next Next commit
fix formatting
  • Loading branch information
saasaa committed Sep 20, 2023
commit 05fd0b75963b543864f56e73355ca038701dca6d
84 changes: 29 additions & 55 deletions slycot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

if __SLYCOT_SETUP__:
import sys as _sys

_sys.stderr.write("Running from Slycot source directory.\n")
_sys.stderr.write('Running from Slycot source directory.\n')
del _sys
else:

# import slycot.examples

# The Slycot library is organised by 11-chapters. Each chapter can be identified by a single letter.
Expand All @@ -26,26 +26,15 @@
# T : Transformation Routines (included)
# U : Utility Routines


# Analysis routines (17/60 wrapped)
from .analysis import (
ab01nd,
ab04md,
ab05md,
ab05nd,
ab07nd,
ab08nd,
ab08nz,
ab09ad,
ab09ax,
ab09bd,
ab09md,
ab09nd,
ab13bd,
ab13dd,
ab13ed,
ab13fd,
ab13md,
)
from .analysis import (ab01nd,
ab04md,
ab05md, ab05nd,
ab07nd,
ab08nd, ab08nz,
ab09ad, ab09ax, ab09bd, ab09md, ab09nd,
ab13bd, ab13dd, ab13ed, ab13fd, ab13md)

# Benchmark routines (0/6 wrapped)

Expand All @@ -58,51 +47,36 @@
# Identification routines (0/15 wrapped)

# Mathematical routines (8/281 wrapped)
from .math import mb02ed, mb03rd, mb03vd, mb03vy, mb03wd, mb05md, mb05nd, mc01td
from .math import (mb02ed, mb03rd, mb03vd, mb03vy, mb03wd,
mb05md, mb05nd,
mc01td)

# Nonlinear Systems (0/16 wrapped)

# Synthesis routines ((16+1)/131 wrapped), sb03md57 is not part of slicot
from .synthesis import (
sb01bd,
sb02md,
sb02mt,
sb02od,
sb03md,
sb03md57,
sb03od,
sb04md,
sb04qd,
sb10ad,
sb10dd,
sb10fd,
sb10hd,
sb10yd,
sg02ad,
sg03ad,
sg03bd,
)
from .synthesis import (sb01bd,
sb02md, sb02mt, sb02od,
sb03md, sb03md57, sb03od,
sb04md, sb04qd,
sb10ad, sb10dd, sb10fd, sb10hd, sb10yd,
sg02ad,
sg03ad, sg03bd)

# Transformation routines (10/77 wrapped)
from .transform import (
tb01id,
tb01pd,
tb03ad,
tb04ad,
tb05ad,
tc01od,
tc04ad,
td04ad,
tf01md,
tf01rd,
)
from .transform import (tb01id, tb01pd,
tb03ad,
tb04ad,
tb05ad,
tc01od, tc04ad,
td04ad,
tf01md, tf01rd)

# Utility routines (0/7 wrapped)


from .version import __version__


def test():
import pytest

pytest.main(["--pyargs", "slycot"])
pytest.main(['--pyargs', 'slycot'])
Loading