SGET10
   Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
November 2006
November 2006
Purpose
SGET10 compares two matrices A and B and computes the ratio
RESULT = norm( A - B ) / ( norm(A) * M * EPS )
RESULT = norm( A - B ) / ( norm(A) * M * EPS )
Arguments
| M | 
 
(input) INTEGER
 
The number of rows of the matrices A and B. 
 | 
| N | 
 
(input) INTEGER
 
The number of columns of the matrices A and B. 
 | 
| A | 
 
(input) REAL array, dimension (LDA,N)
 
The m by n matrix A. 
 | 
| LDA | 
 
(input) INTEGER
 
The leading dimension of the array A.  LDA >= max(1,M). 
 | 
| B | 
 
(input) REAL array, dimension (LDB,N)
 
The m by n matrix B. 
 | 
| LDB | 
 
(input) INTEGER
 
The leading dimension of the array B.  LDB >= max(1,M). 
 | 
| WORK | 
 
(workspace) REAL array, dimension (M)
 
 | 
| RESULT | 
 
(output) REAL
 
RESULT = norm( A - B ) / ( norm(A) * M * EPS ) 
 |