clascl2 - perform diagonal scaling on a vector
SUBROUTINE CLASCL2 ( M, N, D, X, LDX ) INTEGER M, N, LDX REAL D(*) COMPLEX X(LDX,*) SUBROUTINE CLASCL2_64 ( M, N, D, X, LDX ) INTEGER*8 M, N, LDX REAL D(*) COMPLEX X(LDX,*) F95 INTERFACE SUBROUTINE LASCL2 ( M, N, D, X, LDX ) INTEGER :: M, N, LDX COMPLEX, DIMENSION(:,:) :: X REAL :: D SUBROUTINE LASCL2_64 ( M, N, D, X, LDX ) INTEGER(8) :: M, N, LDX COMPLEX, DIMENSION(:,:) :: X REAL :: D C INTERFACE #include <sunperf.h> void clascl2 (int m, int n, float d, floatcomplex *x, int ldx); void clascl2_64 (long m, long n, float d, floatcomplex *x, long ldx);
Oracle Solaris Studio Performance Library clascl2(3P) NAME clascl2 - perform diagonal scaling on a vector SYNOPSIS SUBROUTINE CLASCL2 ( M, N, D, X, LDX ) INTEGER M, N, LDX REAL D(*) COMPLEX X(LDX,*) SUBROUTINE CLASCL2_64 ( M, N, D, X, LDX ) INTEGER*8 M, N, LDX REAL D(*) COMPLEX X(LDX,*) F95 INTERFACE SUBROUTINE LASCL2 ( M, N, D, X, LDX ) INTEGER :: M, N, LDX COMPLEX, DIMENSION(:,:) :: X REAL :: D SUBROUTINE LASCL2_64 ( M, N, D, X, LDX ) INTEGER(8) :: M, N, LDX COMPLEX, DIMENSION(:,:) :: X REAL :: D C INTERFACE #include <sunperf.h> void clascl2 (int m, int n, float d, floatcomplex *x, int ldx); void clascl2_64 (long m, long n, float d, floatcomplex *x, long ldx); PURPOSE clascl2 performs a diagonal scaling on a vector: x <-- D * x where the diagonal REAL matrix D is stored as a vector. Eventually to be replaced by BLAS_cge_diag_scale in the new BLAS stan- dard. ARGUMENTS M (input) M is INTEGER The number of rows of D and X. M >= 0. N (input) N is INTEGER The number of columns of D and X. N >= 0. D (input) D is REAL array, length M Diagonal matrix D, stored as a vector of length M. X (input/output) X is COMPLEX array, dimension (LDX,N) On entry, the vector X to be scaled by D. On exit, the scaled vector. LDX (input) LDX is INTEGER The leading dimension of the vector X. LDX >= 0. 7 Nov 2015 clascl2(3P)