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

LinearAlgebra: Bidiagonal should support empty matrices #38377

Closed
KlausC opened this issue Nov 10, 2020 · 0 comments · Fixed by #38392
Closed

LinearAlgebra: Bidiagonal should support empty matrices #38377

KlausC opened this issue Nov 10, 2020 · 0 comments · Fixed by #38392
Labels
linear algebra Linear algebra

Comments

@KlausC
Copy link
Contributor

KlausC commented Nov 10, 2020

A size (n, n) bidiagonal matrix has a diagonal length of n and a subdiagonal of length n-1.
This statement is checked in the constructor of Bidigonal, but is false for n == 0.
The empty Bidiagonal should be allowed and contain empty diagonal and subdiagonal.

Remark: the processing of case n == 0 is already present in the code, as I could see at many places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants