Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
23dc966
propagate and allow overriding of signal labels in StateSpace lft fun…
tomaantjes Sep 6, 2026
e6a3e1b
add a check for validity of given nu and ny variables to statespace l…
tomaantjes Sep 6, 2026
37153cf
update Statespace lft function docstring to directly reflect its func…
tomaantjes Sep 9, 2026
6007d4d
add general lft function that can be used with any InputOutputSystem
tomaantjes Sep 12, 2026
47205b1
add lft function to kwarg tests
tomaantjes Sep 12, 2026
6776e2d
add unittests for lft function with LTI systems
tomaantjes Sep 12, 2026
bb06493
add unittest for lft function with general InputOutputSystem input
tomaantjes Sep 12, 2026
d74973d
add lft to function reference
tomaantjes Sep 12, 2026
1694287
add narrative documentation for lft function
tomaantjes Sep 12, 2026
3c9752f
make lft be able to use scalar, array and tf inputs
tomaantjes Sep 13, 2026
351ba99
add lft to see also of other bdalg functions
tomaantjes Sep 13, 2026
b72c3e0
reorder checks to be more logical in lft function
tomaantjes Sep 13, 2026
3262a35
compute maximal values before dimension check in ss.lft
tomaantjes Sep 13, 2026
2f65871
reorder bdalg lft tests
tomaantjes Sep 13, 2026
4cc8e24
add examples to lft functions
tomaantjes Sep 13, 2026
842a10c
fallback to default names if duplicate input or output names occur af…
tomaantjes Sep 13, 2026
7522036
make definition of ny and nu more general in lft docstrings
tomaantjes Sep 13, 2026
66d1f20
align FRD and non-LTI system input error test for lft function
tomaantjes Sep 13, 2026
d2264c6
remove unnecessary blank line
tomaantjes Sep 14, 2026
5a59926
mark lft test that requires slycot
tomaantjes Sep 15, 2026
7502973
add link to CDC article in lft functions
tomaantjes Sep 23, 2026
b2a59e0
add link to MATLAB lft function documentation in lft functions
tomaantjes Sep 23, 2026
76016cd
add fallback behavior for duplicate input and output labels to docstring
tomaantjes Sep 23, 2026
17d4262
remove extra spaces
tomaantjes Sep 23, 2026
c0c778e
use single backticks for Matlab lft function reference
tomaantjes Sep 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add link to MATLAB lft function documentation in lft functions
  • Loading branch information
tomaantjes committed Sep 23, 2026
commit b2a59e09582c060c0dca87d4764a11e43fb1129b
4 changes: 3 additions & 1 deletion control/bdalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ def lft(sys1, sys2, nu=-1, ny=-1, **kwargs):
first `ny` inputs of `sys2`. If `sys2` has fewer inputs and
outputs than `sys1`, this forms the lower LFT of `sys1` and
`sys2`. If `sys1` has fewer inputs and outputs than `sys2`,
this forms the upper LFT of `sys2` and `sys1`.
this forms the upper LFT of `sys2` and `sys1`. This implementation
is compatible with the MATLAB ``lft`` function found here:
https://www.mathworks.com/help/control/ref/inputoutputmodel.lft.html

Parameters
----------
Expand Down
4 changes: 3 additions & 1 deletion control/statesp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,9 @@ def lft(self, other, nu=-1, ny=-1, **kwargs):
first `ny` inputs of `other`. If `other` has fewer inputs and
outputs than `self`, this forms the lower LFT of `self` and
`other`. If `self` has fewer inputs and outputs than `other`,
this forms the upper LFT of `other` and `self`.
this forms the upper LFT of `other` and `self`. This implementation
is compatible with the MATLAB ``lft`` function found here:
https://www.mathworks.com/help/control/ref/inputoutputmodel.lft.html

Parameters
----------
Expand Down