1DSYR(1)                          BLAS routine                          DSYR(1)
2
3
4

NAME

6       DSYR - performs the symmetric rank 1 operation   A := alpha*x*x' + A,
7

SYNOPSIS

9       SUBROUTINE DSYR(UPLO,N,ALPHA,X,INCX,A,LDA)
10
11           DOUBLE                                 PRECISION ALPHA
12
13           INTEGER                                INCX,LDA,N
14
15           CHARACTER                              UPLO
16
17           DOUBLE                                 PRECISION A(LDA,*),X(*)
18

PURPOSE

20       DSYR   performs the symmetric rank 1 operation
21
22       where alpha is a real scalar, x is an n element vector and A is an n by
23       n symmetric matrix.
24
25

ARGUMENTS

27       UPLO   - CHARACTER*1.
28              On entry, UPLO specifies whether the upper or  lower  triangular
29              part of the array A is to be referenced as follows:
30
31              UPLO = 'U' or 'u'   Only the upper triangular part of A is to be
32              referenced.
33
34              UPLO = 'L' or 'l'   Only the lower triangular part of A is to be
35              referenced.
36
37              Unchanged on exit.
38
39       N      - INTEGER.
40              On  entry,  N specifies the order of the matrix A.  N must be at
41              least zero.  Unchanged on exit.
42
43       ALPHA  - DOUBLE PRECISION.
44              On entry, ALPHA specifies the scalar alpha.  Unchanged on exit.
45
46       X      - DOUBLE PRECISION array of dimension at least
47              ( 1 + ( n - 1 )*abs( INCX ) ).  Before  entry,  the  incremented
48              array X must contain the n element vector x.  Unchanged on exit.
49
50       INCX   - INTEGER.
51              On  entry,  INCX  specifies the increment for the elements of X.
52              INCX must not be zero.  Unchanged on exit.
53
54       A      - DOUBLE PRECISION array of DIMENSION ( LDA, n ).
55              Before entry with  UPLO = 'U' or 'u', the leading n by  n  upper
56              triangular part of the array A must contain the upper triangular
57              part of the symmetric matrix and the strictly  lower  triangular
58              part  of A is not referenced. On exit, the upper triangular part
59              of the array A is overwritten by the upper  triangular  part  of
60              the  updated  matrix.   Before entry with UPLO = 'L' or 'l', the
61              leading n by n lower triangular part of the array A must contain
62              the  lower  triangular  part  of  the  symmetric  matrix and the
63              strictly upper triangular part of A is not referenced. On  exit,
64              the  lower  triangular part of the array A is overwritten by the
65              lower triangular part of the updated matrix.
66
67       LDA    - INTEGER.
68              On entry, LDA specifies the first dimension of A as declared  in
69              the  calling  (sub)  program.  LDA must be at least max( 1, n ).
70              Unchanged on exit.
71

FURTHER DETAILS

73       Level 2 Blas routine.
74
75       -- Written on 22-October-1986.
76          Jack Dongarra, Argonne National Lab.
77          Jeremy Du Croz, Nag Central Office.
78          Sven Hammarling, Nag Central Office.
79          Richard Hanson, Sandia National Labs.
80
81
82
83
84BLAS routine                     November 2008                         DSYR(1)
Impressum