next up previous contents
Next: Compilation and Linkage. Up: LAPACK and BLAS. Previous: Factorization   Contents

Substitution.

The single precision LAPACK substitution function is sgetrs (single precision, general matrix, triangular substitution).

It is called by


The arguments are
Trans
(input) means no transpose (solve for ); means transpose (solve for );
n
(input) Number of equations;
nrhs
(input) Number of right hand sides;
A
(input) The the L and U factors of matrix A as given by sgetrf;
lda
(input) leading dimension of matrix A.
Ipiv
(input) n-dimensional integer vector of permutations, as given by sgetrf;
b
(input) the right hand side vector; and (output) the solution . For multiple right hand sides b is a matrix.
ldb
(input) leading dimension of vector b.
Info
(output) the status of factorization. 0=success, means singularity - , means incorrect -th argument.



Adrian Sandu 2001-08-26