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

> \prod_{i=1}^k H(v_i) #2

Closed
xjzhao001 opened this issue Mar 30, 2021 · 1 comment
Closed

> \prod_{i=1}^k H(v_i) #2

xjzhao001 opened this issue Mar 30, 2021 · 1 comment

Comments

@xjzhao001
Copy link

\prod_{i=1}^k H(v_i), is that right?
Right.
Hi, toshas, your work is great, thanks!
You confirm that if we denote H(v) = I_n - v v^T / \norm{v}^2 a Householder reflection, the torch_householder_orgqr() computes \prod_{i=1}^k H(v_i), and I have two questions, one is I think H(v) = I_n – 2vv^T/\norm{v}^2, and the other is \prod_{i=1}^k H(v_i) means H_1* H_2*…H_(n-1) or H_(n-1)* H_(n-2)…H_1 ? If it is H_1 H_2*…H_(n-1), it refers to Q in QR decomposition, right? But you said earlier that this is not a QR decomposition, so I feel a little confused. Hope to get your prompt reply, thank you.

@toshas
Copy link
Owner

toshas commented Mar 30, 2021

H(v) = I_n - 2 v v^T / \norm{v}^2 is the correct equation.
For the rest of your questions, please refer to our paper which explains this aspect in a greater detail: https://arxiv.org/pdf/2103.04217.pdf

@toshas toshas closed this as completed Jul 2, 2021
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