Closed
Description
Currently linalg.qr
and linalg.svd
specify the return tuple field names using lower case letters: q
, r
, u
, s
, vh
.
Are there any previous discussions on the naming convention? It's common in the linear algebra domain to denote the matrices with upper case single letters. Therefore in PyTorch's linear algebra module (that already uses the namedtuple returns) it was chosen to use qr() -> (Q, R)
and svd() -> (U, S, Vh)
- upper case letters.
In Julia's LinearAlgebra module also upper case letters are used for accessing the result of QR and SVD decompositions.