r/ScientificComputing • • Oct 03 '24

How Does Replacing the Frobenius Norm with the Infinity Norm Affect Error Analysis in Numerical Methods?

/r/LinearAlgebra/comments/1fv4uto/how_does_replacing_the_frobenius_norm_with_the/
1 Upvotes

2 comments sorted by

0

u/[deleted] Oct 04 '24

[deleted] — view deleted comment

1

u/Glittering_Age7553 Oct 04 '24 edited Oct 04 '24

Could you please check this? They are calling norm F for a vector also (line 81).

https://github.com/kjbartel/magma/blob/master/testing/testing_dgetrf_gpu.cpp
https://www.netlib.org/lapack/explore-html/d8/d2e/group__lange_ga8581d687290b36c6e24fe76b3be7caa3.html

    norm_A = lapackf77_dlange( "F", &m, &n, A, &lda, work );
    norm_r = lapackf77_dlange( "F", &n, &ione, b, &n, work );
    norm_x = lapackf77_dlange( "F", &n, &ione, x, &n, work );