丁老师: > Dear friends: > I want to diagonalize matrix D: > D=PAP^(-1). > where A is the diagonal matrix , P is the transformation matrix. > Does Petsc has this routine to perform this task. >
This is an eigenvalu/singular value decomposition of D. For dense D, you can use Elemental, for sparse D, use Slepc. Hong > > > > > > > > > > > > > > > > > >
