From: bangerth Date: Wed, 27 Sep 2006 02:22:00 +0000 (+0000) Subject: Minor doc updates X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d3a8e13e571b12ab90f11101991ca66178dce7d;p=dealii-svn.git Minor doc updates git-svn-id: https://svn.dealii.org/trunk@13966 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/lapack_full_matrix.h b/deal.II/lac/include/lac/lapack_full_matrix.h index 4eb12002b2..945fe88b71 100644 --- a/deal.II/lac/include/lac/lapack_full_matrix.h +++ b/deal.II/lac/include/lac/lapack_full_matrix.h @@ -222,6 +222,25 @@ class LAPACKFullMatrix : public TransposeTable * to compute left and right * eigenvectors as well. * + * Note that the function does + * not return the computed + * eigenvalues right away since + * that involves copying data + * around between the output + * arrays of the LAPACK functions + * and any return array. This is + * often unnecessary since one + * may not be interested in all + * eigenvalues at once, but for + * example only the extreme + * ones. In that case, it is + * cheaper to just have this + * function compute the + * eigenvalues and have a + * separate function that returns + * whatever eigenvalue is + * requested. + * * @note Calls the LAPACK * function Xgeev. */ @@ -234,7 +253,7 @@ class LAPACKFullMatrix : public TransposeTable * called. */ std::complex - eigenvalue (unsigned int i) const; + eigenvalue (const unsigned int i) const; /** * Print the matrix and allow @@ -382,7 +401,7 @@ LAPACKFullMatrix::fill ( template std::complex -LAPACKFullMatrix::eigenvalue (unsigned int i) const +LAPACKFullMatrix::eigenvalue (const unsigned int i) const { Assert (state & LAPACKSupport::eigenvalues, ExcInvalidState()); Assert (wr.size() == this->n_rows(), ExcInternalError());