]> https://gitweb.dealii.org/ - dealii.git/commitdiff
minor extension of FullMatrix::cholesky documentation 4854/head
authorDenis Davydov <davydden@gmail.com>
Tue, 15 Aug 2017 06:47:10 +0000 (08:47 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 15 Aug 2017 06:55:00 +0000 (08:55 +0200)
include/deal.II/lac/full_matrix.h
tests/full_matrix/full_matrix_56.cc

index dec7308bd572499841ef2c53d898d7315084bab8..d185db1b1bb6c121a4e084a14074e2dd6b2d7498 100644 (file)
@@ -846,7 +846,8 @@ public:
   void invert (const FullMatrix<number2> &M);
 
   /**
-   * Assign the Cholesky decomposition of the given matrix to <tt>*this</tt>.
+   * Assign the Cholesky decomposition $A=:L L^T$ of the given matrix $A$ to <tt>*this</tt>,
+   * where $L$ is lower triangular matrix.
    * The given matrix must be symmetric positive definite.
    *
    * ExcMatrixNotPositiveDefinite will be thrown in the case that the matrix
index 153f483d8ab1d74464386501690aaac9c0202a94..46740e50c1dc651e00ef6e19a8690b97316ef825 100644 (file)
@@ -59,7 +59,7 @@ check ()
   Testing::srand(3391466);
 
   FullMatrix<double> T2(2,2,entries2), S2(2,2), R2(2,2);
-  FullMatrix<double>T3(3,3,entries3), S3(3,3), R3(3,3);
+  FullMatrix<double> 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;
 
 }
-
-
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.