LAPACK
3.6.1
LAPACK: Linear Algebra PACKage
|
subroutine sptt01 | ( | integer | N, |
real, dimension( * ) | D, | ||
real, dimension( * ) | E, | ||
real, dimension( * ) | DF, | ||
real, dimension( * ) | EF, | ||
real, dimension( * ) | WORK, | ||
real | RESID | ||
) |
SPTT01
SPTT01 reconstructs a tridiagonal matrix A from its L*D*L' factorization and computes the residual norm(L*D*L' - A) / ( n * norm(A) * EPS ), where EPS is the machine epsilon.
[in] | N | N is INTEGTER The order of the matrix A. |
[in] | D | D is REAL array, dimension (N) The n diagonal elements of the tridiagonal matrix A. |
[in] | E | E is REAL array, dimension (N-1) The (n-1) subdiagonal elements of the tridiagonal matrix A. |
[in] | DF | DF is REAL array, dimension (N) The n diagonal elements of the factor L from the L*D*L' factorization of A. |
[in] | EF | EF is REAL array, dimension (N-1) The (n-1) subdiagonal elements of the factor L from the L*D*L' factorization of A. |
[out] | WORK | WORK is REAL array, dimension (2*N) |
[out] | RESID | RESID is REAL norm(L*D*L' - A) / (n * norm(A) * EPS) |
Definition at line 93 of file sptt01.f.