Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cstsv(3P) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

cstsv(3P)

NAME

cstsv - compute the solution to a complex system of linear equations A ∗ X = B where A is a Hermitian tridiagonal matrix

SYNOPSIS

SUBROUTINE CSTSV( N, L, D, SUBL, IPIV, INFO )

INTEGER INFO, N

REAL D( ∗ )

COMPLEX L( ∗ ), SUBL( ∗ )

 

#include <sunperf.h>

void cstsv(int n, complex ∗l, float ∗d, complex ∗subl, int ∗info) ;

PURPOSE

CSTSV computes the solution to a complex system of linear equations A ∗ X = B where A is a Hermitian tridiagonal matrix. 
 

ARGUMENTS

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

L (input/output) COMPLEX array, dimension (N)
On entry, the n-1 subdiagonal elements of the tridiagonal matrix A.  On exit, part of the factorization of A.

D (input/output) REAL array, dimension (N)
On entry, the n diagonal elements of the tridiagonal matrix A.  On exit, the n diagonal elements of the diagonal matrix D from the factorization of A.

SUBL (output) COMPLEX array, dimension (N)
On exit, part of the factorization of A.

IPIV (output) INTEGER array, dimension (N)
On exit, the pivot indices of the factorization.

INFO (output) INTEGER
= 0:  successful exit
< 0:  if INFO = -i, the i-th argument had an illegal value
> 0:  if INFO = i, D(k,k) is exactly zero.  The factorization has been completed, but the block diagonal matrix D is exactly singular and division by zero will occur if it is used to solve a system of equations.

SunOS 5.0  —  Last change: 10 Dec 1998

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026