1SSFRK(1)LAPACK routine (version 3.2)                                  SSFRK(1)
2
3
4

NAME

6       SSFRK - 3 BLAS like routine for C in RFP Format
7

SYNOPSIS

9       SUBROUTINE SSFRK( TRANSR, UPLO, TRANS, N, K, ALPHA, A, LDA, BETA,
10
11           +             C )
12
13           REAL          ALPHA, BETA
14
15           INTEGER       K, LDA, N
16
17           CHARACTER     TRANS, TRANSR, UPLO
18
19           REAL          A( LDA, * ), C( * )
20

PURPOSE

22       Level  3  BLAS like routine for C in RFP Format.  SSFRK performs one of
23       the symmetric rank--k operations
24          C := alpha*A*A' + beta*C,
25       or
26          C := alpha*A'*A + beta*C,
27       where alpha and beta are real  scalars,  C  is  an  n--by--n  symmetric
28       matrix  and  A  is  an n--by--k matrix in the first case and a k--by--n
29       matrix in the second case.
30

ARGUMENTS

32       TRANSR    (input) CHARACTER
33                 = 'N':  The Normal Form of RFP A is stored;
34                 = 'T':  The Transpose Form of RFP A is stored.
35
36       UPLO   - (input) CHARACTER
37              On  entry, UPLO specifies whether the upper or lower  triangular
38              part  of  the array C is to be referenced as follows: UPLO = 'U'
39              or 'u'   Only the upper triangular part of C  is  to  be  refer‐
40              enced.   UPLO = 'L' or 'l'   Only the lower triangular part of C
41              is to be referenced.  Unchanged on exit.
42
43       TRANS  - (input) CHARACTER
44              On entry, TRANS specifies the operation to be performed as  fol‐
45              lows:  TRANS  =  'N' or 'n'   C := alpha*A*A' + beta*C.  TRANS =
46              'T' or 't'   C := alpha*A'*A + beta*C.  Unchanged on exit.
47
48       N      - (input) INTEGER.
49              On entry, N specifies the order of the matrix C. N  must  be  at
50              least zero.  Unchanged on exit.
51
52       K      - (input) INTEGER.
53              On  entry  with  TRANS  =  'N' or 'n', K specifies the number of
54              columns of the matrix A, and on entry with TRANS = 'T' or 't', K
55              specifies the number of rows of the matrix A. K must be at least
56              zero.  Unchanged on exit.
57
58       ALPHA  - (input) REAL.
59              On entry, ALPHA specifies the scalar alpha.  Unchanged on exit.
60
61       A      - (input) REAL array of DIMENSION ( LDA, ka ), where KA
62              is K  when TRANS = 'N' or 'n', and is N otherwise. Before  entry
63              with  TRANS = 'N' or 'n', the leading N--by--K part of the array
64              A must contain the matrix A, otherwise the leading K--by--N part
65              of the array A must contain the matrix A.  Unchanged on exit.
66
67       LDA    - (input) INTEGER.
68              On  entry, LDA specifies the first dimension of A as declared in
69              the  calling  (sub)  program.   When  TRANS = 'N'  or  'n'  then
70              LDA  must  be  at  least  max( 1, n ), otherwise  LDA must be at
71              least  max( 1, k ).  Unchanged on exit.
72
73       BETA   - (input) REAL.
74              On entry, BETA specifies the scalar beta.  Unchanged on exit.
75
76       C      - (input/output) REAL array, dimension ( NT );
77              NT = N*(N+1)/2. On entry, the symmetric matrix C in RFP  Format.
78              RFP Format is described by TRANSR, UPLO and N.
79

ARGUMENTS

81 LAPACK routine (version 3.2)    November 2008                        SSFRK(1)
Impressum