-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
API changeChanges to existing functions or objects in the API.Changes to existing functions or objects in the API.topic: Linear AlgebraLinear algebra.Linear algebra.
Milestone
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.
Metadata
Metadata
Assignees
Labels
API changeChanges to existing functions or objects in the API.Changes to existing functions or objects in the API.topic: Linear AlgebraLinear algebra.Linear algebra.