how to resolve linear equations of system

enjoywm at cs.wm.edu enjoywm at cs.wm.edu
Wed Jun 25 16:29:31 CDT 2008


Hi,
I have a linear equations of system such as Kx=u.
1. If K is singular, can I use KSPSolve to solve it?
2. If K is non-singular I also can use x= inverse(K)u to do it.
Which one is better?

Best,
Yixun




More information about the petsc-users mailing list