zgetrs man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

zgetrs(3P)		    Sun Performance Library		    zgetrs(3P)

NAME
       zgetrs  -  solve a system of linear equations  A * X = B, A**T * X = B,
       or A**H * X = B with a general N-by-N matrix A using the LU  factoriza‐
       tion computed by ZGETRF

SYNOPSIS
       SUBROUTINE ZGETRS(TRANSA, N, NRHS, A, LDA, IPIVOT, B, LDB, INFO)

       CHARACTER * 1 TRANSA
       DOUBLE COMPLEX A(LDA,*), B(LDB,*)
       INTEGER N, NRHS, LDA, LDB, INFO
       INTEGER IPIVOT(*)

       SUBROUTINE ZGETRS_64(TRANSA, N, NRHS, A, LDA, IPIVOT, B, LDB, INFO)

       CHARACTER * 1 TRANSA
       DOUBLE COMPLEX A(LDA,*), B(LDB,*)
       INTEGER*8 N, NRHS, LDA, LDB, INFO
       INTEGER*8 IPIVOT(*)

   F95 INTERFACE
       SUBROUTINE GETRS([TRANSA], [N], [NRHS], A, [LDA], IPIVOT, B, [LDB],
	      [INFO])

       CHARACTER(LEN=1) :: TRANSA
       COMPLEX(8), DIMENSION(:,:) :: A, B
       INTEGER :: N, NRHS, LDA, LDB, INFO
       INTEGER, DIMENSION(:) :: IPIVOT

       SUBROUTINE GETRS_64([TRANSA], [N], [NRHS], A, [LDA], IPIVOT, B, [LDB],
	      [INFO])

       CHARACTER(LEN=1) :: TRANSA
       COMPLEX(8), DIMENSION(:,:) :: A, B
       INTEGER(8) :: N, NRHS, LDA, LDB, INFO
       INTEGER(8), DIMENSION(:) :: IPIVOT

   C INTERFACE
       #include <sunperf.h>

       void  zgetrs(char  transa,  int n, int nrhs, doublecomplex *a, int lda,
		 int *ipivot, doublecomplex *b, int ldb, int *info);

       void zgetrs_64(char transa, long n, long nrhs, doublecomplex  *a,  long
		 lda, long *ipivot, doublecomplex *b, long ldb, long *info);

PURPOSE
       zgetrs solves a system of linear equations
	  A  *	X  = B,	 A**T * X = B,	or  A**H * X = B with a general N-by-N
       matrix A using the LU factorization computed by ZGETRF.

ARGUMENTS
       TRANSA (input)
		 Specifies the form of the system of equations:
		 = 'N':	 A * X = B     (No transpose)
		 = 'T':	 A**T * X = B  (Transpose)
		 = 'C':	 A**H * X = B  (Conjugate transpose)

		 TRANSA is defaulted to 'N' for F95 INTERFACE.

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

       NRHS (input)
		 The number of right hand sides, i.e., the number  of  columns
		 of the matrix B.  NRHS >= 0.

       A (input) The  factors L and U from the factorization A = P*L*U as com‐
		 puted by ZGETRF.

       LDA (input)
		 The leading dimension of the array A.	LDA >= max(1,N).

       IPIVOT (input)
		 The pivot indices from ZGETRF; for  1<=i<=N,  row  i  of  the
		 matrix was interchanged with row IPIVOT(i).

       B (input/output)
		 On  entry,  the right hand side matrix B.  On exit, the solu‐
		 tion matrix X.

       LDB (input)
		 The leading dimension of the array B.	LDB >= max(1,N).

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

				  6 Mar 2009			    zgetrs(3P)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net