[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN wls.h
From: |
Tom Drummond |
Subject: |
[Toon-members] TooN wls.h |
Date: |
Mon, 20 Apr 2009 18:14:34 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Tom Drummond <twd20> 09/04/20 18:14:34
Modified files:
. : wls.h
Log message:
bug fixes from moving to single template
now works with SQSVD
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/wls.h?cvsroot=toon&r1=1.14&r2=1.15
Patches:
Index: wls.h
===================================================================
RCS file: /cvsroot/toon/TooN/wls.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- wls.h 17 Apr 2009 03:45:48 -0000 1.14
+++ wls.h 20 Apr 2009 18:14:34 -0000 1.15
@@ -44,7 +44,7 @@
/// @param Decomposition The class used to invert the inverse Covariance
matrix (must have two size and one precision template arguments)
/// @ingroup gEquations
template <int Size=Dynamic, class Precision=double,
- template<int Rows, int Cols, class Precision> class
Decomposition = Cholesky>
+ template<int Size, class Precision> class Decomposition =
Cholesky>
class WLS {
public:
@@ -53,7 +53,7 @@
my_C_inv(size,size),
my_vector(size),
my_decomposition(size),
- my_my(size)
+ my_mu(size)
{
clear();
}
@@ -142,8 +142,8 @@
const Vector<Size,Precision>& get_mu() const {return my_mu;}
Vector<Size,Precision>& get_vector(){return my_vector;}
const Vector<Size,Precision>& get_vector() const {return my_vector;}
- Decomposition<Size,Size,Precision>& get_decomposition(){return
my_decomposition;}
- const Decomposition<Size,Size,Precision>& get_decomposition() const
{return my_decomposition;}
+ Decomposition<Size,Precision>& get_decomposition(){return
my_decomposition;}
+ const Decomposition<Size,Precision>& get_decomposition() const {return
my_decomposition;}
private: