chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.76k stars 414 forks source link

Onenormest method should support matrices with eltType=complex #18158

Open prashanth018 opened 2 years ago

prashanth018 commented 2 years ago

Summary of Problem

onenormest method should support matrices with eltType=complex. Currently, we are using the norm method for all such matrices. The fix has to be simple and it has to do with columnResample method which in turn uses the fillRandom method of Random module which only returns matrices of eltType=real. There will be a little bit of experimentation involved, as to, will there be branching in the algorithm to handle complex type?

e-kayrakli commented 2 years ago

For context, this is about the LinearAlgebra module. And the function in question will be added by https://github.com/chapel-lang/chapel/pull/18149/