1ZLASET(1)           LAPACK auxiliary routine (version 3.1)           ZLASET(1)
2
3
4

NAME

6       ZLASET  - a 2-D array A to BETA on the diagonal and ALPHA on the offdi‐
7       agonals
8

SYNOPSIS

10       SUBROUTINE ZLASET( UPLO, M, N, ALPHA, BETA, A, LDA )
11
12           CHARACTER      UPLO
13
14           INTEGER        LDA, M, N
15
16           COMPLEX*16     ALPHA, BETA
17
18           COMPLEX*16     A( LDA, * )
19

PURPOSE

21       ZLASET initializes a 2-D array A to BETA on the diagonal and  ALPHA  on
22       the offdiagonals.
23
24

ARGUMENTS

26       UPLO    (input) CHARACTER*1
27               Specifies  the  part  of  the  matrix  A  to  be  set.   = 'U':
28               Upper triangular part is set. The lower triangle is  unchanged.
29               = 'L':      Lower triangular part is set. The upper triangle is
30               unchanged.  Otherwise:  All of the matrix A is set.
31
32       M       (input) INTEGER
33               On entry, M specifies the number of rows of A.
34
35       N       (input) INTEGER
36               On entry, N specifies the number of columns of A.
37
38       ALPHA   (input) COMPLEX*16
39               All the offdiagonal array elements are set to ALPHA.
40
41       BETA    (input) COMPLEX*16
42               All the diagonal array elements are set to BETA.
43
44       A       (input/output) COMPLEX*16 array, dimension (LDA,N)
45               On entry, the m by n matrix A.  On exit, A(i,j) = ALPHA, 1 <= i
46               <= m, 1 <= j <= n, i.ne.j; A(i,i) = BETA , 1 <= i <= min(m,n)
47
48       LDA     (input) INTEGER
49               The leading dimension of the array A.  LDA >= max(1,M).
50
51
52
53 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006                       ZLASET(1)
Impressum