Skip to content

Additional wrappers to SLICOT functions #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed

Additional wrappers to SLICOT functions #1

wants to merge 12 commits into from

Conversation

mdclemen
Copy link
Contributor

I've added wrappers to SLICOT functions SB03OD and AB09BD. I have an open pull request on jgoppert/Slycot, but that fork seems to be abandoned.

@slivingston slivingston self-assigned this Aug 19, 2016
@slivingston
Copy link
Member

For posterity, the prior pull request that is referenced in the opening post is jgoppert/Slycot#8

@@ -410,13 +430,13 @@ subroutine sb10ad(job,n,m,np,ncon,nmeas,gamma,a,lda,b,ldb,c,ldc,d,ldd,ak,ldak,bk
double precision intent(out), dimension(ncon,nmeas), depend(ncon,nmeas) :: dk
integer intent(hide), depend(dk) :: lddk=shape(dk,0)
double precision intent(out), dimension(2*n,2*n), depend(n) :: ac
integer intent(hide), depend(ac) :: ldac=shape(ac,0)
integer intent(hide), depend(ac) :: ldak=shape(ac,0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this (and the other changes to sb10ad) undo the fix in 42cdeb8 -- this is why the unit test fails.

@slivingston
Copy link
Member

@mdclemen Can you rebase to address the following?

@@ -876,7 +876,7 @@ def ab09bd(dico,job,equil,n,m,p,A,B,C,D,nr=None,tol1=0,tol2=0,ldwork=None):
e = ArithmeticError('The computation of Hankel singular values failed')
e.info = out[-1]
raise e
nr,A,B,C,D,hsv = out[:-2]
Nr,A,B,C,D,hsv = out[:-2]
return nr, A[:Nr,:Nr], B[:Nr,:], C[:,:Nr],D[:,:], hsv
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should that be return Nr, [etc.] ? (This is just by comparison with ab09ad, which returns Nr, not nr.)

@mdclemen
Copy link
Contributor Author

mdclemen commented Aug 19, 2016

@slivingston, trying to rebase has totally screwed my repo. I am going to start over. My git status is novice at best.

@mdclemen mdclemen closed this Aug 19, 2016
@slivingston
Copy link
Member

I can assist with rebasing or modifying changesets via email or on IRC provided by OFTC. For the latter, there is a web client that you can use: https://webchat.oftc.net/?channels=#python-control.

Also, we can simply avoid any modifications to commits during review and then decide what to do when the final, overall patch is good to go.

@mdclemen
Copy link
Contributor Author

I closed this pull-request and started a new one with a clean commit.

On Fri, Aug 19, 2016 at 3:57 PM, Scott C. Livingston <
notifications@github.com> wrote:

I can assist with rebasing or modifying changesets via email or on IRC
provided by OFTC https://www.oftc.net/. For the latter, there is a web
client that you can use: https://webchat.oftc.net/?
channels=#python-control.

Also, we can simply avoid any modifications to commits during review and
then decide what to do when the final, overall patch is good to go.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHIA66-hY0edtmudN12T6lvqkE24IpgXks5qhjTOgaJpZM4Jnrnm
.

roryyorke pushed a commit that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants