Re: [petsc-users] Does Petsc support matrix diagonalization

2016-09-19 Thread Hong
丁老师:

> 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

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


Re: [petsc-users] Does Petsc support matrix diagonalization

2016-09-19 Thread Matthew Knepley
On Mon, Sep 19, 2016 at 7:15 AM, 丁老师  wrote:

> 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.
>

No, you should check out

  http://slepc.upv.es/

  Thanks,

 Matt


> Regards
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener


[petsc-users] Does Petsc support matrix diagonalization

2016-09-19 Thread 丁老师
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.
Regards