Initializes the off-diagonal elements and the diagonal elements of a matrix to given values.
call slaset( uplo, m, n, alpha, beta, a, lda )
call dlaset( uplo, m, n, alpha, beta, a, lda )
call claset( uplo, m, n, alpha, beta, a, lda )
call zlaset( uplo, m, n, alpha, beta, a, lda )
The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).
The routine initializes an m-by-n matrix A to beta on the diagonal and alpha on the off-diagonals.
CHARACTER*1. Specifies the part of the matrix A to be set.
If uplo = 'U', upper triangular part is set; the strictly lower triangular part of A is not changed.
If uplo = 'L': lower triangular part is set; the strictly upper triangular part of A is not changed.
Otherwise: All of the matrix A is set.
INTEGER. The number of rows of the matrix A. m ≥ 0.
INTEGER. The number of columns of the matrix A.
n ≥ 0.
REAL for slaset
DOUBLE PRECISION for dlaset
COMPLEX for claset
DOUBLE COMPLEX for zlaset.
The constants to which the off-diagonal and diagonal elements are to be set, respectively.
REAL for slaset
DOUBLE PRECISION for dlaset
COMPLEX for claset
DOUBLE COMPLEX for zlaset.
Array, DIMENSION (lda, n).
On entry, the m-by-n matrix A.
INTEGER. The leading dimension of the array a.
lda ≥ max(1,m).
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.