[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] question about gsl_eigen_symm

From: Wu Degang
Subject: [Help-gsl] question about gsl_eigen_symm
Date: Thu, 01 Mar 2012 15:56:52 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2


The manual says that, in the computation of the function " int gsl_eigen_symm (gsl matrix * A, gsl vector * eval, gsl_eigen_symm_workspace * w)", "The diagonal and lower triangular part of A are destroyed during the computation, but the strict upper triangular part is not referenced".

Suppose I use gsl_eigen_symm to compute the eigenvalues, and then I want to modify (gsl matrix*)A and compute the eigenvalues again. After the 1st calculation, do I have to use gsl_matrix_alloc for the matrix A again before I do the 2nd calculation?

-- Wu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]