laset#
Functions
-
void slaset(const char *uplo, const INT m, const INT n, const f32 alpha, const f32 beta, f32 *restrict A, const INT lda)#
SLASET initializes an m-by-n matrix A to BETA on the diagonal and ALPHA on the offdiagonals.
Parameters
inuploSpecifies the part of A to be set. = ‘U’: Upper triangular part is set; the strictly lower triangular part of A is not changed. = ‘L’: Lower triangular part is set; the strictly upper triangular part of A is not changed. Otherwise: All of the matrix A is set.
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inalphaThe constant to which the offdiagonal elements are set.
inbetaThe constant to which the diagonal elements are set.
outADouble precision array, dimension (lda, n). On exit, the leading m-by-n submatrix of A is set as described above.
inldaThe leading dimension of A. lda >= max(1, m).
void slaset(
const char* uplo,
const INT m,
const INT n,
const f32 alpha,
const f32 beta,
f32* restrict A,
const INT lda
);
Functions
-
void dlaset(const char *uplo, const INT m, const INT n, const f64 alpha, const f64 beta, f64 *restrict A, const INT lda)#
DLASET initializes an m-by-n matrix A to BETA on the diagonal and ALPHA on the offdiagonals.
Parameters
inuploSpecifies the part of A to be set. = ‘U’: Upper triangular part is set; the strictly lower triangular part of A is not changed. = ‘L’: Lower triangular part is set; the strictly upper triangular part of A is not changed. Otherwise: All of the matrix A is set.
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inalphaThe constant to which the offdiagonal elements are set.
inbetaThe constant to which the diagonal elements are set.
outADouble precision array, dimension (lda, n). On exit, the leading m-by-n submatrix of A is set as described above.
inldaThe leading dimension of A. lda >= max(1, m).
void dlaset(
const char* uplo,
const INT m,
const INT n,
const f64 alpha,
const f64 beta,
f64* restrict A,
const INT lda
);
Functions
-
void claset(const char *uplo, const INT m, const INT n, const c64 alpha, const c64 beta, c64 *restrict A, const INT lda)#
CLASET initializes an m-by-n matrix A to BETA on the diagonal and ALPHA on the offdiagonals.
Parameters
inuploSpecifies the part of A to be set. = ‘U’: Upper triangular part is set; the strictly lower triangular part of A is not changed. = ‘L’: Lower triangular part is set; the strictly upper triangular part of A is not changed. Otherwise: All of the matrix A is set.
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inalphaThe constant to which the offdiagonal elements are set.
inbetaThe constant to which the diagonal elements are set.
outAComplex*16 array, dimension (lda, n). On exit, the leading m-by-n submatrix of A is set as described above.
inldaThe leading dimension of A. lda >= max(1, m).
void claset(
const char* uplo,
const INT m,
const INT n,
const c64 alpha,
const c64 beta,
c64* restrict A,
const INT lda
);
Functions
-
void zlaset(const char *uplo, const INT m, const INT n, const c128 alpha, const c128 beta, c128 *restrict A, const INT lda)#
ZLASET initializes an m-by-n matrix A to BETA on the diagonal and ALPHA on the offdiagonals.
Parameters
inuploSpecifies the part of A to be set. = ‘U’: Upper triangular part is set; the strictly lower triangular part of A is not changed. = ‘L’: Lower triangular part is set; the strictly upper triangular part of A is not changed. Otherwise: All of the matrix A is set.
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inalphaThe constant to which the offdiagonal elements are set.
inbetaThe constant to which the diagonal elements are set.
outAComplex*16 array, dimension (lda, n). On exit, the leading m-by-n submatrix of A is set as described above.
inldaThe leading dimension of A. lda >= max(1, m).
void zlaset(
const char* uplo,
const INT m,
const INT n,
const c128 alpha,
const c128 beta,
c128* restrict A,
const INT lda
);