NAME

cpptrs - solve a system of linear equations A*X = B with a Hermitian positive definite matrix A in packed storage using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF


SYNOPSIS

  SUBROUTINE CPPTRS( UPLO, N, NRHS, A, B, LDB, INFO)
  CHARACTER * 1 UPLO
  COMPLEX A(*), B(LDB,*)
  INTEGER N, NRHS, LDB, INFO
  SUBROUTINE CPPTRS_64( UPLO, N, NRHS, A, B, LDB, INFO)
  CHARACTER * 1 UPLO
  COMPLEX A(*), B(LDB,*)
  INTEGER*8 N, NRHS, LDB, INFO

F95 INTERFACE

  SUBROUTINE PPTRS( UPLO, N, [NRHS], A, B, [LDB], [INFO])
  CHARACTER(LEN=1) :: UPLO
  COMPLEX, DIMENSION(:) :: A
  COMPLEX, DIMENSION(:,:) :: B
  INTEGER :: N, NRHS, LDB, INFO
  SUBROUTINE PPTRS_64( UPLO, N, [NRHS], A, B, [LDB], [INFO])
  CHARACTER(LEN=1) :: UPLO
  COMPLEX, DIMENSION(:) :: A
  COMPLEX, DIMENSION(:,:) :: B
  INTEGER(8) :: N, NRHS, LDB, INFO

C INTERFACE

#include <sunperf.h>

void cpptrs(char uplo, int n, int nrhs, complex *a, complex *b, int ldb, int *info);

void cpptrs_64(char uplo, long n, long nrhs, complex *a, complex *b, long ldb, long *info);


PURPOSE

cpptrs solves a system of linear equations A*X = B with a Hermitian positive definite matrix A in packed storage using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF.


ARGUMENTS