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

HessenbergQ #7

Closed
stevengj opened this issue Aug 5, 2022 · 1 comment
Closed

HessenbergQ #7

stevengj opened this issue Aug 5, 2022 · 1 comment

Comments

@stevengj
Copy link
Member

stevengj commented Aug 5, 2022

It might be a good idea to use or emulate the HessenbergQ type from LinearAlgebra: this is a type to encode all of the Householder reflectors, and provides specialized methods to multiply vectors and matrices by Q or Q', as well as a Matrix conversion to get the ordinary matrix (which would replace your getQ function).

Ideally, you could just use the HessenbergQ object as-is, as long as you encode your householder reflectors in the same way. (This also allows you to use LAPACK routines to multiply by the reflectors.)

@smataigne
Copy link
Collaborator

I adapted the Hessenberg type so that it admits a Tridiagonal matrix as reduced matrix. The type returned by hessenberg(A) is now a standard Hessenberg type.

@stevengj stevengj closed this as completed Aug 8, 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

No branches or pull requests

2 participants