From cd948bbd3650cf56fba8974464d974dc8ace9b97 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 15 Aug 2017 08:47:10 +0200 Subject: [PATCH] minor extension of FullMatrix::cholesky documentation --- include/deal.II/lac/full_matrix.h | 3 ++- tests/full_matrix/full_matrix_56.cc | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/deal.II/lac/full_matrix.h b/include/deal.II/lac/full_matrix.h index dec7308bd5..d185db1b1b 100644 --- a/include/deal.II/lac/full_matrix.h +++ b/include/deal.II/lac/full_matrix.h @@ -846,7 +846,8 @@ public: void invert (const FullMatrix &M); /** - * Assign the Cholesky decomposition of the given matrix to *this. + * Assign the Cholesky decomposition $A=:L L^T$ of the given matrix $A$ to *this, + * where $L$ is lower triangular matrix. * The given matrix must be symmetric positive definite. * * ExcMatrixNotPositiveDefinite will be thrown in the case that the matrix diff --git a/tests/full_matrix/full_matrix_56.cc b/tests/full_matrix/full_matrix_56.cc index 153f483d8a..46740e50c1 100644 --- a/tests/full_matrix/full_matrix_56.cc +++ b/tests/full_matrix/full_matrix_56.cc @@ -59,7 +59,7 @@ check () Testing::srand(3391466); FullMatrix T2(2,2,entries2), S2(2,2), R2(2,2); - FullMatrixT3(3,3,entries3), S3(3,3), R3(3,3); + FullMatrix T3(3,3,entries3), S3(3,3), R3(3,3); // These results for T2, T3, T5 were compared // against Matlab. @@ -172,6 +172,3 @@ check () deallog << std::endl; } - - - -- 2.39.5