SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] eigenvalues in LinearAlgebra

Chronological Thread 
  • From: David Weinstein <>
  • To: Chris Butson <>
  • Cc:
  • Subject: Re: [SCIRUN-USERS] eigenvalues in LinearAlgebra
  • Date: Thu, 12 Jan 2006 10:51:39 -0700

Hi Chris,

If you have SCIRun compiled with LAPACK, then you can get the eigenvalues / eigenvectors from any DenseMatrix:
        DenseMatrix *dm;
        ColumnMatrix *R, *I;
        DenseMatrix *Vecs;
        dm->eigenvectors(*R, *I, Vecs);
-- see SCIRun/src/Core/Datatypes/DenseMatrix.{cc,h} for details.

If you have a 3x3 Tensor, then there's an easier way:
        Tensor t;
        Vector v1=t->get_eigenvector1();
-- see SCIRun/src/Core/Geometry/Tensor.{cc,h} for details.


On Jan 12, 2006, at 9:02 AM, Chris Butson wrote:

Is anyone aware of a function that is available in LinearAlgebra (or any other scirun module except MatlabInterface) that will calculate the eigenvalues of a matrix?


====================================================================== =====
== The SCIRun Users mailing list: send email to ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see biopse_citation.bib ==
====================================================================== =====

== The SCIRun Users mailing list: send email to   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see         ==

Archive powered by MHonArc 2.6.16.

Top of page