Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Performs diagonal scaling on a vector.
call slascl2(m, n, d, x, ldx)
call dlascl2(m, n, d, x, ldx)
call clascl2(m, n, d, x, ldx)
call zlascl2(m, n, d, x, ldx)
The ?lascl2 routines perform diagonal scaling on a vector
x := D*x,
where:
x is a vector, and
D is a diagonal matrix.
INTEGER. Specifies the number of rows of the matrix D and the number of elements of the vector x. The value of m must be at least zero.
INTEGER. The number of columns of D and x. The value of n must be at least zero.
REAL for slascl2 and clascl2.
DOUBLE PRECISION for dlascl2 and zlascl2.
Array, DIMENSIONm. Diagonal matrix D stored as a vector of length m.
REAL for slascl2.
DOUBLE PRECISION for dlascl2.
COMPLEX for clascl2.
DOUBLE COMPLEX for zlascl2.
Array, DIMENSION(ldx,n). The vector x to scale by D.
INTEGER.
The leading dimension of the vector x. The value of ldx must be at least zero.
Scaled vector x.