toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN Cholesky.h


From: Tom Drummond
Subject: [Toon-members] TooN Cholesky.h
Date: Fri, 10 Apr 2009 00:20:48 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Tom Drummond <twd20>    09/04/10 00:20:48

Modified files:
        .              : Cholesky.h 

Log message:
        removed surplus #includes and made comment more meaningful

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/Cholesky.h?cvsroot=toon&r1=1.24&r2=1.25

Patches:
Index: Cholesky.h
===================================================================
RCS file: /cvsroot/toon/TooN/Cholesky.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- Cholesky.h  9 Apr 2009 06:03:04 -0000       1.24
+++ Cholesky.h  10 Apr 2009 00:20:47 -0000      1.25
@@ -20,11 +20,7 @@
 #ifndef CHOLESKY_H
 #define CHOLESKY_H
 
-// #include <TooN/lapack.h>
-
 #include <TooN/TooN.h>
-#include <TooN/helpers.h>
-#include <limits>
 
 #ifndef TOON_NO_NAMESPACE
 namespace TooN {
@@ -32,8 +28,10 @@
 
 
 
-       // Tom's attempt using the non-sqrt version of the decomposition
-       // symmetric M = L*D*L.T()
+/// Cholesky decomposition of a symmetric matrix.
+/// Only the lower half of the matrix is considered
+/// This uses the non-sqrt version of the decomposition
+/// giving symmetric M = L*D*L.T() where the diagonal of L contains ones
 template <int Size, class Precision=double>
 class Cholesky {
 public:




reply via email to

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