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

NAME

6       CTRTTP - copies a triangular matrix A from full format (TR) to standard
7       packed format (TP)
8

SYNOPSIS

10       SUBROUTINE CTRTTP( UPLO, N, A, LDA, AP, INFO )
11
12           CHARACTER      UPLO
13
14           INTEGER        INFO, N, LDA
15
16           COMPLEX        A( LDA, * ), AP( * )
17

PURPOSE

19       CTRTTP copies a triangular matrix A from full format (TR)  to  standard
20       packed format (TP).
21

ARGUMENTS

23       UPLO    (input) CHARACTER
24               = 'U':  A is upper triangular;
25               = 'L':  A is lower triangular.
26
27       N       (input) INTEGER
28               The order of the matrices AP and A.  N >= 0.
29
30       A       (input) COMPLEX array, dimension (LDA,N)
31               On  entry, the triangular matrix A.  If UPLO = 'U', the leading
32               N-by-N upper triangular part of A contains the upper triangular
33               part of the matrix A, and the strictly lower triangular part of
34               A is not referenced.  If UPLO = 'L', the leading  N-by-N  lower
35               triangular  part of A contains the lower triangular part of the
36               matrix A, and the strictly upper triangular part of  A  is  not
37               referenced.
38
39       LDA     (input) INTEGER
40               The leading dimension of the array A.  LDA >= max(1,N).
41
42       AP      (output) COMPLEX array, dimension ( N*(N+1)/2 ),
43               On exit, the upper or lower triangular matrix A, packed columnā€
44               wise in a linear array. The j-th column of A is stored  in  the
45               array  AP as follows: if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j)
46               for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for
47               j<=i<=n.
48
49       INFO    (output) INTEGER
50               = 0:  successful exit
51               < 0:  if INFO = -i, the i-th argument had an illegal value
52
53
54
55 LAPACK routine (version 3.2)    November 2008                       CTRTTP(1)
Impressum