Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

cspcon (3p)

Name

cspcon - estimate the reciprocal of the condition number (in the 1-norm) of a complex symmetric packed matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSPTRF

Synopsis

SUBROUTINE CSPCON(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

CHARACTER*1 UPLO
COMPLEX A(*), WORK(*)
INTEGER N, INFO
INTEGER IPIVOT(*)
REAL ANORM, RCOND

SUBROUTINE CSPCON_64(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

CHARACTER*1 UPLO
COMPLEX A(*), WORK(*)
INTEGER*8 N, INFO
INTEGER*8 IPIVOT(*)
REAL ANORM, RCOND




F95 INTERFACE
SUBROUTINE SPCON(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

CHARACTER(LEN=1) :: UPLO
COMPLEX, DIMENSION(:) :: A, WORK
INTEGER :: N, INFO
INTEGER, DIMENSION(:) :: IPIVOT
REAL :: ANORM, RCOND

SUBROUTINE SPCON_64(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

CHARACTER(LEN=1) :: UPLO
COMPLEX, DIMENSION(:) :: A, WORK
INTEGER(8) :: N, INFO
INTEGER(8), DIMENSION(:) :: IPIVOT
REAL :: ANORM, RCOND




C INTERFACE
#include <sunperf.h>

void  cspcon(char  uplo,  int  n, complex *a, int *ipivot, float anorm,
float *rcond, int *info);

void cspcon_64(char uplo, long  n,  complex  *a,  long  *ipivot,  float
anorm, float *rcond, long *info);

Description

Oracle Solaris Studio Performance Library                           cspcon(3P)



NAME
       cspcon  -  estimate  the  reciprocal  of  the  condition number (in the
       1-norm) of a complex symmetric packed matrix A using the  factorization
       A = U*D*U**T or A = L*D*L**T computed by CSPTRF


SYNOPSIS
       SUBROUTINE CSPCON(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

       CHARACTER*1 UPLO
       COMPLEX A(*), WORK(*)
       INTEGER N, INFO
       INTEGER IPIVOT(*)
       REAL ANORM, RCOND

       SUBROUTINE CSPCON_64(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

       CHARACTER*1 UPLO
       COMPLEX A(*), WORK(*)
       INTEGER*8 N, INFO
       INTEGER*8 IPIVOT(*)
       REAL ANORM, RCOND




   F95 INTERFACE
       SUBROUTINE SPCON(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

       CHARACTER(LEN=1) :: UPLO
       COMPLEX, DIMENSION(:) :: A, WORK
       INTEGER :: N, INFO
       INTEGER, DIMENSION(:) :: IPIVOT
       REAL :: ANORM, RCOND

       SUBROUTINE SPCON_64(UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO)

       CHARACTER(LEN=1) :: UPLO
       COMPLEX, DIMENSION(:) :: A, WORK
       INTEGER(8) :: N, INFO
       INTEGER(8), DIMENSION(:) :: IPIVOT
       REAL :: ANORM, RCOND




   C INTERFACE
       #include <sunperf.h>

       void  cspcon(char  uplo,  int  n, complex *a, int *ipivot, float anorm,
                 float *rcond, int *info);

       void cspcon_64(char uplo, long  n,  complex  *a,  long  *ipivot,  float
                 anorm, float *rcond, long *info);



PURPOSE
       cspcon estimates the reciprocal of the condition number (in the 1-norm)
       of a complex symmetric packed matrix A  using  the  factorization  A  =
       U*D*U**T or A = L*D*L**T computed by CSPTRF.

       An  estimate  is  obtained  for norm(inv(A)), and the reciprocal of the
       condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).


ARGUMENTS
       UPLO (input)
                 Specifies whether the details of the factorization are stored
                 as an upper or lower triangular matrix.  = 'U':  Upper trian-
                 gular, form is A = U*D*U**T;
                 = 'L':  Lower triangular, form is A = L*D*L**T.


       N (input) The order of the matrix A.  N >= 0.


       A (input) Complex  array,  dimension  (N*(N+1)/2)  The  block  diagonal
                 matrix D and the multipliers used to obtain the factor U or L
                 as computed by CSPTRF, stored as a packed triangular  matrix.


       IPIVOT (input)
                 Integer  array, dimension (N) Details of the interchanges and
                 the block structure of D as determined by CSPTRF.


       ANORM (input)
                 The 1-norm of the original matrix A.


       RCOND (output)
                 The reciprocal of the condition number of the matrix A,  com-
                 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti-
                 mate of the 1-norm of inv(A) computed in this routine.


       WORK (workspace)
                 Complex array, dimension(2*N)

       INFO (output)
                 = 0:  successful exit
                 < 0:  if INFO = -i, the i-th argument had an illegal value




                                  7 Nov 2015                        cspcon(3P)