# Finding eigenvalues and Eigenvectors of a complex matrix

**URL:** <https://root-forum.cern.ch/t/finding-eigenvalues-and-eigenvectors-of-a-complex-matrix/18646>\
**Category:** Roofit and RooStats\
**Created:** [January 4, 2015, 1:07am UTC](https://root-forum.cern.ch/t/finding-eigenvalues-and-eigenvectors-of-a-complex-matrix/18646 "2015-01-04T01:07:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagalan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@jagalan](https://root-forum.cern.ch/u/jagalan)\
**Post date:** [January 4, 2015, 1:07am UTC](https://root-forum.cern.ch/t/finding-eigenvalues-and-eigenvectors-of-a-complex-matrix/18646/1 "2015-01-04T01:07:22Z")

</div>

Hi,

I previously used TMatrixDEigen to obtain eigen-values and vectors of a real matrix.

The class accepts only real matrices, there is a similar class that accepts complex numbers?

Best regards,  
Javier

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [January 5, 2015, 2:31pm UTC](https://root-forum.cern.ch/t/finding-eigenvalues-and-eigenvectors-of-a-complex-matrix/18646/2 "2015-01-05T14:31:27Z")

</div>

Hi,

We don;t have support for complex matrix directly in ROOT, but you can use the GNU Scientific Library, for this.  
See [gnu.org/software/gsl/manual/ … gensystems](http://www.gnu.org/software/gsl/manual/html_node/Eigensystems.html#Eigensystems)

Best Regards

Lorenzo
