Create space (sequence of Vecs) and Use setInitialSpace when computing SVD
Issue #6
resolved
Hello,
I want to reuse the Krylov spaces when computing SVDs for a sequence of target k's. Is there a example showing how to generate a sequence of Vecs in slepc4py? I know you can use VecDuplicateVecs in PETSc and then copy the right singular vectors one by one. But it is confusing how to do this in slepc4py. Thanks a lot!
Regards, Yunlong
Comments (2)
-
-
reporter - changed status to resolved
- Log in to comment
You can try this: