1SLASCL2(1) LAPACK routine (version 3.2)                             SLASCL2(1)
2
3
4

NAME

6       SLASCL2 - performs a diagonal scaling on a vector
7

SYNOPSIS

9       SUBROUTINE SLASCL2 ( M, N, D, X, LDX )
10
11           IMPLICIT       NONE
12
13           INTEGER        M, N, LDX
14
15           REAL           D( * ), X( LDX, * )
16

PURPOSE

18       SLASCL2 performs a diagonal scaling on a vector:
19         x <-- D * x
20       where the diagonal matrix D is stored as a vector.
21       Eventually  to be replaced by BLAS_sge_diag_scale in the new BLAS stan‐
22       dard.
23

ARGUMENTS

25       N      (input) INTEGER
26              The size of the vectors X and D.
27
28       D      (input) REAL array, length N
29              Diagonal matrix D, stored as a vector of length N.
30
31       X      (input/output) REAL array, length N
32              On entry, the vector X to be scaled by D.  On exit,  the  scaled
33              vector.
34
35
36
37    LAPACK routine (version 3.2) November 2008                      SLASCL2(1)
Impressum