LLNL / libROM

Model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
198 stars 36 forks source link

Fix for `test_RandomizedSVD` #211

Closed dreamer2368 closed 1 year ago

dreamer2368 commented 1 year ago

This PR resolves the issue #193 .

If d_debug_algorithm is true, then RandomizedSVD sets rand_mat to be identity matrix. This resolves the rank deficiency of the projected matrix rand_proj. Test answers are updated accordingly, verified separately from matlab.