GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TESTING/LIN/sget04.f(3) LAPACK TESTING/LIN/sget04.f(3)

TESTING/LIN/sget04.f


subroutine sget04 (n, nrhs, x, ldx, xact, ldxact, rcond, resid)
SGET04

SGET04

Purpose:


SGET04 computes the difference between a computed solution and the
true solution to a system of linear equations.
RESID = ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ),
where RCOND is the reciprocal of the condition number and EPS is the
machine epsilon.

Parameters

N


N is INTEGER
The number of rows of the matrices X and XACT. N >= 0.

NRHS


NRHS is INTEGER
The number of columns of the matrices X and XACT. NRHS >= 0.

X


X is REAL array, dimension (LDX,NRHS)
The computed solution vectors. Each vector is stored as a
column of the matrix X.

LDX


LDX is INTEGER
The leading dimension of the array X. LDX >= max(1,N).

XACT


XACT is REAL array, dimension( LDX, NRHS )
The exact solution vectors. Each vector is stored as a
column of the matrix XACT.

LDXACT


LDXACT is INTEGER
The leading dimension of the array XACT. LDXACT >= max(1,N).

RCOND


RCOND is REAL
The reciprocal of the condition number of the coefficient
matrix in the system of equations.

RESID


RESID is REAL
The maximum over the NRHS solution vectors of
( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS )

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line 101 of file sget04.f.

Generated automatically by Doxygen for LAPACK from the source code.

Sun Jan 12 2025 15:13:35 Version 3.12.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.