lascl2#

Functions

void slascl2(
    const INT           m,
    const INT           n,
    const f32* restrict D,
          f32* restrict X,
    const INT           ldx
);
void slascl2(const INT m, const INT n, const f32 *restrict D, f32 *restrict X, const INT ldx)#

SLASCL2 performs a diagonal scaling on a matrix: X becomes D * X where the diagonal matrix D is stored as a vector.

Eventually to be replaced by BLAS_sge_diag_scale in the new BLAS standard.

Parameters

in
m

The number of rows of D and X. m >= 0.

in
n

The number of columns of X. n >= 0.

in
D

Single precision array, length m. Diagonal matrix D, stored as a vector of length m.

inout
X

Single precision array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.

in
ldx

The leading dimension of the matrix X. ldx >= m.

Functions

void dlascl2(
    const INT           m,
    const INT           n,
    const f64* restrict D,
          f64* restrict X,
    const INT           ldx
);
void dlascl2(const INT m, const INT n, const f64 *restrict D, f64 *restrict X, const INT ldx)#

DLASCL2 performs a diagonal scaling on a matrix: X becomes D * X where the diagonal matrix D is stored as a vector.

Eventually to be replaced by BLAS_dge_diag_scale in the new BLAS standard.

Parameters

in
m

The number of rows of D and X. m >= 0.

in
n

The number of columns of X. n >= 0.

in
D

Double precision array, length m. Diagonal matrix D, stored as a vector of length m.

inout
X

Double precision array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.

in
ldx

The leading dimension of the matrix X. ldx >= m.

Functions

void clascl2(
    const INT           m,
    const INT           n,
    const f32* restrict D,
          c64* restrict X,
    const INT           ldx
);
void clascl2(const INT m, const INT n, const f32 *restrict D, c64 *restrict X, const INT ldx)#

CLASCL2 performs a diagonal scaling on a matrix: X becomes D * X where the diagonal matrix D is stored as a vector.

Eventually to be replaced by BLAS_cge_diag_scale in the new BLAS standard.

Parameters

in
m

The number of rows of D and X. m >= 0.

in
n

The number of columns of X. n >= 0.

in
D

Single precision array, length m. Diagonal matrix D, stored as a vector of length m.

inout
X

Complex array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.

in
ldx

The leading dimension of the matrix X. ldx >= m.

Functions

void zlascl2(
    const INT            m,
    const INT            n,
    const f64*  restrict D,
          c128* restrict X,
    const INT            ldx
);
void zlascl2(const INT m, const INT n, const f64 *restrict D, c128 *restrict X, const INT ldx)#

ZLASCL2 performs a diagonal scaling on a matrix: X becomes D * X where the DOUBLE PRECISION diagonal matrix D is stored as a vector.

Eventually to be replaced by BLAS_zge_diag_scale in the new BLAS standard.

Parameters

in
m

The number of rows of D and X. m >= 0.

in
n

The number of columns of X. n >= 0.

in
D

Double precision array, length m. Diagonal matrix D, stored as a vector of length m.

inout
X

Complex*16 array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.

in
ldx

The leading dimension of the matrix X. ldx >= m.