Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Performs reciprocal diagonal scaling on a vector.
call slarscl2(m, n, d, x, ldx)
call dlarscl2(m, n, d, x, ldx)
call clarscl2(m, n, d, x, ldx)
call zlarscl2(m, n, d, x, ldx)
The ?larscl2 routines perform reciprocal diagonal scaling on a vector
x := D-1*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 slarscl2 and clarscl2.
DOUBLE PRECISION for dlarscl2 and zlarscl2.
Array, DIMENSIONm. Diagonal matrix D stored as a vector of length m.
REAL for slarscl2.
DOUBLE PRECISION for dlarscl2.
COMPLEX for clarscl2.
DOUBLE COMPLEX for zlarscl2.
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.