larscl2#
Functions
-
void clarscl2(const INT m, const INT n, const f32 *restrict D, c64 *restrict X, const INT ldx)#
CLARSCL2 performs a reciprocal diagonal scaling on a matrix: x <— inv(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
inmThe number of rows of D and X. m >= 0.
innThe number of columns of X. n >= 0.
inDSingle precision array, length m. Diagonal matrix D, stored as a vector of length m.
inoutXComplex*16 array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.
inldxThe leading dimension of the matrix X. ldx >= m.
void clarscl2(
const INT m,
const INT n,
const f32* restrict D,
c64* restrict X,
const INT ldx
);
Functions
-
void zlarscl2(const INT m, const INT n, const f64 *restrict D, c128 *restrict X, const INT ldx)#
ZLARSCL2 performs a reciprocal diagonal scaling on a matrix: x <— inv(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
inmThe number of rows of D and X. m >= 0.
innThe number of columns of X. n >= 0.
inDDouble precision array, length m. Diagonal matrix D, stored as a vector of length m.
inoutXComplex*16 array, dimension (ldx, n). On entry, the matrix X to be scaled by D. On exit, the scaled matrix.
inldxThe leading dimension of the matrix X. ldx >= m.
void zlarscl2(
const INT m,
const INT n,
const f64* restrict D,
c128* restrict X,
const INT ldx
);