Skip to content
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

Set SCALE early for robust triangular solvers #712

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

angsch
Copy link
Collaborator

@angsch angsch commented Aug 21, 2022

Update robust triangular solver LATRS and robust banded triangular solver LATBS.

  1. The docs define SCALE as an output argument. Set SCALE before the quick return case to have SCALE set (to the expected value 1.0) in all cases. This is how the similar routine TRSYL handles the corner case already.

  2. Remove invocations of LABAD in complex routines and be consistent with the real counterparts, which do not call LABAD.

Copy link
Collaborator

@weslleyspereira weslleyspereira left a comment

Choose a reason for hiding this comment

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

The changes look great to me, @angsch! However, I am not sure if we should remove LABAD from the complex routines or add it to the real-valued routines.

1) The docs define SCALE as an output argument. Set SCALE *before*
the quick return case to have SCALE defined in all cases. This is
how the similar routine TRSYL handles the case already.

2) Remove invocations of LABAD in complex routines and be consistent
with their real counterparts, which do not call LABAD.
@angsch
Copy link
Collaborator Author

angsch commented Sep 25, 2022

@weslleyspereira Thanks for your review. The remaining data types have been added; the link to the issue has been moved to the commit message.

In view of #96, I did not reintroduce LABAD.

@weslleyspereira
Copy link
Collaborator

weslleyspereira commented Sep 29, 2022 via email

@langou langou merged commit 7c16bc0 into Reference-LAPACK:master Sep 29, 2022
@julielangou julielangou added this to the LAPACK 3.11.0 milestone Nov 12, 2022
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.

4 participants