Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
A newer version of this document is available. Customers should click here to go to the newest version.
?lascl2
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)
- mkl.fi
 
The ?lascl2 routines perform diagonal scaling on a vector
x := D*x,
where:
x is a vector, and
D is a diagonal matrix.
- m
 -  
     
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.
 - n
 -  
     
INTEGER. The number of columns of D and x. The value of n must be at least zero.
 - d
 -  
     
REAL for slascl2 and clascl2.
DOUBLE PRECISION for dlascl2 and zlascl2.
Array, DIMENSIONm. Diagonal matrix D stored as a vector of length m.
 - x
 -  
     
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.
 - ldx
 -  
     
INTEGER.
The leading dimension of the vector x. The value of ldx must be at least zero.
 
- x
 -  
     
Scaled vector x.