-
Notifications
You must be signed in to change notification settings - Fork 448
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
larscl docs #733
Comments
Thanks for pointing this out @mgates3. Ditto for
The comment reads: The I wonder whether we should have a routine (or a set of routines) that does all four: column scaling only (X := X * Dc or X := X * inv(Dc)), row scaling only (X := Dr * X or X := X * inv(Dc)), column and row scaling both at once (X := Dr * X * Dc), similarity-transformation scaling (X := D * X * inv(D) or X := inv(D) * X * D). This is kind of already described in Chapter 2: Dense and Banded BLAS, page 72 through the functions: SUBROUTINE BLAS_xGE_DIAG_SCALE( SIDE, M, N, D, INCD, A, LDA ) SUBROUTINE BLAS_xGE_DIAG_LRSCALE( M, N, DL, INCDL, DR, INCDR, A, LDA ) SUBROUTINE BLAS_xSY_DIAG_LRSCALE( UPLO, N, D, INCD, A, LDA ) A coupe of things missing though: (1) the choice between multiplying or dividing by the scaling factor, and (2) similarity transformation scaling. |
Fix wrong documentation as reported in #733
Description
The docs on these are wrong:
ZLARSCL2 says it does "scaling on a vector", but from the arguments
(M, N, D, X, LDX)
it's pretty clear that X is a matrix, not a vector. The docs are super confusing: "The leading dimension of the vector X. LDX >= M." I assume it should be "matrix" instead of "vector".Checklist
The text was updated successfully, but these errors were encountered: