ZGET10
Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
November 2006
November 2006
Purpose
ZGET10 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) COMPLEX*16 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) COMPLEX*16 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) COMPLEX*16 array, dimension (M)
|
RWORK |
(workspace) COMPLEX*16 array, dimension (M)
|
RESULT |
(output) DOUBLE PRECISION
RESULT = norm( A - B ) / ( norm(A) * M * EPS )
|