Index: /m/estim/Makefile
===================================================================
--- /bdm/estim/Makefile (revision 18)
+++  (revision )
@@ -1,4 +1,0 @@
-all: libKF.o libPF.o
-
-clean:
-	$(RM) *.o
Index: /m/design/Makefile
===================================================================
--- /bdm/design/Makefile (revision 18)
+++  (revision )
@@ -1,4 +1,0 @@
-all:
-
-clean:
-	$(RM) *.o
Index: /bdm/math/libDC.h
===================================================================
--- /bdm/math/libDC.h (revision 14)
+++ /bdm/math/libDC.h (revision 19)
@@ -114,4 +114,6 @@
 	//! Construct by decomposition of full matrix V.
 	ldmat( mat V );
+	//! Construct diagonal matrix with diagonal D0
+	ldmat( vec D0 );
 	ldmat ();
 
@@ -170,6 +172,6 @@
 inline ldmat& ldmat::operator += (const ldmat &ldA)  {this->add(ldA);return *this;}
 inline ldmat& ldmat::operator -= (const ldmat &ldA)  {this->add(ldA,-1.0);return *this;}
-inline int ldmat::cols(){return L.cols();}
-inline int ldmat::rows(){return L.rows();}
+inline int ldmat::cols(){return dim;}
+inline int ldmat::rows(){return dim;}
 
 #endif // DC_H
Index: /bdm/math/libDC.cpp
===================================================================
--- /bdm/math/libDC.cpp (revision 18)
+++ /bdm/math/libDC.cpp (revision 19)
@@ -22,7 +22,11 @@
 
 ldmat::ldmat() {
-	vec D ;
-	mat L;
 	dim = 0;
+}
+
+ldmat::ldmat(const vec D0) {
+	D = D0;
+	dim = D0.length();
+	L = eye(dim);
 }
 
@@ -65,4 +69,5 @@
 	os << "L:" << ld.L << endl;
 	os << "D:" << ld.D << endl;
+	return os;
 }
 
@@ -165,4 +170,5 @@
 // sum logarithms of diagobal elements
 	for ( i=0; i<D.length(); i++ ){ldet+=log( D( i ) );};
+	return ldet;
 }
 
@@ -182,4 +188,5 @@
 	int i;
 	for ( i=0;i<D.length();i++ ){D( i )*=x;};
+	return *this;
 }
 
@@ -187,5 +194,5 @@
 	int i,j;
 	vec res( dim );
-	double sum;
+	//double sum;
 	for ( i=0;i<dim;i++ ) {//for each element of result
 		res( i ) = 0.0;
@@ -194,6 +201,6 @@
 		}
 	}
-	vec res2 = L.transpose()*diag( sqrt( D ) )*x;
-	return res2;
+//	vec res2 = L.transpose()*diag( sqrt( D ) )*x;
+	return res;
 }
 
Index: /m/math/Makefile
===================================================================
--- /bdm/math/Makefile (revision 18)
+++  (revision )
@@ -1,4 +1,0 @@
-all: libDC.o
-
-clean:
-	$(RM) *.o
Index: /bdm/stat/libFN.h
===================================================================
--- /bdm/stat/libFN.h (revision 15)
+++ /bdm/stat/libFN.h (revision 19)
@@ -2,5 +2,5 @@
 // C++ Interface: itpp_ext
 //
-// Description: 
+// Description:
 //
 //
@@ -14,14 +14,60 @@
 
 using namespace itpp;
- 
-class constfn : public fnc {
-	RV rv;
-	ivec indexlist; // needed by evalsome
-	vec val;
 
-public:
-	vec eval() {return val;};
-	vec eval(vec &cond) {return val;};
-	
-	vec evalsome(ivec &rvind);
-}
+//! class representing function $f(x) = a$, here rv is empty
+class constfn : public fnc
+{
+		RV rv;
+		vec val;
+
+	public:
+		vec eval() {return val;};
+		vec eval ( vec &cond ) {return val;};
+		//!Default constructor
+		constfn ( const vec &val0 ) :rv(),val ( val0 ) {};
+};
+
+//! Class representing function $f(x) = Ax+B$
+class linfn: public fnc
+{
+		RV rv;
+		ivec indexlist; // needed by evalsome
+		mat A;
+		vec B;
+	public :
+		vec eval ( vec &cond ) {it_assert_debug ( cond.length() ==rv.count(), "linfn::eval Wrong cond." );return A*cond+B;};
+
+		linfn evalsome ( ivec &rvind );
+		linfn ( const RV &rv0 ) :rv ( rv0 ),A ( eye ( rv0.count() ) ),B ( zeros ( rv0.count() ) ) { indexlist=rv.indexlist();};
+		linfn ( const RV &rv0, const mat &A0 ) : rv ( rv0 ), A ( A0 ), B ( zeros ( rv0.count() ) ) { indexlist=rv.indexlist();};
+		linfn ( const RV &rv0, const mat &A0, const vec &B0 ) :rv ( rv0 ), A ( A0 ), B ( B0 ) { indexlist=rv.indexlist();};
+};
+
+//! Class representing function $f(x,u) = Ax+Bu$
+class bilinfn: public fnc
+{
+		RV rv;
+		ivec indexlist; // needed by evalsome
+		mat A;
+		mat B;
+	public :
+		vec eval ( vec &cond )
+		{
+			it_assert_debug ( cond.length() ==rv.count(), "linfn::eval Wrong cond." );
+			int sizex = A.cols();
+			return A*cond(0,sizex-1)+B*cond(sizex,-1);//-1 = end (in matlab)
+		};
+		vec eval ( vec &xcond, vec &ucond )
+		{
+			it_assert_debug ( xcond.length() ==rv.count(), "linfn::eval Wrong cond." );
+			return A*xcond+B*ucond;
+		};
+
+		bilinfn evalsome ( ivec &rvind );
+		bilinfn ( const RV &x0, const RV &u0 ) :A ( eye ( x0.count() ) ),B ( zeros ( x0.count(),u0.count() ) )
+		{
+			rv=x0; rv.add ( u0 );
+			indexlist=rv.indexlist();
+		};
+		bilinfn ( const RV &x0, const RV &u0, const mat &A0, const mat &B0 );
+};
Index: /bdm/stat/libDS.h
===================================================================
--- /bdm/stat/libDS.h (revision 18)
+++ /bdm/stat/libDS.h (revision 19)
@@ -15,5 +15,5 @@
 
 #include <itpp/itbase.h>
-//#include <std>
+#include "libBM.h"
 
 using namespace itpp;
@@ -38,5 +38,7 @@
 	void write(vec &ut){it_error("MemDS::write is not supported");}
 	void write(vec &ut,ivec &indexes){it_error("MemDS::write is not supported");}
-}
+	void step();
+	MemDS(mat &Dat, ivec &rowid, ivec &delays);
+};
 
 
Index: /bdm/stat/libBM.cpp
===================================================================
--- /bdm/stat/libBM.cpp (revision 15)
+++ /bdm/stat/libBM.cpp (revision 19)
@@ -68,2 +68,10 @@
 }
 
+ivec RV::indexlist(){
+	ivec indlist(size);
+	int i;
+	int pos = 0;
+	for(i=0;i<len;i++){
+		indlist.set_subvector(pos,pos+sizes(i)-1, ids(i));
+	}
+}
Index: /bdm/stat/libBM.h
===================================================================
--- /bdm/stat/libBM.h (revision 18)
+++ /bdm/stat/libBM.h (revision 19)
@@ -25,5 +25,8 @@
 */
 class RV {
-	int size,len;
+	//! size = sum of sizes
+	int size;
+	//! len = number of individual rvs
+	int len;
 	ivec ids;
 	ivec sizes;
@@ -46,5 +49,5 @@
 
 	//! Return length (number of scalars) of the RV.
-	int count() {return size;}
+	int count() const {return size;} ;
 	//TODO why not inline and later??
 	
@@ -61,4 +64,6 @@
 	//! Generate new \c RV with \c time shifted by delta.
 	void t(int delta);
+	//! generate a list of indeces, i.e. which 
+	ivec indexlist();
 };
 
@@ -66,7 +71,10 @@
 
 
-//! Class representing function of variables
+//! Class representing function $f(x)$ of variable $x$ represented by \c rv
 class fnc {
 	RV rv;
+public: 
+	//! function evaluates numerical value of $f(x)$ at $x=cond$
+	virtual vec eval(vec &cond){}; //Fixme: virtual?
 };
 
@@ -93,5 +101,5 @@
 //	virtual vec moment ( const int order = 1 );
 	//! Returns a sample from the density, $x \sim epdf(rv)$
-	virtual vec sample (){};
+	virtual vec sample ()=0;
 	virtual double eval(const vec &val){};
 };
@@ -119,4 +127,5 @@
 */
 class DS {
+protected:
 	//!Observed variables, returned by \c getdata().
 	RV Drv; 
Index: /bdm/stat/libFN.cpp
===================================================================
--- /bdm/stat/libFN.cpp (revision 14)
+++ /bdm/stat/libFN.cpp (revision 19)
@@ -2,13 +2,20 @@
 #include "libFN.h"
 
-using namespace itpp;
-
 using std::endl;
 
-constfn::constfn(RV rv){
-
+linfn linfn::evalsome ( ivec &rvind )
+{
+	return *this;
 }
 
-vec constfn::evalsome(ivec rvind){
-	
-}
+bilinfn::bilinfn ( const RV &x0, const RV &u0, const mat &A0, const mat &B0 )
+{
+	it_assert_debug ( A0.cols() ==A0.rows() ==x0.count(), "linfn:: wrong A" );
+	it_assert_debug ( ( B0.rows() ==x0.count() ) & ( B0.cols() ==u0.count() ), "linfn:: wrong B" );
+
+	A = A0;
+	B = B0;
+	rv=x0; rv.add ( u0 );
+	indexlist=rv.indexlist();
+};
+
Index: /bdm/stat/libDS.cpp
===================================================================
--- /bdm/stat/libDS.cpp (revision 18)
+++ /bdm/stat/libDS.cpp (revision 19)
@@ -2,7 +2,9 @@
 #include "libDS.h"
 
-using namespace itpp;
+//using namespace itpp;
 
 void MemDS::getdata(vec &dt){
+	int i;
+	
 	it_assert_debug(dt.length()==rowid.length(), "MemDS:getdata incompatible dt");
 	for(i=0;i<rowid.length();i++){
@@ -12,5 +14,5 @@
 
 void MemDS::getdata(vec &dt,ivec &indeces){
-	int j;
+	int j,i;
 	it_assert_debug(dt.length()==indeces.length(), "MemDS:getdata incompatible dt");
 	for(i=0;i<indeces.length();i++){
@@ -32,9 +34,9 @@
 }
 
-MemDS::MemDS(vec &Dat, ivec &rowid, ivec &delays){
-	it_assert_debug(max(rowid)<=Dat.rows,"MemDS rowid is too high for given Dat.")
-	it_assert_debug(max(delays)<Dat.cols,"MemDS delays are too high.")
+MemDS::MemDS(mat &Dat, ivec &rowid, ivec &delays){
+	it_assert_debug(max(rowid)<=Dat.rows(),"MemDS rowid is too high for given Dat.");
+	it_assert_debug(max(delays)<Dat.cols(),"MemDS delays are too high.");
 	
-	time = max(delayes); 
+	time = max(delays); 
 	Data = Dat;
 }
Index: /m/stat/Makefile
===================================================================
--- /bdm/stat/Makefile (revision 18)
+++  (revision )
@@ -1,5 +1,0 @@
-
-all: libBM.o libEF.o
-
-clean:
-	$(RM) *.o
Index: /bdm/CMakeLists.txt
===================================================================
--- /bdm/CMakeLists.txt (revision 19)
+++ /bdm/CMakeLists.txt (revision 19)
@@ -0,0 +1,9 @@
+# Create a library called "Hello" which includes the source file "hello.cxx".
+# The extension is already found.  Any number of sources could be listed here
+
+add_library (bdm itpp_ext.cpp math/libDC.cpp stat/libBM stat/libEF stat/libDS  stat/libFN estim/libKF estim/libPF)
+
+add_subdirectory (stat)
+add_subdirectory (math)
+add_subdirectory (estim)
+
Index: /m/Makefile
===================================================================
--- /bdm/Makefile (revision 18)
+++  (revision )
@@ -1,17 +1,0 @@
-all: subsystem libbdm.a
-
-subsystem:
-	$(MAKE) -C stat
-	$(MAKE) -C estim
-	$(MAKE) -C design
-	$(MAKE) -C math
-
-clean:
-	$(RM) *.o *.a
-	cd stat && $(MAKE) clean
-	cd estim && $(MAKE) clean
-#	cd design && $(MAKE) clean
-	cd math && $(MAKE) clean
-
-libbdm.a: itpp_ext.o subsystem
-	$(AR) rvus $@ ./stat/*.o ./estim/*.o  ./math/*.o itpp_ext.o
Index: /tests/testKF.cpp
===================================================================
--- /tests/testKF.cpp (revision 18)
+++ /tests/testKF.cpp (revision 19)
@@ -9,4 +9,5 @@
 
 int main() {
+
 
 	// Klaman filter
@@ -41,5 +42,5 @@
 	Xt2=zeros( 2,Ndat );
 
-	Kalman<ldmat> KF( A,B,C,D,ldmat(R),ldmat(Q),ldmat(P0),mu0 );
+	Kalman<ldmat> KF( A,B,C,D,ldmat(diag(R)),ldmat(diag(Q)),ldmat(diag(P0)),mu0 );
 //	cout << KF;
 	KalmanFull KF2( A,B,C,D,R,Q,P0,mu0 );
Index: /tests/testPF.cpp
===================================================================
--- /tests/testPF.cpp (revision 14)
+++ /tests/testPF.cpp (revision 19)
@@ -1,6 +1,6 @@
 #include <itpp/itbase.h>
-#include "libPF.h"
-#include "libDC.h"
-#include "libEF.h"
+#include <estim/libPF.h>
+#include <math/libDC.h>
+#include <stat/libEF.h>
 
 using namespace itpp;
@@ -17,5 +17,6 @@
 	
 	mat A = "1";
-	ldmat R("1");
+	vec vR = "1";
+	ldmat R(vR);
 	
 	
Index: /tests/CMakeLists.txt
===================================================================
--- /tests/CMakeLists.txt (revision 19)
+++ /tests/CMakeLists.txt (revision 19)
@@ -0,0 +1,16 @@
+# Make sure the compiler can find include files from our Hello library.
+include_directories (${BDM_SOURCE_DIR}/bdm)
+
+# Make sure the linker can find the Hello library once it is built.
+link_directories (${BDM_BINARY_DIR}/bdm)
+
+# Add executable called "helloDemo" that is built from the source files
+# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
+add_executable (test0 test0.cpp)
+add_executable (testKF testKF.cpp)
+add_executable (testPF testPF.cpp)
+
+# Link the executable to the Hello library.
+target_link_libraries (test0 bdm itpp)
+target_link_libraries (testKF bdm itpp)
+target_link_libraries (testPF bdm itpp)
Index: /sts/Makefile
===================================================================
--- /tests/Makefile (revision 18)
+++  (revision )
@@ -1,19 +1,0 @@
-LDFLAGS += -L../bdm
-LDLIBS += -lbdm
-
-all: subsystem test0 testKF testSL
-	echo $(CPPFLAGS)
-
-subsystem:
-	$(MAKE) -C ../bdm
-
-test0: test0.o
-
-testKF: testKF.o
-
-testSL: testSL.o
-
-clean:
-	$(RM) test0
-	$(RM) testKF
-	$(RM) *.o
Index: /Doxyfile
===================================================================
--- /Doxyfile (revision 3)
+++ /Doxyfile (revision 19)
@@ -256,10 +256,10 @@
 CLASS_DIAGRAMS         = YES
 HIDE_UNDOC_RELATIONS   = YES
-HAVE_DOT               = NO
+HAVE_DOT               = YES
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
 GROUP_GRAPHS           = YES
 UML_LOOK               = NO
-TEMPLATE_RELATIONS     = NO
+TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
 INCLUDED_BY_GRAPH      = YES
Index: /BDM.kdevelop.filelist
===================================================================
--- /BDM.kdevelop.filelist (revision 19)
+++ /BDM.kdevelop.filelist (revision 19)
@@ -0,0 +1,22 @@
+CMakeLists.txt
+bdm/CMakeLists.txt
+bdm/estim/libKF.cpp
+bdm/estim/libKF.h
+bdm/estim/libPF.cpp
+bdm/estim/libPF.h
+bdm/itpp_ext.cpp
+bdm/itpp_ext.h
+bdm/math/libDC.cpp
+bdm/math/libDC.h
+bdm/stat/libBM.cpp
+bdm/stat/libBM.h
+bdm/stat/libDS.cpp
+bdm/stat/libDS.h
+bdm/stat/libEF.cpp
+bdm/stat/libEF.h
+bdm/stat/libFN.cpp
+bdm/stat/libFN.h
+tests/CMakeLists.txt
+tests/test0.cpp
+tests/testKF.cpp
+tests/testPF.cpp
Index: /doc/html/classBM-members.html
===================================================================
--- /doc/html/classBM-members.html (revision 8)
+++ /doc/html/classBM-members.html (revision 19)
@@ -24,5 +24,5 @@
   <tr class="memlist"><td><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">bayes</a>(mat Dt)</td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classKalmanFull.html
===================================================================
--- /doc/html/classKalmanFull.html (revision 8)
+++ /doc/html/classKalmanFull.html (revision 19)
@@ -28,10 +28,15 @@
 Inheritance diagram for KalmanFull:</div>
 <div class="dynsection">
-
-<p><center><img src="classKalmanFull.png" usemap="#KalmanFull_map" border="0" alt=""></center>
-<map name="KalmanFull_map">
-<area href="classBM.html" alt="BM" shape="rect" coords="0,0,74,24">
-</map>
-</div>
+<p><center><img src="classKalmanFull__inherit__graph.png" border="0" usemap="#KalmanFull__inherit__map" alt="Inheritance graph"></center>
+<map name="KalmanFull__inherit__map">
+<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="29,7,72,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for KalmanFull:</div>
+<div class="dynsection">
+<p><center><img src="classKalmanFull__coll__graph.png" border="0" usemap="#KalmanFull__coll__map" alt="Collaboration graph"></center>
+<map name="KalmanFull__coll__map">
+<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="29,7,72,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -63,6 +68,6 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 Basic <a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> filter with full matrices (education purpose only)! Will be deleted soon! <hr>The documentation for this class was generated from the following files:<ul>
-<li>work/mixpp/<a class="el" href="libKF_8h-source.html">libKF.h</a><li>work/mixpp/libKF.cpp</ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a><li>work/mixpp/bdm/estim/libKF.cpp</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:46 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libDC_8h.html
===================================================================
--- /doc/html/libDC_8h.html (revision 8)
+++ /doc/html/libDC_8h.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libDC.h File Reference</title>
+<title>mixpp: work/mixpp/bdm/math/libDC.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,7 +13,25 @@
   </ul>
 </div>
-<h1>work/mixpp/libDC.h File Reference</h1>Matrices in decomposed forms (LDL', LU, UDU', etc). <a href="#_details">More...</a>
+<h1>work/mixpp/bdm/math/libDC.h File Reference</h1>Matrices in decomposed forms (LDL', LU, UDU', etc). <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
+
+<p>
+<div class="dynheader">
+Include dependency graph for libDC.h:</div>
+<div class="dynsection">
+<p><center><img src="libDC_8h__incl.png" border="0" usemap="#work/mixpp/bdm/math/libDC.h_map" alt=""></center>
+<map name="work/mixpp/bdm/math/libDC.h_map">
+<area shape="rect" title="Matrices in decomposed forms (LDL&#39;, LU, UDU&#39;, etc)." alt="" coords="65,84,164,111"></map>
+</div>
+
+<p>
+<div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dynsection">
+<p><center><img src="libDC_8h__dep__incl.png" border="0" usemap="#work/mixpp/bdm/math/libDC.hdep_map" alt=""></center>
+<map name="work/mixpp/bdm/math/libDC.hdep_map">
+<area shape="rect" href="libKF_8h.html" title="Matrices in decomposed forms (LDL&#39;, LU, UDU&#39;, etc)." alt="" coords="5,84,219,111"><area shape="rect" href="libPF_8h.html" title="Matrices in decomposed forms (LDL&#39;, LU, UDU&#39;, etc)." alt="" coords="243,84,456,111"><area shape="rect" href="libEF_8h.html" title="Matrices in decomposed forms (LDL&#39;, LU, UDU&#39;, etc)." alt="" coords="480,84,683,111"></map>
+</div>
 
 <p>
@@ -35,5 +53,5 @@
 <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl>
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
-Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classTrivialPF-members.html
===================================================================
--- /doc/html/classTrivialPF-members.html (revision 8)
+++ /doc/html/classTrivialPF-members.html (revision 19)
@@ -22,12 +22,14 @@
 <h1>TrivialPF Member List</h1>This is the complete list of members for <a class="el" href="classTrivialPF.html">TrivialPF</a>, including all inherited members.<p><table>
   <tr class="memlist"><td><a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">bayes</a>(const vec &amp;dt, bool evalll)</td><td><a class="el" href="classTrivialPF.html">TrivialPF</a></td><td><code> [virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">PF::bayes</a>(mat Dt)</td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM::bayes</a>(mat Dt)</td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>n</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>PF</b>(vec w) (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">resample</a>(RESAMPLING_METHOD method=SYSTEMATIC)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>TrivialPF</b>(mpdf &amp;par, mpdf &amp;obs, mpdf &amp;prop, int n0) (defined in <a class="el" href="classTrivialPF.html">TrivialPF</a>)</td><td><a class="el" href="classTrivialPF.html">TrivialPF</a></td><td></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>TrivialPF</b>(mpdf &amp;par, mpdf &amp;obs, int n0) (defined in <a class="el" href="classTrivialPF.html">TrivialPF</a>)</td><td><a class="el" href="classTrivialPF.html">TrivialPF</a></td><td></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>URNG</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>w</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:49 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/hierarchy.html
===================================================================
--- /doc/html/hierarchy.html (revision 8)
+++ /doc/html/hierarchy.html (revision 19)
@@ -20,5 +20,7 @@
   </ul>
 </div>
-<h1>mixpp Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
+<h1>mixpp Class Hierarchy</h1><a href="inherits.html">Go to the graphical class hierarchy</a>
+<p>
+This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
 <li><a class="el" href="classBM.html">BM</a>
 <ul>
@@ -29,4 +31,8 @@
 <li><a class="el" href="classTrivialPF.html">TrivialPF</a>
 </ul>
+</ul>
+<li><a class="el" href="classDS.html">DS</a>
+<ul>
+<li><a class="el" href="classMemDS.html">MemDS</a>
 </ul>
 <li><a class="el" href="classepdf.html">epdf</a>
@@ -45,5 +51,5 @@
 </ul>
 </ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classfsqmat.html
===================================================================
--- /doc/html/classfsqmat.html (revision 8)
+++ /doc/html/classfsqmat.html (revision 19)
@@ -28,10 +28,15 @@
 Inheritance diagram for fsqmat:</div>
 <div class="dynsection">
-
-<p><center><img src="classfsqmat.png" usemap="#fsqmat_map" border="0" alt=""></center>
-<map name="fsqmat_map">
-<area href="classsqmat.html" alt="sqmat" shape="rect" coords="0,0,47,24">
-</map>
-</div>
+<p><center><img src="classfsqmat__inherit__graph.png" border="0" usemap="#fsqmat__inherit__map" alt="Inheritance graph"></center>
+<map name="fsqmat__inherit__map">
+<area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="8,7,69,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for fsqmat:</div>
+<div class="dynsection">
+<p><center><img src="classfsqmat__coll__graph.png" border="0" usemap="#fsqmat__coll__map" alt="Collaboration graph"></center>
+<map name="fsqmat__coll__map">
+<area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="8,7,69,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -43,6 +48,6 @@
 <p>
 This class can be used to compare performance of algorithms using decomposed matrices with perormance of the same algorithms using full matrices; <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libBM_8h-source.html
===================================================================
--- /doc/html/libBM_8h-source.html (revision 8)
+++ /doc/html/libBM_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libBM.h Source File</title>
+<title>mixpp: work/mixpp/bdm/stat/libBM.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,5 +13,5 @@
   </ul>
 </div>
-<h1>work/mixpp/libBM.h</h1><a href="libBM_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<h1>work/mixpp/bdm/stat/libBM.h</h1><a href="libBM_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef BM_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define BM_H</span>
@@ -23,5 +23,5 @@
 <a name="l00020"></a>00020 
 <a name="l00026"></a><a class="code" href="classRV.html">00026</a> <span class="keyword">class </span><a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> {
-<a name="l00027"></a>00027         <span class="keywordtype">int</span> len;
+<a name="l00027"></a>00027         <span class="keywordtype">int</span> size,len;
 <a name="l00028"></a>00028         ivec ids;
 <a name="l00029"></a>00029         ivec sizes;
@@ -39,48 +39,65 @@
 <a name="l00045"></a>00045         <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classRV.html#cad6f15535d10437f6690cb4492176a8" title="Printing output e.g. for debugging.">operator&lt;&lt; </a>( std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv );
 <a name="l00046"></a>00046 
-<a name="l00048"></a>00048         <span class="keywordtype">int</span> <a class="code" href="classRV.html#a764092415291a0e6452a3711749d18e" title="Return length (number of scalars) of the RV.">length</a>();
-<a name="l00050"></a>00050         ivec <a class="code" href="classRV.html#45b869bced40dc3fa0df584aaf8228c0" title="Find indexes of another rv in self.">rvfind</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
-<a name="l00052"></a>00052         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#f47ab0015ebac822da3b2e00f42a8fc6" title="Add (concat) another variable to the current one.">rvadd</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
-<a name="l00054"></a>00054         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#269023ac4d41b21c4e1f7f17db1603b9" title="Subtract another variable from the current one.">rvsubt</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
-<a name="l00056"></a>00056         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#70a53f2bc37929bae899b0b24cda9d8e" title="Select only variables at indeces ind.">rvsubselect</a>(ivec ind);
-<a name="l00058"></a>00058         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#28bbcb8873bafdac317bafb7b481cc45" title="Select only variables at indeces ind.">operator()</a>(ivec ind);
-<a name="l00060"></a>00060         <span class="keywordtype">void</span> <a class="code" href="classRV.html#e0a158d53ab9430627241f844f4c9a60" title="Generate new RV with time shifted by delta.">t</a>(<span class="keywordtype">int</span> delta);
-<a name="l00061"></a>00061 };
-<a name="l00062"></a>00062 
-<a name="l00063"></a>00063 
+<a name="l00048"></a><a class="code" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04">00048</a>         <span class="keywordtype">int</span> <a class="code" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04" title="Return length (number of scalars) of the RV.">count</a>() {<span class="keywordflow">return</span> size;}
+<a name="l00049"></a>00049         <span class="comment">//TODO why not inline and later??</span>
+<a name="l00050"></a>00050         
+<a name="l00052"></a>00052         ivec <a class="code" href="classRV.html#6b078b1086224aca3a9e5a203e647fb6" title="Find indexes of another rv in self.">find</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
+<a name="l00054"></a>00054         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <span class="keyword">add</span>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
+<a name="l00056"></a>00056         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#4c5ec5e913fc598e242cb930ae8bdf4a" title="Subtract another variable from the current one.">subt</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv2);
+<a name="l00058"></a>00058         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#2bf35b18a32aad419f0516273939628e" title="Select only variables at indeces ind.">subselect</a>(ivec ind);
+<a name="l00060"></a>00060         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#28bbcb8873bafdac317bafb7b481cc45" title="Select only variables at indeces ind.">operator()</a>(ivec ind);
+<a name="l00062"></a>00062         <span class="keywordtype">void</span> <a class="code" href="classRV.html#e0a158d53ab9430627241f844f4c9a60" title="Generate new RV with time shifted by delta.">t</a>(<span class="keywordtype">int</span> delta);
+<a name="l00063"></a>00063 };
 <a name="l00064"></a>00064 
 <a name="l00065"></a>00065 
-<a name="l00067"></a><a class="code" href="classfnc.html">00067</a> <span class="keyword">class </span><a class="code" href="classfnc.html" title="Class representing function of variables.">fnc</a> {
-<a name="l00068"></a>00068         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
-<a name="l00069"></a>00069 };
-<a name="l00070"></a>00070 
-<a name="l00072"></a><a class="code" href="classBM.html">00072</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> {
-<a name="l00073"></a>00073 <span class="keyword">public</span>:
-<a name="l00075"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00075</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;
-<a name="l00076"></a>00076 
-<a name="l00081"></a>00081         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &amp;dt, <span class="keywordtype">bool</span> evall=<span class="keyword">true</span> ) = 0;
-<a name="l00083"></a>00083         <span class="keywordtype">void</span> <a class="code" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0" title="Incremental Bayes rule.">bayes</a> ( mat Dt );
-<a name="l00084"></a>00084 };
-<a name="l00085"></a>00085 
-<a name="l00087"></a><a class="code" href="classepdf.html">00087</a> <span class="keyword">class </span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {
-<a name="l00088"></a>00088         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
-<a name="l00089"></a>00089 <span class="keyword">public</span>:
-<a name="l00091"></a>00091 <span class="comment">//      virtual vec moment ( const int order = 1 );</span>
-<a name="l00093"></a><a class="code" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">00093</a> <span class="comment"></span>        <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#e6ce993603a95c2645eb86305ea51396" title="Returns the required moment of the epdf.">sample</a> (){};
-<a name="l00094"></a>00094         <span class="keyword">virtual</span> <span class="keywordtype">double</span> eval(<span class="keyword">const</span> vec &amp;val){};
-<a name="l00095"></a>00095 };
-<a name="l00096"></a>00096 
-<a name="l00098"></a><a class="code" href="classmpdf.html">00098</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
-<a name="l00100"></a>00100         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
-<a name="l00102"></a>00102         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rvc;
-<a name="l00103"></a>00103 <span class="keyword">public</span>:
-<a name="l00104"></a>00104 
-<a name="l00106"></a>00106 <span class="comment">//      virtual fnc moment ( const int order = 1 );</span>
-<a name="l00108"></a><a class="code" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41">00108</a> <span class="comment"></span>        <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41" title="Returns the required moment of the epdf.">samplecond</a> (vec &amp;cond, <span class="keywordtype">double</span> lik){};
-<a name="l00109"></a>00109         <span class="keyword">virtual</span> <span class="keywordtype">void</span> condition (vec &amp;cond){};
-<a name="l00110"></a>00110 };
-<a name="l00111"></a>00111 
-<a name="l00112"></a>00112 <span class="preprocessor">#endif // BM_H</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<a name="l00066"></a>00066 
+<a name="l00067"></a>00067 
+<a name="l00069"></a><a class="code" href="classfnc.html">00069</a> <span class="keyword">class </span><a class="code" href="classfnc.html" title="Class representing function of variables.">fnc</a> {
+<a name="l00070"></a>00070         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
+<a name="l00071"></a>00071 };
+<a name="l00072"></a>00072 
+<a name="l00074"></a><a class="code" href="classBM.html">00074</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> {
+<a name="l00075"></a>00075 <span class="keyword">public</span>:
+<a name="l00077"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00077</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;
+<a name="l00078"></a>00078 
+<a name="l00083"></a>00083         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &amp;dt, <span class="keywordtype">bool</span> evall=<span class="keyword">true</span> ) = 0;
+<a name="l00085"></a>00085         <span class="keywordtype">void</span> <a class="code" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0" title="Incremental Bayes rule.">bayes</a> ( mat Dt );
+<a name="l00086"></a>00086 };
+<a name="l00087"></a>00087 
+<a name="l00089"></a><a class="code" href="classepdf.html">00089</a> <span class="keyword">class </span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {
+<a name="l00090"></a>00090         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
+<a name="l00091"></a>00091 <span class="keyword">public</span>:
+<a name="l00093"></a>00093 <span class="comment">//      virtual vec moment ( const int order = 1 );</span>
+<a name="l00095"></a>00095 <span class="comment"></span>        <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa" title="Returns the required moment of the epdf.">sample</a> ()=0;
+<a name="l00096"></a>00096         <span class="keyword">virtual</span> <span class="keywordtype">double</span> eval(<span class="keyword">const</span> vec &amp;val){};
+<a name="l00097"></a>00097 };
+<a name="l00098"></a>00098 
+<a name="l00100"></a><a class="code" href="classmpdf.html">00100</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
+<a name="l00102"></a>00102         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rv;
+<a name="l00104"></a>00104         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> rvc;
+<a name="l00105"></a>00105 <span class="keyword">public</span>:
+<a name="l00106"></a>00106 
+<a name="l00108"></a>00108 <span class="comment">//      virtual fnc moment ( const int order = 1 );</span>
+<a name="l00110"></a><a class="code" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41">00110</a> <span class="comment"></span>        <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41" title="Returns the required moment of the epdf.">samplecond</a> (vec &amp;cond, <span class="keywordtype">double</span> lik){};
+<a name="l00111"></a>00111         <span class="keyword">virtual</span> <span class="keywordtype">void</span> condition (vec &amp;cond){};
+<a name="l00112"></a>00112 };
+<a name="l00113"></a>00113 
+<a name="l00120"></a><a class="code" href="classDS.html">00120</a> <span class="keyword">class </span><a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> {
+<a name="l00121"></a>00121 <span class="keyword">protected</span>:
+<a name="l00123"></a><a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">00123</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454" title="Observed variables, returned by getdata().">Drv</a>; 
+<a name="l00125"></a><a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">00125</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629" title="Action variables, accepted by write().">Urv</a>; <span class="comment">//</span>
+<a name="l00126"></a>00126 <span class="keyword">public</span>:
+<a name="l00128"></a>00128         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt);
+<a name="l00130"></a>00130         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt, ivec &amp;indeces);
+<a name="l00132"></a>00132         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a>(vec &amp;ut);
+<a name="l00134"></a>00134         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a>(vec &amp;ut, ivec &amp;indeces);
+<a name="l00140"></a>00140         <span class="keywordtype">void</span> <a class="code" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv);
+<a name="l00141"></a>00141         
+<a name="l00143"></a>00143         <span class="keywordtype">void</span> <a class="code" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6" title="Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system...">step</a>();
+<a name="l00144"></a>00144 };
+<a name="l00145"></a>00145 
+<a name="l00146"></a>00146 
+<a name="l00147"></a>00147 <span class="preprocessor">#endif // BM_H</span>
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libBM_8h.html
===================================================================
--- /doc/html/libBM_8h.html (revision 8)
+++ /doc/html/libBM_8h.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libBM.h File Reference</title>
+<title>mixpp: work/mixpp/bdm/stat/libBM.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,7 +13,25 @@
   </ul>
 </div>
-<h1>work/mixpp/libBM.h File Reference</h1>Bayesian Models (bm) that use Bayes rule to learn from observations. <a href="#_details">More...</a>
+<h1>work/mixpp/bdm/stat/libBM.h File Reference</h1>Bayesian Models (bm) that use Bayes rule to learn from observations. <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
+
+<p>
+<div class="dynheader">
+Include dependency graph for libBM.h:</div>
+<div class="dynsection">
+<p><center><img src="libBM_8h__incl.png" border="0" usemap="#work/mixpp/bdm/stat/libBM.h_map" alt=""></center>
+<map name="work/mixpp/bdm/stat/libBM.h_map">
+<area shape="rect" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="60,84,159,111"></map>
+</div>
+
+<p>
+<div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dynsection">
+<p><center><img src="libBM_8h__dep__incl.png" border="0" usemap="#work/mixpp/bdm/stat/libBM.hdep_map" alt=""></center>
+<map name="work/mixpp/bdm/stat/libBM.hdep_map">
+<area shape="rect" href="libKF_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="5,84,219,111"><area shape="rect" href="libPF_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="243,84,456,111"><area shape="rect" href="libDS_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="480,84,688,111"><area shape="rect" href="libEF_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="712,84,915,111"><area shape="rect" href="libFN_8h&#45;source.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="939,84,1144,111"></map>
+</div>
 
 <p>
@@ -36,4 +54,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conditional probability density, e.g. modeling some dependencies.  <a href="classmpdf.html#_details">More...</a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html">DS</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Abstract class for discrete-time sources of data.  <a href="classDS.html#_details">More...</a><br></td></tr>
 </table>
 <hr><a name="_details"></a><h2>Detailed Description</h2>
@@ -42,5 +63,5 @@
 <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl>
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
-Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classeEF.html
===================================================================
--- /doc/html/classeEF.html (revision 8)
+++ /doc/html/classeEF.html (revision 19)
@@ -28,11 +28,15 @@
 Inheritance diagram for eEF:</div>
 <div class="dynsection">
-
-<p><center><img src="classeEF.png" usemap="#eEF_map" border="0" alt=""></center>
-<map name="eEF_map">
-<area href="classepdf.html" alt="epdf" shape="rect" coords="0,0,97,24">
-<area href="classenorm.html" alt="enorm< sq_T >" shape="rect" coords="0,112,97,136">
-</map>
-</div>
+<p><center><img src="classeEF__inherit__graph.png" border="0" usemap="#eEF__inherit__map" alt="Inheritance graph"></center>
+<map name="eEF__inherit__map">
+<area shape="rect" href="classenorm.html" title="General exponential family density." alt="" coords="5,161,125,188"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="40,7,91,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for eEF:</div>
+<div class="dynsection">
+<p><center><img src="classeEF__coll__graph.png" border="0" usemap="#eEF__coll__map" alt="Collaboration graph"></center>
+<map name="eEF__coll__map">
+<area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="5,103,56,129"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="12,7,49,33"><area shape="rect" title="rv" alt="" coords="27,31,35,39"><area shape="rect" title="rv" alt="" coords="27,99,35,107"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -51,6 +55,6 @@
 <p>
 More?... <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/itpp__ext_8h-source.html
===================================================================
--- /doc/html/itpp__ext_8h-source.html (revision 8)
+++ /doc/html/itpp__ext_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/itpp_ext.h Source File</title>
+<title>mixpp: work/mixpp/bdm/itpp_ext.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,5 +13,5 @@
   </ul>
 </div>
-<h1>work/mixpp/itpp_ext.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
+<h1>work/mixpp/bdm/itpp_ext.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
 <a name="l00002"></a>00002 <span class="comment">// C++ Interface: itpp_ext</span>
 <a name="l00003"></a>00003 <span class="comment">//</span>
@@ -29,5 +29,5 @@
 <a name="l00015"></a>00015         Array&lt;int&gt; to_Arr(<span class="keyword">const</span> ivec &amp;indices);
 <a name="l00016"></a>00016 }
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classKalman.html
===================================================================
--- /doc/html/classKalman.html (revision 8)
+++ /doc/html/classKalman.html (revision 19)
@@ -28,10 +28,15 @@
 Inheritance diagram for Kalman&lt; sq_T &gt;:</div>
 <div class="dynsection">
-
-<p><center><img src="classKalman.png" usemap="#Kalman< sq_T >_map" border="0" alt=""></center>
-<map name="Kalman< sq_T >_map">
-<area href="classBM.html" alt="BM" shape="rect" coords="0,0,103,24">
-</map>
-</div>
+<p><center><img src="classKalman__inherit__graph.png" border="0" usemap="#Kalman_3_01sq__T_01_4__inherit__map" alt="Inheritance graph"></center>
+<map name="Kalman_3_01sq__T_01_4__inherit__map">
+<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="48,7,91,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for Kalman&lt; sq_T &gt;:</div>
+<div class="dynsection">
+<p><center><img src="classKalman__coll__graph.png" border="0" usemap="#Kalman_3_01sq__T_01_4__coll__map" alt="Collaboration graph"></center>
+<map name="Kalman_3_01sq__T_01_4__coll__map">
+<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="13,7,56,33"><area shape="rect" title="P\nQ\nR\n_iRy\n_Ry" alt="" coords="97,31,105,39"><area shape="rect" title="P\nQ\nR\n_iRy\n_Ry" alt="" coords="68,168,76,176"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -66,6 +71,6 @@
 
 <a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> filter with covaraince matrices in square root form. <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libPF_8h.html
===================================================================
--- /doc/html/libPF_8h.html (revision 8)
+++ /doc/html/libPF_8h.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libPF.h File Reference</title>
+<title>mixpp: work/mixpp/bdm/estim/libPF.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,9 +13,18 @@
   </ul>
 </div>
-<h1>work/mixpp/libPF.h File Reference</h1>Bayesian Filtering using stochastic sampling (Particle Filters). <a href="#_details">More...</a>
+<h1>work/mixpp/bdm/estim/libPF.h File Reference</h1>Bayesian Filtering using stochastic sampling (Particle Filters). <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
-<code>#include &quot;<a class="el" href="libBM_8h-source.html">libBM.h</a>&quot;</code><br>
-<code>#include &quot;<a class="el" href="libDC_8h-source.html">libDC.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="libBM_8h-source.html">../stat/libBM.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="libDC_8h-source.html">../math/libDC.h</a>&quot;</code><br>
+
+<p>
+<div class="dynheader">
+Include dependency graph for libPF.h:</div>
+<div class="dynsection">
+<p><center><img src="libPF_8h__incl.png" border="0" usemap="#work/mixpp/bdm/estim/libPF.h_map" alt=""></center>
+<map name="work/mixpp/bdm/estim/libPF.h_map">
+<area shape="rect" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="63,161,161,188"><area shape="rect" href="libBM_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="57,84,167,111"><area shape="rect" href="libDC_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="191,84,308,111"></map>
+</div>
 
 <p>
@@ -33,6 +42,5 @@
 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>RESAMPLING_METHOD</b> { <b>MULTINOMIAL</b> =  0, 
-<b>DETERMINISTIC</b> =  1, 
-<b>RESIDUAL</b> =  2, 
+<b>STRATIFIED</b> =  1, 
 <b>SYSTEMATIC</b> =  3
  }</td></tr>
@@ -44,5 +52,5 @@
 <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl>
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
-Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classPF.html
===================================================================
--- /doc/html/classPF.html (revision 8)
+++ /doc/html/classPF.html (revision 19)
@@ -28,11 +28,15 @@
 Inheritance diagram for PF:</div>
 <div class="dynsection">
-
-<p><center><img src="classPF.png" usemap="#PF_map" border="0" alt=""></center>
-<map name="PF_map">
-<area href="classBM.html" alt="BM" shape="rect" coords="0,0,63,24">
-<area href="classTrivialPF.html" alt="TrivialPF" shape="rect" coords="0,112,63,136">
-</map>
-</div>
+<p><center><img src="classPF__inherit__graph.png" border="0" usemap="#PF__inherit__map" alt="Inheritance graph"></center>
+<map name="PF__inherit__map">
+<area shape="rect" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data..." alt="" coords="5,161,77,188"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="20,7,63,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for PF:</div>
+<div class="dynsection">
+<p><center><img src="classPF__coll__graph.png" border="0" usemap="#PF__coll__map" alt="Collaboration graph"></center>
+<map name="PF__coll__map">
+<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,7,48,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -43,5 +47,11 @@
 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns indexes of particles that should be resampled. <br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.). <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c37f95f0c1661c7f1e3fccb31d39de73"></a><!-- doxytag: member="PF::PF" ref="c37f95f0c1661c7f1e3fccb31d39de73" args="(vec w)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>PF</b> (vec w)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">bayes</a> (const vec &amp;dt, bool evell)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Incremental Bayes rule.  <a href="#eb06bd7d4325f22f54233967295793b9"></a><br></td></tr>
 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c2f44ed7a4eaa42e07bdb58d503f280"></a><!-- doxytag: member="PF::n" ref="2c2f44ed7a4eaa42e07bdb58d503f280" args="" -->
@@ -51,11 +61,56 @@
 vec&nbsp;</td><td class="memItemRight" valign="bottom"><b>w</b></td></tr>
 
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3568ca7c3b3175d98b548f496b4c34dd"></a><!-- doxytag: member="PF::URNG" ref="3568ca7c3b3175d98b548f496b4c34dd" args="" -->
+Uniform_RNG&nbsp;</td><td class="memItemRight" valign="bottom"><b>URNG</b></td></tr>
+
 </table>
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 A Particle Filter prototype. 
 <p>
-Bayesian Filtering equations hold. <hr>The documentation for this class was generated from the following files:<ul>
-<li>work/mixpp/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/libPF.cpp</ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+Bayesian Filtering equations hold. <hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="eb06bd7d4325f22f54233967295793b9"></a><!-- doxytag: member="PF::bayes" ref="eb06bd7d4325f22f54233967295793b9" args="(const vec &amp;dt, bool evell)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void PF::bayes           </td>
+          <td>(</td>
+          <td class="paramtype">const vec &amp;&nbsp;</td>
+          <td class="paramname"> <em>dt</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">bool&nbsp;</td>
+          <td class="paramname"> <em>evall</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Incremental Bayes rule. 
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+  <table border="0" cellspacing="2" cellpadding="0">
+    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>vector of input data </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>evall</em>&nbsp;</td><td>If true, the filter will compute likelihood of the data record and store it in <code>ll</code> </td></tr>
+  </table>
+</dl>
+
+<p>Implements <a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">BM</a>.</p>
+
+<p>Reimplemented in <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p>
+
+</div>
+</div><p>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li>work/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/bdm/estim/libPF.cpp</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classfnc.html
===================================================================
--- /doc/html/classfnc.html (revision 8)
+++ /doc/html/classfnc.html (revision 19)
@@ -25,4 +25,16 @@
 <code>#include &lt;<a class="el" href="libBM_8h-source.html">libBM.h</a>&gt;</code>
 <p>
+<div class="dynheader">
+Inheritance diagram for fnc:</div>
+<div class="dynsection">
+<p><center><img src="classfnc__inherit__graph.png" border="0" usemap="#fnc__inherit__map" alt="Inheritance graph"></center>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for fnc:</div>
+<div class="dynsection">
+<p><center><img src="classfnc__coll__graph.png" border="0" usemap="#fnc__coll__map" alt="Collaboration graph"></center>
+<map name="fnc__coll__map">
+<area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,7,44,33"><area shape="rect" title="rv" alt="" coords="21,31,29,39"><area shape="rect" title="rv" alt="" coords="21,99,29,107"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -32,6 +44,6 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 Class representing function of variables. <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classenorm-members.html
===================================================================
--- /doc/html/classenorm-members.html (revision 8)
+++ /doc/html/classenorm-members.html (revision 19)
@@ -25,7 +25,9 @@
   <tr bgcolor="#f0f0f0"><td><b>enorm</b>() (defined in <a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a>)</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>eval</b>(const vec &amp;val) (defined in <a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a>)</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>RNG</b> (defined in <a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a>)</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">sample</a>()</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>sample</b>(int N) (defined in <a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a>)</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>tupdate</b>(double phi, mat &amp;vbar, double nubar) (defined in <a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a>)</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classKalmanFull-members.html
===================================================================
--- /doc/html/classKalmanFull-members.html (revision 8)
+++ /doc/html/classKalmanFull-members.html (revision 19)
@@ -28,5 +28,5 @@
   <tr bgcolor="#f0f0f0"><td><b>operator&lt;&lt;</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [friend]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalmanFull.html#b75dc059e84fa8ffc076203b30f926cc">P</a></td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:46 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classepdf.html
===================================================================
--- /doc/html/classepdf.html (revision 8)
+++ /doc/html/classepdf.html (revision 19)
@@ -28,11 +28,15 @@
 Inheritance diagram for epdf:</div>
 <div class="dynsection">
-
-<p><center><img src="classepdf.png" usemap="#epdf_map" border="0" alt=""></center>
-<map name="epdf_map">
-<area href="classeEF.html" alt="eEF" shape="rect" coords="0,56,97,80">
-<area href="classenorm.html" alt="enorm< sq_T >" shape="rect" coords="0,112,97,136">
-</map>
-</div>
+<p><center><img src="classepdf__inherit__graph.png" border="0" usemap="#epdf__inherit__map" alt="Inheritance graph"></center>
+<map name="epdf__inherit__map">
+<area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="43,84,88,111"><area shape="rect" href="classenorm.html" title="General exponential family density." alt="" coords="5,161,125,188"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for epdf:</div>
+<div class="dynsection">
+<p><center><img src="classepdf__coll__graph.png" border="0" usemap="#epdf__coll__map" alt="Collaboration graph"></center>
+<map name="epdf__coll__map">
+<area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="12,7,49,33"><area shape="rect" title="rv" alt="" coords="27,31,35,39"><area shape="rect" title="rv" alt="" coords="27,99,35,107"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -40,7 +44,7 @@
 <tr><td></td></tr>
 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">sample</a> ()</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">sample</a> ()=0</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  <a href="#e6ce993603a95c2645eb86305ea51396"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  <a href="#7f74d871d50b9ff360f1b3879092a9fa"></a><br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f333ceeb88ebc37d81fcd4cea4526bfc"></a><!-- doxytag: member="epdf::eval" ref="f333ceeb88ebc37d81fcd4cea4526bfc" args="(const vec &amp;val)" -->
 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><b>eval</b> (const vec &amp;val)</td></tr>
@@ -49,5 +53,5 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 Probability density function with numerical statistics, e.g. posterior density. <hr><h2>Member Function Documentation</h2>
-<a class="anchor" name="e6ce993603a95c2645eb86305ea51396"></a><!-- doxytag: member="epdf::sample" ref="e6ce993603a95c2645eb86305ea51396" args="()" -->
+<a class="anchor" name="7f74d871d50b9ff360f1b3879092a9fa"></a><!-- doxytag: member="epdf::sample" ref="7f74d871d50b9ff360f1b3879092a9fa" args="()=0" -->
 <div class="memitem">
 <div class="memproto">
@@ -58,5 +62,5 @@
           <td class="paramname">          </td>
           <td>&nbsp;)&nbsp;</td>
-          <td width="100%"><code> [inline, virtual]</code></td>
+          <td width="100%"><code> [pure virtual]</code></td>
         </tr>
       </table>
@@ -68,11 +72,11 @@
 <p>
 Returns a sample from the density, $x  epdf(rv)$ 
-<p>Reimplemented in <a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">enorm&lt; sq_T &gt;</a>.</p>
+<p>Implemented in <a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">enorm&lt; sq_T &gt;</a>.</p>
 
 </div>
 </div><p>
 <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/functions.html
===================================================================
--- /doc/html/functions.html (revision 8)
+++ /doc/html/functions.html (revision 19)
@@ -30,6 +30,10 @@
 <div class="tabs">
   <ul>
+    <li><a href="#index_a"><span>a</span></a></li>
     <li><a href="#index_b"><span>b</span></a></li>
     <li><a href="#index_c"><span>c</span></a></li>
+    <li><a href="#index_d"><span>d</span></a></li>
+    <li><a href="#index_f"><span>f</span></a></li>
+    <li><a href="#index_g"><span>g</span></a></li>
     <li><a href="#index_k"><span>k</span></a></li>
     <li><a href="#index_l"><span>l</span></a></li>
@@ -41,4 +45,6 @@
     <li><a href="#index_s"><span>s</span></a></li>
     <li><a href="#index_t"><span>t</span></a></li>
+    <li><a href="#index_u"><span>u</span></a></li>
+    <li><a href="#index_w"><span>w</span></a></li>
   </ul>
 </div>
@@ -47,11 +53,15 @@
 Here is a list of all documented class members with links to the class documentation for each member:
 <p>
+<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
+<li>add()
+: <a class="el" href="classRV.html#f068a86abb5a6e46fcf76c939d2ed2ec">RV</a>
+</ul>
 <h3><a class="anchor" name="index_b">- b -</a></h3><ul>
 <li>bayes()
-: <a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">BM</a>
+: <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>
+, <a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM</a>
 , <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>
+, <a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">PF</a>
 , <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman&lt; sq_T &gt;</a>
-, <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>
-, <a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM</a>
 </ul>
 <h3><a class="anchor" name="index_c">- c -</a></h3><ul>
@@ -60,4 +70,20 @@
 <li>cols()
 : <a class="el" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed">sqmat</a>
+<li>count()
+: <a class="el" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04">RV</a>
+</ul>
+<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
+<li>Drv
+: <a class="el" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">DS</a>
+</ul>
+<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
+<li>find()
+: <a class="el" href="classRV.html#6b078b1086224aca3a9e5a203e647fb6">RV</a>
+</ul>
+<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
+<li>getdata()
+: <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
+, <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a>
+, <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a>
 </ul>
 <h3><a class="anchor" name="index_k">- k -</a></h3><ul>
@@ -68,6 +94,7 @@
 </ul>
 <h3><a class="anchor" name="index_l">- l -</a></h3><ul>
-<li>length()
-: <a class="el" href="classRV.html#a764092415291a0e6452a3711749d18e">RV</a>
+<li>linkrvs()
+: <a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">DS</a>
+, <a class="el" href="classMemDS.html#5f72b555e0e4a61de1440c457cf57007">MemDS</a>
 <li>ll
 : <a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">BM</a>
@@ -106,19 +133,20 @@
 <li>RV()
 : <a class="el" href="classRV.html#cf911c3900214460ade1366b04058462">RV</a>
-<li>rvadd()
-: <a class="el" href="classRV.html#f47ab0015ebac822da3b2e00f42a8fc6">RV</a>
-<li>rvfind()
-: <a class="el" href="classRV.html#45b869bced40dc3fa0df584aaf8228c0">RV</a>
-<li>rvsubselect()
-: <a class="el" href="classRV.html#70a53f2bc37929bae899b0b24cda9d8e">RV</a>
-<li>rvsubt()
-: <a class="el" href="classRV.html#269023ac4d41b21c4e1f7f17db1603b9">RV</a>
 </ul>
 <h3><a class="anchor" name="index_s">- s -</a></h3><ul>
 <li>sample()
-: <a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">epdf</a>
+: <a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">epdf</a>
 , <a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">enorm&lt; sq_T &gt;</a>
 <li>samplecond()
 : <a class="el" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41">mpdf</a>
+<li>sqrt_mult()
+: <a class="el" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2">sqmat</a>
+<li>step()
+: <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>
+, <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>
+<li>subselect()
+: <a class="el" href="classRV.html#2bf35b18a32aad419f0516273939628e">RV</a>
+<li>subt()
+: <a class="el" href="classRV.html#4c5ec5e913fc598e242cb930ae8bdf4a">RV</a>
 </ul>
 <h3><a class="anchor" name="index_t">- t -</a></h3><ul>
@@ -128,5 +156,15 @@
 : <a class="el" href="classsqmat.html#9a5b6fddfeb42339e1dc9b978a2590fc">sqmat</a>
 </ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<h3><a class="anchor" name="index_u">- u -</a></h3><ul>
+<li>Urv
+: <a class="el" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">DS</a>
+</ul>
+<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
+<li>write()
+: <a class="el" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039">DS</a>
+, <a class="el" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">MemDS</a>
+, <a class="el" href="classDS.html#f4ae51a3bc1267a6a52fc229973afe85">DS</a>
+</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classfsqmat-members.html
===================================================================
--- /doc/html/classfsqmat-members.html (revision 8)
+++ /doc/html/classfsqmat-members.html (revision 19)
@@ -22,9 +22,10 @@
 <h1>fsqmat Member List</h1>This is the complete list of members for <a class="el" href="classfsqmat.html">fsqmat</a>, including all inherited members.<p><table>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed">cols</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private, pure virtual]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>dim</b> (defined in <a class="el" href="classsqmat.html">sqmat</a>)</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547">logdet</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private, pure virtual]</code></td></tr>
-  <tr bgcolor="#f0f0f0"><td><b>operator&lt;&lt;</b> (defined in <a class="el" href="classsqmat.html">sqmat</a>)</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [friend]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be">qform</a>(vec &amp;v)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private, pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7">rows</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private, pure virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+  <tr class="memlist"><td><a class="el" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2">sqrt_mult</a>(vec &amp;v)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [private, pure virtual]</code></td></tr>
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/functions_rela.html
===================================================================
--- /doc/html/functions_rela.html (revision 8)
+++ /doc/html/functions_rela.html (revision 19)
@@ -34,5 +34,5 @@
 : <a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">RV</a>
 </ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classsqmat.html
===================================================================
--- /doc/html/classsqmat.html (revision 8)
+++ /doc/html/classsqmat.html (revision 19)
@@ -28,10 +28,8 @@
 Inheritance diagram for sqmat:</div>
 <div class="dynsection">
-
-<p><center><img src="classsqmat.png" usemap="#sqmat_map" border="0" alt=""></center>
-<map name="sqmat_map">
-<area href="classfsqmat.html" alt="fsqmat" shape="rect" coords="0,56,47,80">
-</map>
-</div>
+<p><center><img src="classsqmat__inherit__graph.png" border="0" usemap="#sqmat__inherit__map" alt="Inheritance graph"></center>
+<map name="sqmat__inherit__map">
+<area shape="rect" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="5,84,72,111"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -52,4 +50,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of a determinant. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2">sqrt_mult</a> (vec &amp;v)=0</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiplies square root of $V$ by vector $x$.  <a href="#b5236c8a050199e1a9d338b0da1a08d2"></a><br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44e079468bc8bfccf634dc85b32ba6be"></a><!-- doxytag: member="sqmat::qform" ref="44e079468bc8bfccf634dc85b32ba6be" args="(vec &amp;v)=0" -->
 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be">qform</a> (vec &amp;v)=0</td></tr>
@@ -68,7 +69,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr>
-<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9eb5aa871432ddb9c5a45ddbbb19eab"></a><!-- doxytag: member="sqmat::operator&lt;&lt;" ref="c9eb5aa871432ddb9c5a45ddbbb19eab" args="(std::ostream &amp;os, sqmat &amp;sq)" -->
-std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, <a class="el" href="classsqmat.html">sqmat</a> &amp;sq)</td></tr>
+<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0abed904bdc0882373ba9adba919689d"></a><!-- doxytag: member="sqmat::dim" ref="0abed904bdc0882373ba9adba919689d" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dim</b></td></tr>
 
 </table>
@@ -149,7 +150,29 @@
 </div>
 </div><p>
+<a class="anchor" name="b5236c8a050199e1a9d338b0da1a08d2"></a><!-- doxytag: member="sqmat::sqrt_mult" ref="b5236c8a050199e1a9d338b0da1a08d2" args="(vec &amp;v)=0" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">virtual vec sqmat::sqrt_mult           </td>
+          <td>(</td>
+          <td class="paramtype">vec &amp;&nbsp;</td>
+          <td class="paramname"> <em>v</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"><code> [pure virtual]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Multiplies square root of $V$ by vector $x$. 
+<p>
+Used e.g. in generating normal samples. 
+</div>
+</div><p>
 <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classmpdf.html
===================================================================
--- /doc/html/classmpdf.html (revision 8)
+++ /doc/html/classmpdf.html (revision 19)
@@ -25,6 +25,16 @@
 <code>#include &lt;<a class="el" href="libBM_8h-source.html">libBM.h</a>&gt;</code>
 <p>
-Inherited by mEF.
-<p>
+<div class="dynheader">
+Inheritance diagram for mpdf:</div>
+<div class="dynsection">
+<p><center><img src="classmpdf__inherit__graph.png" border="0" usemap="#mpdf__inherit__map" alt="Inheritance graph"></center>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for mpdf:</div>
+<div class="dynsection">
+<p><center><img src="classmpdf__coll__graph.png" border="0" usemap="#mpdf__coll__map" alt="Collaboration graph"></center>
+<map name="mpdf__coll__map">
+<area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="15,7,52,33"><area shape="rect" title="rv\nrvc" alt="" coords="29,31,37,39"><area shape="rect" title="rv\nrvc" alt="" coords="29,115,37,123"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -73,6 +83,6 @@
 </div><p>
 <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:47 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classRV.html
===================================================================
--- /doc/html/classRV.html (revision 8)
+++ /doc/html/classRV.html (revision 19)
@@ -42,22 +42,22 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Empty constructor will be set later. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a764092415291a0e6452a3711749d18e"></a><!-- doxytag: member="RV::length" ref="a764092415291a0e6452a3711749d18e" args="()" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#a764092415291a0e6452a3711749d18e">length</a> ()</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9dcaca7b87cfb0e24a19260067d62f04"></a><!-- doxytag: member="RV::count" ref="9dcaca7b87cfb0e24a19260067d62f04" args="()" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04">count</a> ()</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return length (number of scalars) of the <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45b869bced40dc3fa0df584aaf8228c0"></a><!-- doxytag: member="RV::rvfind" ref="45b869bced40dc3fa0df584aaf8228c0" args="(RV rv2)" -->
-ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#45b869bced40dc3fa0df584aaf8228c0">rvfind</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b078b1086224aca3a9e5a203e647fb6"></a><!-- doxytag: member="RV::find" ref="6b078b1086224aca3a9e5a203e647fb6" args="(RV rv2)" -->
+ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#6b078b1086224aca3a9e5a203e647fb6">find</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find indexes of another rv in self. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f47ab0015ebac822da3b2e00f42a8fc6"></a><!-- doxytag: member="RV::rvadd" ref="f47ab0015ebac822da3b2e00f42a8fc6" args="(RV rv2)" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f47ab0015ebac822da3b2e00f42a8fc6">rvadd</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f068a86abb5a6e46fcf76c939d2ed2ec"></a><!-- doxytag: member="RV::add" ref="f068a86abb5a6e46fcf76c939d2ed2ec" args="(RV rv2)" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f068a86abb5a6e46fcf76c939d2ed2ec">add</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add (concat) another variable to the current one. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="269023ac4d41b21c4e1f7f17db1603b9"></a><!-- doxytag: member="RV::rvsubt" ref="269023ac4d41b21c4e1f7f17db1603b9" args="(RV rv2)" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#269023ac4d41b21c4e1f7f17db1603b9">rvsubt</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c5ec5e913fc598e242cb930ae8bdf4a"></a><!-- doxytag: member="RV::subt" ref="4c5ec5e913fc598e242cb930ae8bdf4a" args="(RV rv2)" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#4c5ec5e913fc598e242cb930ae8bdf4a">subt</a> (<a class="el" href="classRV.html">RV</a> rv2)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subtract another variable from the current one. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70a53f2bc37929bae899b0b24cda9d8e"></a><!-- doxytag: member="RV::rvsubselect" ref="70a53f2bc37929bae899b0b24cda9d8e" args="(ivec ind)" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#70a53f2bc37929bae899b0b24cda9d8e">rvsubselect</a> (ivec ind)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2bf35b18a32aad419f0516273939628e"></a><!-- doxytag: member="RV::subselect" ref="2bf35b18a32aad419f0516273939628e" args="(ivec ind)" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#2bf35b18a32aad419f0516273939628e">subselect</a> (ivec ind)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr>
@@ -80,6 +80,6 @@
 <p>
 More?... <hr>The documentation for this class was generated from the following files:<ul>
-<li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/mixpp/libBM.cpp</ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/mixpp/bdm/stat/libBM.cpp</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/annotated.html
===================================================================
--- /doc/html/annotated.html (revision 8)
+++ /doc/html/annotated.html (revision 19)
@@ -22,4 +22,5 @@
 <h1>mixpp Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
   <tr><td class="indexkey"><a class="el" href="classBM.html">BM</a></td><td class="indexvalue">Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities </td></tr>
+  <tr><td class="indexkey"><a class="el" href="classDS.html">DS</a></td><td class="indexvalue">Abstract class for discrete-time sources of data </td></tr>
   <tr><td class="indexkey"><a class="el" href="classeEF.html">eEF</a></td><td class="indexvalue">General conjugate exponential family posterior density </td></tr>
   <tr><td class="indexkey"><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td class="indexvalue">General exponential family density </td></tr>
@@ -29,4 +30,5 @@
   <tr><td class="indexkey"><a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a></td><td class="indexvalue"><a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> filter with covaraince matrices in square root form </td></tr>
   <tr><td class="indexkey"><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td class="indexvalue">Basic <a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> filter with full matrices (education purpose only)! Will be deleted soon! </td></tr>
+  <tr><td class="indexkey"><a class="el" href="classMemDS.html">MemDS</a></td><td class="indexvalue">Class representing off-line data stored in memory </td></tr>
   <tr><td class="indexkey"><a class="el" href="classmpdf.html">mpdf</a></td><td class="indexvalue">Conditional probability density, e.g. modeling some dependencies </td></tr>
   <tr><td class="indexkey"><a class="el" href="classPF.html">PF</a></td><td class="indexvalue">A Particle Filter prototype </td></tr>
@@ -35,5 +37,5 @@
   <tr><td class="indexkey"><a class="el" href="classTrivialPF.html">TrivialPF</a></td><td class="indexvalue">Trivial particle filter with proposal density that is not conditioned on the data </td></tr>
 </table>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classeEF-members.html
===================================================================
--- /doc/html/classeEF-members.html (revision 8)
+++ /doc/html/classeEF-members.html (revision 19)
@@ -23,7 +23,7 @@
   <tr bgcolor="#f0f0f0"><td><b>dupdate</b>(mat &amp;v, double nu=1.0) (defined in <a class="el" href="classeEF.html">eEF</a>)</td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>eval</b>(const vec &amp;val) (defined in <a class="el" href="classepdf.html">epdf</a>)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">sample</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">sample</a>()=0</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [pure virtual]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>tupdate</b>(double phi, mat &amp;vbar, double nubar) (defined in <a class="el" href="classeEF.html">eEF</a>)</td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libEF_8h-source.html
===================================================================
--- /doc/html/libEF_8h-source.html (revision 8)
+++ /doc/html/libEF_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libEF.h Source File</title>
+<title>mixpp: work/mixpp/bdm/stat/libEF.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,119 +13,146 @@
   </ul>
 </div>
-<h1>work/mixpp/libEF.h</h1><a href="libEF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<h1>work/mixpp/bdm/stat/libEF.h</h1><a href="libEF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef EF_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define EF_H</span>
 <a name="l00015"></a>00015 <span class="preprocessor"></span>
 <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
-<a name="l00017"></a>00017 <span class="comment">//#include &lt;std&gt;</span>
-<a name="l00018"></a>00018 
-<a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp;
+<a name="l00017"></a>00017 <span class="preprocessor">#include "../math/libDC.h"</span>
+<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</a>"</span>
+<a name="l00019"></a>00019 <span class="comment">//#include &lt;std&gt;</span>
 <a name="l00020"></a>00020 
-<a name="l00026"></a><a class="code" href="classeEF.html">00026</a> <span class="keyword">class </span><a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> :<span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {
-<a name="l00027"></a>00027 
-<a name="l00028"></a>00028 <span class="keyword">public</span>:
-<a name="l00029"></a>00029         <span class="keyword">virtual</span> <span class="keywordtype">void</span> tupdate( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ){};
-<a name="l00030"></a>00030         <span class="keyword">virtual</span> <span class="keywordtype">void</span> dupdate( mat &amp;v,<span class="keywordtype">double</span> nu=1.0 ){};
-<a name="l00031"></a>00031 };
-<a name="l00032"></a>00032 
-<a name="l00033"></a>00033 <span class="keyword">class </span>mEF :<span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
+<a name="l00021"></a>00021 <span class="keyword">using namespace </span>itpp;
+<a name="l00022"></a>00022 
+<a name="l00028"></a><a class="code" href="classeEF.html">00028</a> <span class="keyword">class </span><a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> : <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {
+<a name="l00029"></a>00029 
+<a name="l00030"></a>00030 <span class="keyword">public</span>:
+<a name="l00031"></a>00031         <span class="keyword">virtual</span> <span class="keywordtype">void</span> tupdate( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ) {};
+<a name="l00032"></a>00032         <span class="keyword">virtual</span> <span class="keywordtype">void</span> dupdate( mat &amp;v,<span class="keywordtype">double</span> nu=1.0 ) {};
+<a name="l00033"></a>00033 };
 <a name="l00034"></a>00034 
-<a name="l00035"></a>00035 <span class="keyword">public</span>:
+<a name="l00035"></a>00035 <span class="keyword">class </span>mEF : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
 <a name="l00036"></a>00036 
-<a name="l00037"></a>00037 };
+<a name="l00037"></a>00037 <span class="keyword">public</span>:
 <a name="l00038"></a>00038 
-<a name="l00044"></a>00044 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00045"></a><a class="code" href="classenorm.html">00045</a> <span class="keyword">class </span><a class="code" href="classenorm.html" title="General exponential family density.">enorm</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {
-<a name="l00046"></a>00046         vec mu;
-<a name="l00047"></a>00047         sq_T R;
-<a name="l00048"></a>00048 <span class="keyword">public</span>:
-<a name="l00049"></a>00049         <a class="code" href="classenorm.html" title="General exponential family density.">enorm</a>( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, vec &amp;mu, sq_T &amp;R );
-<a name="l00050"></a>00050         <a class="code" href="classenorm.html" title="General exponential family density.">enorm</a>();
-<a name="l00051"></a>00051         <span class="keywordtype">void</span> tupdate( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar );
-<a name="l00052"></a>00052         <span class="keywordtype">void</span> dupdate( mat &amp;v,<span class="keywordtype">double</span> nu=1.0 );
-<a name="l00053"></a>00053         vec <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">sample</a>();
-<a name="l00054"></a>00054         <span class="keywordtype">double</span> eval( <span class="keyword">const</span> vec &amp;val );
-<a name="l00055"></a>00055 
-<a name="l00056"></a>00056 };
-<a name="l00057"></a>00057 
-<a name="l00061"></a>00061 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00062"></a>00062 <span class="keyword">class </span>mlnorm : <span class="keyword">public</span> mEF {
-<a name="l00063"></a>00063         <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
-<a name="l00064"></a>00064         mat A;
-<a name="l00065"></a>00065 <span class="keyword">public</span>:
-<a name="l00067"></a>00067         mlnorm( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, mat &amp;A, sq_T &amp;R );
-<a name="l00069"></a>00069         vec samplecond( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik );
-<a name="l00070"></a>00070         mat samplecond( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n );
-<a name="l00071"></a>00071         <span class="keywordtype">void</span> condition( vec &amp;cond );
-<a name="l00072"></a>00072 };
-<a name="l00073"></a>00073 
-<a name="l00075"></a>00075 
-<a name="l00076"></a>00076 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00077"></a>00077 <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::enorm</a>( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, vec &amp;mu0, sq_T &amp;R0 ) {
-<a name="l00078"></a>00078         mu = mu0;
-<a name="l00079"></a>00079         R = R0;
-<a name="l00080"></a>00080 };
-<a name="l00081"></a>00081 
-<a name="l00082"></a>00082 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::dupdate</a>( mat &amp;v, <span class="keywordtype">double</span> nu ) {
-<a name="l00084"></a>00084         <span class="comment">//</span>
+<a name="l00039"></a>00039 };
+<a name="l00040"></a>00040 
+<a name="l00046"></a>00046 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00047"></a><a class="code" href="classenorm.html">00047</a> <span class="keyword">class </span><a class="code" href="classenorm.html" title="General exponential family density.">enorm</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {
+<a name="l00048"></a>00048         <span class="keywordtype">int</span> dim;
+<a name="l00049"></a>00049         vec mu;
+<a name="l00050"></a>00050         sq_T R;
+<a name="l00051"></a>00051 <span class="keyword">public</span>:
+<a name="l00052"></a>00052         <a class="code" href="classenorm.html" title="General exponential family density.">enorm</a>( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, vec &amp;mu, sq_T &amp;R );
+<a name="l00053"></a>00053         <a class="code" href="classenorm.html" title="General exponential family density.">enorm</a>();
+<a name="l00054"></a>00054         <span class="keywordtype">void</span> tupdate( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar );
+<a name="l00055"></a>00055         <span class="keywordtype">void</span> dupdate( mat &amp;v,<span class="keywordtype">double</span> nu=1.0 );
+<a name="l00056"></a>00056         vec <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">sample</a>();
+<a name="l00057"></a>00057         mat <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">sample</a>(<span class="keywordtype">int</span> N);
+<a name="l00058"></a>00058         <span class="keywordtype">double</span> eval( <span class="keyword">const</span> vec &amp;val );
+<a name="l00059"></a>00059         Normal_RNG RNG;
+<a name="l00060"></a>00060 };
+<a name="l00061"></a>00061 
+<a name="l00065"></a>00065 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00066"></a>00066 <span class="keyword">class </span>mlnorm : <span class="keyword">public</span> mEF {
+<a name="l00067"></a>00067         <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
+<a name="l00068"></a>00068         mat A;
+<a name="l00069"></a>00069 <span class="keyword">public</span>:
+<a name="l00071"></a>00071         mlnorm( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, mat &amp;A, sq_T &amp;R );
+<a name="l00073"></a>00073         vec samplecond( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik );
+<a name="l00074"></a>00074         mat samplecond( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n );
+<a name="l00075"></a>00075         <span class="keywordtype">void</span> condition( vec &amp;cond );
+<a name="l00076"></a>00076 };
+<a name="l00077"></a>00077 
+<a name="l00079"></a>00079 
+<a name="l00080"></a>00080 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00081"></a>00081 <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::enorm</a>( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, vec &amp;mu0, sq_T &amp;R0 ) {
+<a name="l00082"></a>00082         dim = rv.<a class="code" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04" title="Return length (number of scalars) of the RV.">count</a>();
+<a name="l00083"></a>00083         mu = mu0;
+<a name="l00084"></a>00084         R = R0;
 <a name="l00085"></a>00085 };
 <a name="l00086"></a>00086 
 <a name="l00087"></a>00087 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::tupdate</a>( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ) {
+<a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::dupdate</a>( mat &amp;v, <span class="keywordtype">double</span> nu ) {
 <a name="l00089"></a>00089         <span class="comment">//</span>
 <a name="l00090"></a>00090 };
 <a name="l00091"></a>00091 
 <a name="l00092"></a>00092 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00093"></a><a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">00093</a> vec <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">enorm&lt;sq_T&gt;::sample</a>() {
+<a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::tupdate</a>( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ) {
 <a name="l00094"></a>00094         <span class="comment">//</span>
 <a name="l00095"></a>00095 };
 <a name="l00096"></a>00096 
 <a name="l00097"></a>00097 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00098"></a>00098 <span class="keywordtype">double</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::eval</a>( <span class="keyword">const</span> vec &amp;val ) {
-<a name="l00099"></a>00099         <span class="comment">//</span>
-<a name="l00100"></a>00100 };
-<a name="l00101"></a>00101 
+<a name="l00098"></a><a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">00098</a> vec <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">enorm&lt;sq_T&gt;::sample</a>() {
+<a name="l00099"></a>00099         vec x( dim );
+<a name="l00100"></a>00100         RNG.sample_vector( dim,x );
+<a name="l00101"></a>00101         vec smp = R.sqrt_mult( x );
 <a name="l00102"></a>00102 
-<a name="l00103"></a>00103 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00104"></a>00104 <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::enorm</a>() {};
-<a name="l00105"></a>00105 
-<a name="l00106"></a>00106 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00107"></a>00107 mlnorm&lt;sq_T&gt;::mlnorm( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, mat &amp;A, sq_T &amp;R ) {
-<a name="l00108"></a>00108         <span class="keywordtype">int</span> dim = rv.<a class="code" href="classRV.html#a764092415291a0e6452a3711749d18e" title="Return length (number of scalars) of the RV.">length</a>();
-<a name="l00109"></a>00109         vec mu( dim );
-<a name="l00110"></a>00110 
-<a name="l00111"></a>00111         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> = <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;</a>( rv,mu,R );
-<a name="l00112"></a>00112 }
-<a name="l00113"></a>00113 
-<a name="l00114"></a>00114 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00115"></a>00115 vec mlnorm&lt;sq_T&gt;::samplecond( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik ) {
-<a name="l00116"></a>00116         this-&gt;condition( cond );
-<a name="l00117"></a>00117         vec smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample();
-<a name="l00118"></a>00118         lik = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval(smp);
-<a name="l00119"></a>00119         <span class="keywordflow">return</span> smp;
-<a name="l00120"></a>00120 }
+<a name="l00103"></a>00103         smp += mu;
+<a name="l00104"></a>00104         <span class="keywordflow">return</span> smp;
+<a name="l00105"></a>00105 };
+<a name="l00106"></a>00106 
+<a name="l00107"></a>00107 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00108"></a>00108 mat <a class="code" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023" title="Returns the required moment of the epdf.">enorm&lt;sq_T&gt;::sample</a>( <span class="keywordtype">int</span> N ) {
+<a name="l00109"></a>00109         mat X( dim,N );
+<a name="l00110"></a>00110         vec x( dim );
+<a name="l00111"></a>00111         vec pom;
+<a name="l00112"></a>00112         <span class="keywordtype">int</span> i;
+<a name="l00113"></a>00113         <span class="keywordflow">for</span> ( i=0;i&lt;N;i++ ) {
+<a name="l00114"></a>00114                 RNG.sample_vector( dim,x );
+<a name="l00115"></a>00115                 pom = R.sqrt_mult( x );
+<a name="l00116"></a>00116                 pom +=mu;
+<a name="l00117"></a>00117                 X.set_col( i, pom);
+<a name="l00118"></a>00118         }
+<a name="l00119"></a>00119         <span class="keywordflow">return</span> X;
+<a name="l00120"></a>00120 };
 <a name="l00121"></a>00121 
 <a name="l00122"></a>00122 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00123"></a>00123 mat mlnorm&lt;sq_T&gt;::samplecond( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n ) {
-<a name="l00124"></a>00124         <span class="keywordtype">int</span> i;
-<a name="l00125"></a>00125         <span class="keywordtype">int</span> dim = rv.<a class="code" href="classRV.html#a764092415291a0e6452a3711749d18e" title="Return length (number of scalars) of the RV.">length</a>();
-<a name="l00126"></a>00126         mat Smp( dim,n );
-<a name="l00127"></a>00127         vec smp( dim);
-<a name="l00128"></a>00128         this-&gt;condition( cond );
-<a name="l00129"></a>00129         <span class="keywordflow">for</span> ( i=0; i&lt;dim; i++ ) {
-<a name="l00130"></a>00130                 smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample();
-<a name="l00131"></a>00131                 lik(i) = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval(smp);
-<a name="l00132"></a>00132                 Smp.set_col( i ,smp);
-<a name="l00133"></a>00133         }
-<a name="l00134"></a>00134         <span class="keywordflow">return</span> Smp;
-<a name="l00135"></a>00135 }
-<a name="l00136"></a>00136 
-<a name="l00137"></a>00137 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00138"></a>00138 <span class="keywordtype">void</span> mlnorm&lt;sq_T&gt;::condition( vec &amp;cond) {
-<a name="l00139"></a>00139 }
-<a name="l00140"></a>00140 
-<a name="l00141"></a>00141 <span class="preprocessor">#endif //EF_H</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<a name="l00123"></a>00123 <span class="keywordtype">double</span> <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::eval</a>( <span class="keyword">const</span> vec &amp;val ) {
+<a name="l00124"></a>00124         <span class="comment">//</span>
+<a name="l00125"></a>00125 };
+<a name="l00126"></a>00126 
+<a name="l00127"></a>00127 
+<a name="l00128"></a>00128 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00129"></a>00129 <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;::enorm</a>() {};
+<a name="l00130"></a>00130 
+<a name="l00131"></a>00131 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00132"></a>00132 mlnorm&lt;sq_T&gt;::mlnorm( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, mat &amp;A, sq_T &amp;R ) {
+<a name="l00133"></a>00133         <span class="keywordtype">int</span> dim = rv.<a class="code" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04" title="Return length (number of scalars) of the RV.">count</a>();
+<a name="l00134"></a>00134         vec mu( dim );
+<a name="l00135"></a>00135 
+<a name="l00136"></a>00136         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> = <a class="code" href="classenorm.html" title="General exponential family density.">enorm&lt;sq_T&gt;</a>( rv,mu,R );
+<a name="l00137"></a>00137 }
+<a name="l00138"></a>00138 
+<a name="l00139"></a>00139 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00140"></a>00140 vec mlnorm&lt;sq_T&gt;::samplecond( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik ) {
+<a name="l00141"></a>00141         this-&gt;condition( cond );
+<a name="l00142"></a>00142         vec smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample();
+<a name="l00143"></a>00143         lik = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval( smp );
+<a name="l00144"></a>00144         <span class="keywordflow">return</span> smp;
+<a name="l00145"></a>00145 }
+<a name="l00146"></a>00146 
+<a name="l00147"></a>00147 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00148"></a>00148 mat mlnorm&lt;sq_T&gt;::samplecond( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n ) {
+<a name="l00149"></a>00149         <span class="keywordtype">int</span> i;
+<a name="l00150"></a>00150         <span class="keywordtype">int</span> dim = rv.<a class="code" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04" title="Return length (number of scalars) of the RV.">count</a>();
+<a name="l00151"></a>00151         mat Smp( dim,n );
+<a name="l00152"></a>00152         vec smp( dim );
+<a name="l00153"></a>00153         this-&gt;condition( cond );
+<a name="l00154"></a>00154         <span class="keywordflow">for</span> ( i=0; i&lt;dim; i++ ) {
+<a name="l00155"></a>00155                 smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample();
+<a name="l00156"></a>00156                 lik( i ) = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval( smp );
+<a name="l00157"></a>00157                 Smp.set_col( i ,smp );
+<a name="l00158"></a>00158         }
+<a name="l00159"></a>00159         <span class="keywordflow">return</span> Smp;
+<a name="l00160"></a>00160 }
+<a name="l00161"></a>00161 
+<a name="l00162"></a>00162 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00163"></a>00163 <span class="keywordtype">void</span> mlnorm&lt;sq_T&gt;::condition( vec &amp;cond ) {
+<a name="l00164"></a>00164         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.mu = A*cond;
+<a name="l00165"></a>00165 <span class="comment">//R is already assigned;</span>
+<a name="l00166"></a>00166 }
+<a name="l00167"></a>00167 
+<a name="l00168"></a>00168 <span class="preprocessor">#endif //EF_H</span>
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libEF_8h.html
===================================================================
--- /doc/html/libEF_8h.html (revision 8)
+++ /doc/html/libEF_8h.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libEF.h File Reference</title>
+<title>mixpp: work/mixpp/bdm/stat/libEF.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,7 +13,18 @@
   </ul>
 </div>
-<h1>work/mixpp/libEF.h File Reference</h1>Probability distributions for Exponential Family models. <a href="#_details">More...</a>
+<h1>work/mixpp/bdm/stat/libEF.h File Reference</h1>Probability distributions for Exponential Family models. <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
+<code>#include &quot;<a class="el" href="libDC_8h-source.html">../math/libDC.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="libBM_8h-source.html">libBM.h</a>&quot;</code><br>
+
+<p>
+<div class="dynheader">
+Include dependency graph for libEF.h:</div>
+<div class="dynsection">
+<p><center><img src="libEF_8h__incl.png" border="0" usemap="#work/mixpp/bdm/stat/libEF.h_map" alt=""></center>
+<map name="work/mixpp/bdm/stat/libEF.h_map">
+<area shape="rect" title="Probability distributions for Exponential Family models." alt="" coords="57,161,156,188"><area shape="rect" href="libDC_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="48,84,165,111"><area shape="rect" href="libBM_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="189,84,256,111"></map>
+</div>
 
 <p>
@@ -37,5 +48,5 @@
 <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl>
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
-Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classKalman-members.html
===================================================================
--- /doc/html/classKalman-members.html (revision 8)
+++ /doc/html/classKalman-members.html (revision 19)
@@ -28,5 +28,5 @@
   <tr bgcolor="#f0f0f0"><td><b>operator&lt;&lt;</b> (defined in <a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a>)</td><td><a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a></td><td><code> [friend]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#188cd5ac1c9e496b1a371eb7c57c97d3">P</a></td><td><a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classPF-members.html
===================================================================
--- /doc/html/classPF-members.html (revision 8)
+++ /doc/html/classPF-members.html (revision 19)
@@ -21,11 +21,13 @@
 </div>
 <h1>PF Member List</h1>This is the complete list of members for <a class="el" href="classPF.html">PF</a>, including all inherited members.<p><table>
-  <tr class="memlist"><td><a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">bayes</a>(const vec &amp;dt, bool evall=true)=0</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [pure virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">bayes</a>(mat Dt)</td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">bayes</a>(const vec &amp;dt, bool evell)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM::bayes</a>(mat Dt)</td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>n</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>PF</b>(vec w) (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">resample</a>(RESAMPLING_METHOD method=SYSTEMATIC)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>URNG</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>w</b> (defined in <a class="el" href="classPF.html">PF</a>)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/functions_func.html
===================================================================
--- /doc/html/functions_func.html (revision 8)
+++ /doc/html/functions_func.html (revision 19)
@@ -28,33 +28,84 @@
   </ul>
 </div>
+<div class="tabs">
+  <ul>
+    <li><a href="#index_a"><span>a</span></a></li>
+    <li><a href="#index_b"><span>b</span></a></li>
+    <li><a href="#index_c"><span>c</span></a></li>
+    <li><a href="#index_f"><span>f</span></a></li>
+    <li><a href="#index_g"><span>g</span></a></li>
+    <li><a href="#index_k"><span>k</span></a></li>
+    <li><a href="#index_l"><span>l</span></a></li>
+    <li><a href="#index_m"><span>m</span></a></li>
+    <li><a href="#index_o"><span>o</span></a></li>
+    <li><a href="#index_q"><span>q</span></a></li>
+    <li><a href="#index_r"><span>r</span></a></li>
+    <li><a href="#index_s"><span>s</span></a></li>
+    <li><a href="#index_t"><span>t</span></a></li>
+    <li><a href="#index_w"><span>w</span></a></li>
+  </ul>
+</div>
+
+<p>
 &nbsp;
 <p>
-<ul>
+<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
+<li>add()
+: <a class="el" href="classRV.html#f068a86abb5a6e46fcf76c939d2ed2ec">RV</a>
+</ul>
+<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
 <li>bayes()
-: <a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">BM</a>
+: <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>
+, <a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM</a>
 , <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>
+, <a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">PF</a>
 , <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman&lt; sq_T &gt;</a>
-, <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>
-, <a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">BM</a>
+</ul>
+<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
 <li>clear()
 : <a class="el" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e">sqmat</a>
 <li>cols()
 : <a class="el" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed">sqmat</a>
+<li>count()
+: <a class="el" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04">RV</a>
+</ul>
+<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
+<li>find()
+: <a class="el" href="classRV.html#6b078b1086224aca3a9e5a203e647fb6">RV</a>
+</ul>
+<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
+<li>getdata()
+: <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
+, <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a>
+, <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a>
+</ul>
+<h3><a class="anchor" name="index_k">- k -</a></h3><ul>
 <li>Kalman()
 : <a class="el" href="classKalman.html#83118f4bd2ecbc70b03cfd573088ed6f">Kalman&lt; sq_T &gt;</a>
 <li>KalmanFull()
 : <a class="el" href="classKalmanFull.html#7197ab6e7380790006394eabd3b97043">KalmanFull</a>
-<li>length()
-: <a class="el" href="classRV.html#a764092415291a0e6452a3711749d18e">RV</a>
+</ul>
+<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
+<li>linkrvs()
+: <a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">DS</a>
+, <a class="el" href="classMemDS.html#5f72b555e0e4a61de1440c457cf57007">MemDS</a>
 <li>logdet()
 : <a class="el" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547">sqmat</a>
+</ul>
+<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
 <li>mult_sym()
 : <a class="el" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157">sqmat</a>
+</ul>
+<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
 <li>operator()()
 : <a class="el" href="classRV.html#28bbcb8873bafdac317bafb7b481cc45">RV</a>
 <li>opupdt()
 : <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a>
+</ul>
+<h3><a class="anchor" name="index_q">- q -</a></h3><ul>
 <li>qform()
 : <a class="el" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be">sqmat</a>
+</ul>
+<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
 <li>resample()
 : <a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">PF</a>
@@ -63,17 +114,22 @@
 <li>RV()
 : <a class="el" href="classRV.html#cf911c3900214460ade1366b04058462">RV</a>
-<li>rvadd()
-: <a class="el" href="classRV.html#f47ab0015ebac822da3b2e00f42a8fc6">RV</a>
-<li>rvfind()
-: <a class="el" href="classRV.html#45b869bced40dc3fa0df584aaf8228c0">RV</a>
-<li>rvsubselect()
-: <a class="el" href="classRV.html#70a53f2bc37929bae899b0b24cda9d8e">RV</a>
-<li>rvsubt()
-: <a class="el" href="classRV.html#269023ac4d41b21c4e1f7f17db1603b9">RV</a>
+</ul>
+<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
 <li>sample()
-: <a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">epdf</a>
+: <a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">epdf</a>
 , <a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">enorm&lt; sq_T &gt;</a>
 <li>samplecond()
 : <a class="el" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41">mpdf</a>
+<li>sqrt_mult()
+: <a class="el" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2">sqmat</a>
+<li>step()
+: <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>
+, <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>
+<li>subselect()
+: <a class="el" href="classRV.html#2bf35b18a32aad419f0516273939628e">RV</a>
+<li>subt()
+: <a class="el" href="classRV.html#4c5ec5e913fc598e242cb930ae8bdf4a">RV</a>
+</ul>
+<h3><a class="anchor" name="index_t">- t -</a></h3><ul>
 <li>t()
 : <a class="el" href="classRV.html#e0a158d53ab9430627241f844f4c9a60">RV</a>
@@ -81,5 +137,11 @@
 : <a class="el" href="classsqmat.html#9a5b6fddfeb42339e1dc9b978a2590fc">sqmat</a>
 </ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
+<li>write()
+: <a class="el" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039">DS</a>
+, <a class="el" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">MemDS</a>
+, <a class="el" href="classDS.html#f4ae51a3bc1267a6a52fc229973afe85">DS</a>
+</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classfnc-members.html
===================================================================
--- /doc/html/classfnc-members.html (revision 8)
+++ /doc/html/classfnc-members.html (revision 19)
@@ -21,5 +21,5 @@
 </div>
 <h1>fnc Member List</h1>This is the complete list of members for <a class="el" href="classfnc.html">fnc</a>, including all inherited members.<p><table>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classBM.html
===================================================================
--- /doc/html/classBM.html (revision 8)
+++ /doc/html/classBM.html (revision 19)
@@ -28,13 +28,8 @@
 Inheritance diagram for BM:</div>
 <div class="dynsection">
-
-<p><center><img src="classBM.png" usemap="#BM_map" border="0" alt=""></center>
-<map name="BM_map">
-<area href="classKalman.html" alt="Kalman< sq_T >" shape="rect" coords="0,56,103,80">
-<area href="classKalmanFull.html" alt="KalmanFull" shape="rect" coords="113,56,216,80">
-<area href="classPF.html" alt="PF" shape="rect" coords="226,56,329,80">
-<area href="classTrivialPF.html" alt="TrivialPF" shape="rect" coords="226,112,329,136">
-</map>
-</div>
+<p><center><img src="classBM__inherit__graph.png" border="0" usemap="#BM__inherit__map" alt="Inheritance graph"></center>
+<map name="BM__inherit__map">
+<area shape="rect" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form." alt="" coords="5,84,133,111"><area shape="rect" href="classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="157,84,248,111"><area shape="rect" href="classPF.html" title="A Particle Filter prototype." alt="" coords="272,84,309,111"><area shape="rect" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data..." alt="" coords="255,161,327,188"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -92,11 +87,11 @@
 </dl>
 
-<p>Implemented in <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>, <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman&lt; sq_T &gt;</a>, and <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p>
+<p>Implemented in <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>, <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman&lt; sq_T &gt;</a>, <a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">PF</a>, and <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p>
 
 </div>
 </div><p>
 <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libKF_8h-source.html
===================================================================
--- /doc/html/libKF_8h-source.html (revision 8)
+++ /doc/html/libKF_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libKF.h Source File</title>
+<title>mixpp: work/mixpp/bdm/estim/libKF.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,11 +13,11 @@
   </ul>
 </div>
-<h1>work/mixpp/libKF.h</h1><a href="libKF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<h1>work/mixpp/bdm/estim/libKF.h</h1><a href="libKF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef KF_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define KF_H</span>
 <a name="l00015"></a>00015 <span class="preprocessor"></span>
 <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
-<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</a>"</span>
-<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="libDC_8h.html" title="Matrices in decomposed forms (LDL&amp;#39;, LU, UDU&amp;#39;, etc).">libDC.h</a>"</span>
+<a name="l00017"></a>00017 <span class="preprocessor">#include "../stat/libBM.h"</span>
+<a name="l00018"></a>00018 <span class="preprocessor">#include "../math/libDC.h"</span>
 <a name="l00019"></a>00019 
 <a name="l00020"></a>00020 
@@ -132,5 +132,5 @@
 <a name="l00144"></a>00144 <span class="preprocessor"></span>
 <a name="l00145"></a>00145 
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classTrivialPF.html
===================================================================
--- /doc/html/classTrivialPF.html (revision 8)
+++ /doc/html/classTrivialPF.html (revision 19)
@@ -28,11 +28,15 @@
 Inheritance diagram for TrivialPF:</div>
 <div class="dynsection">
-
-<p><center><img src="classTrivialPF.png" usemap="#TrivialPF_map" border="0" alt=""></center>
-<map name="TrivialPF_map">
-<area href="classPF.html" alt="PF" shape="rect" coords="0,56,63,80">
-<area href="classBM.html" alt="BM" shape="rect" coords="0,0,63,24">
-</map>
-</div>
+<p><center><img src="classTrivialPF__inherit__graph.png" border="0" usemap="#TrivialPF__inherit__map" alt="Inheritance graph"></center>
+<map name="TrivialPF__inherit__map">
+<area shape="rect" href="classPF.html" title="A Particle Filter prototype." alt="" coords="23,84,60,111"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="20,7,63,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for TrivialPF:</div>
+<div class="dynsection">
+<p><center><img src="classTrivialPF__coll__graph.png" border="0" usemap="#TrivialPF__coll__map" alt="Collaboration graph"></center>
+<map name="TrivialPF__coll__map">
+<area shape="rect" href="classPF.html" title="A Particle Filter prototype." alt="" coords="8,119,45,145"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,7,48,33"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="69,119,125,145"><area shape="rect" title="prop\nobs\npar" alt="" coords="89,143,97,151"><area shape="rect" title="prop\nobs\npar" alt="" coords="65,245,73,253"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="79,7,116,33"><area shape="rect" title="rv\nrvc" alt="" coords="93,31,101,39"><area shape="rect" title="rv\nrvc" alt="" coords="93,115,101,123"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -87,11 +91,11 @@
 </dl>
 
-<p>Implements <a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">BM</a>.</p>
+<p>Reimplemented from <a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">PF</a>.</p>
 
 </div>
 </div><p>
 <hr>The documentation for this class was generated from the following files:<ul>
-<li>work/mixpp/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/libPF.cpp</ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/bdm/estim/libPF.cpp</ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:49 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libKF_8h.html
===================================================================
--- /doc/html/libKF_8h.html (revision 8)
+++ /doc/html/libKF_8h.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libKF.h File Reference</title>
+<title>mixpp: work/mixpp/bdm/estim/libKF.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,9 +13,18 @@
   </ul>
 </div>
-<h1>work/mixpp/libKF.h File Reference</h1>Bayesian Filtering for linear Gaussian models (<a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> Filter) and extensions. <a href="#_details">More...</a>
+<h1>work/mixpp/bdm/estim/libKF.h File Reference</h1>Bayesian Filtering for linear Gaussian models (<a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> Filter) and extensions. <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
-<code>#include &quot;<a class="el" href="libBM_8h-source.html">libBM.h</a>&quot;</code><br>
-<code>#include &quot;<a class="el" href="libDC_8h-source.html">libDC.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="libBM_8h-source.html">../stat/libBM.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="libDC_8h-source.html">../math/libDC.h</a>&quot;</code><br>
+
+<p>
+<div class="dynheader">
+Include dependency graph for libKF.h:</div>
+<div class="dynsection">
+<p><center><img src="libKF_8h__incl.png" border="0" usemap="#work/mixpp/bdm/estim/libKF.h_map" alt=""></center>
+<map name="work/mixpp/bdm/estim/libKF.h_map">
+<area shape="rect" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="63,161,161,188"><area shape="rect" href="libBM_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="57,84,167,111"><area shape="rect" href="libDC_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="191,84,308,111"></map>
+</div>
 
 <p>
@@ -35,5 +44,5 @@
 <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl>
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
-Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+Using IT++ for numerical operations ----------------------------------- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libPF_8h-source.html
===================================================================
--- /doc/html/libPF_8h-source.html (revision 8)
+++ /doc/html/libPF_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libPF.h Source File</title>
+<title>mixpp: work/mixpp/bdm/estim/libPF.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,15 +13,15 @@
   </ul>
 </div>
-<h1>work/mixpp/libPF.h</h1><a href="libPF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<h1>work/mixpp/bdm/estim/libPF.h</h1><a href="libPF_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef PF_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define PF_H</span>
 <a name="l00015"></a>00015 <span class="preprocessor"></span>
 <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
-<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</a>"</span>
-<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="libDC_8h.html" title="Matrices in decomposed forms (LDL&amp;#39;, LU, UDU&amp;#39;, etc).">libDC.h</a>"</span>
+<a name="l00017"></a>00017 <span class="preprocessor">#include "../stat/libBM.h"</span>
+<a name="l00018"></a>00018 <span class="preprocessor">#include "../math/libDC.h"</span>
 <a name="l00019"></a>00019 
 <a name="l00020"></a>00020 <span class="keyword">using namespace </span>itpp;
 <a name="l00021"></a>00021 
-<a name="l00022"></a>00022 <span class="keyword">enum</span> RESAMPLING_METHOD { MULTINOMIAL = 0, DETERMINISTIC = 1, RESIDUAL = 2, SYSTEMATIC = 3 };
+<a name="l00022"></a>00022 <span class="keyword">enum</span> RESAMPLING_METHOD { MULTINOMIAL = 0, STRATIFIED = 1, SYSTEMATIC = 3 };
 <a name="l00023"></a>00023 
 <a name="l00029"></a><a class="code" href="classPF.html">00029</a> <span class="keyword">class </span><a class="code" href="classPF.html" title="A Particle Filter prototype.">PF</a> : <span class="keyword">public</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> { 
@@ -29,35 +29,38 @@
 <a name="l00031"></a>00031         <span class="keywordtype">int</span> n; <span class="comment">//number of particles</span>
 <a name="l00032"></a>00032         vec w; <span class="comment">//particle weights</span>
-<a name="l00033"></a>00033         
-<a name="l00034"></a>00034 <span class="keyword">public</span>:
-<a name="l00036"></a>00036         ivec <a class="code" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19" title="Returns indexes of particles that should be resampled.">resample</a>(RESAMPLING_METHOD method = SYSTEMATIC);
-<a name="l00037"></a>00037         <span class="comment">//TODO get them on the web</span>
-<a name="l00038"></a>00038 };
-<a name="l00039"></a>00039 
-<a name="l00046"></a><a class="code" href="classTrivialPF.html">00046</a> <span class="keyword">class </span><a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a> : <span class="keyword">public</span> <a class="code" href="classPF.html" title="A Particle Filter prototype.">PF</a> {
-<a name="l00047"></a>00047         Array&lt;vec&gt; ptcls;
-<a name="l00048"></a>00048         
-<a name="l00049"></a>00049         <span class="keywordtype">bool</span> is_proposal;
-<a name="l00050"></a>00050         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *prop;
-<a name="l00051"></a>00051         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *par;
-<a name="l00052"></a>00052         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *obs;
-<a name="l00053"></a>00053         
-<a name="l00054"></a>00054         <span class="keyword">public</span>:
-<a name="l00055"></a>00055         <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a>(<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;prop, <span class="keywordtype">int</span> n0);
-<a name="l00056"></a>00056         <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a>(<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <span class="keywordtype">int</span> n0);
-<a name="l00057"></a>00057         <span class="keywordtype">void</span> <a class="code" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389" title="Incremental Bayes rule.">bayes</a>(<span class="keyword">const</span> vec &amp;dt, <span class="keywordtype">bool</span> evalll);
-<a name="l00058"></a>00058 };
-<a name="l00059"></a>00059 
-<a name="l00060"></a>00060 <span class="keyword">class </span>MPF : <span class="keyword">public</span> <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a> {
-<a name="l00061"></a>00061         Array&lt;BM&gt; Bms;
-<a name="l00062"></a>00062         <span class="keyword">public</span>:
-<a name="l00063"></a>00063         MPF(<a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &amp;B, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;prop, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par);
-<a name="l00064"></a>00064         <span class="keywordtype">void</span> <a class="code" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389" title="Incremental Bayes rule.">bayes</a>(vec &amp;dt);    
-<a name="l00065"></a>00065 };
-<a name="l00066"></a>00066 
-<a name="l00067"></a>00067 <span class="preprocessor">#endif // KF_H</span>
-<a name="l00068"></a>00068 <span class="preprocessor"></span>
+<a name="l00033"></a>00033         Uniform_RNG URNG; <span class="comment">//used for resampling</span>
+<a name="l00034"></a>00034         
+<a name="l00035"></a>00035 <span class="keyword">public</span>:
+<a name="l00037"></a>00037         ivec <a class="code" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19" title="Returns indexes of particles that should be resampled. The ordering MUST guarantee...">resample</a>(RESAMPLING_METHOD method = SYSTEMATIC);
+<a name="l00038"></a>00038         <a class="code" href="classPF.html" title="A Particle Filter prototype.">PF</a> (vec w);
+<a name="l00039"></a>00039         <span class="comment">//TODO remove or implement bayes()!</span>
+<a name="l00040"></a><a class="code" href="classPF.html#eb06bd7d4325f22f54233967295793b9">00040</a>         <span class="keywordtype">void</span> <a class="code" href="classPF.html#eb06bd7d4325f22f54233967295793b9" title="Incremental Bayes rule.">bayes</a>(<span class="keyword">const</span> vec &amp;dt, <span class="keywordtype">bool</span> evell){};
+<a name="l00041"></a>00041 };
+<a name="l00042"></a>00042 
+<a name="l00049"></a><a class="code" href="classTrivialPF.html">00049</a> <span class="keyword">class </span><a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a> : <span class="keyword">public</span> <a class="code" href="classPF.html" title="A Particle Filter prototype.">PF</a> {
+<a name="l00050"></a>00050         Array&lt;vec&gt; ptcls;
+<a name="l00051"></a>00051         
+<a name="l00052"></a>00052         <span class="keywordtype">bool</span> is_proposal;
+<a name="l00053"></a>00053         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *prop;
+<a name="l00054"></a>00054         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *par;
+<a name="l00055"></a>00055         <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> *obs;
+<a name="l00056"></a>00056         
+<a name="l00057"></a>00057         <span class="keyword">public</span>:
+<a name="l00058"></a>00058         <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a>(<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;prop, <span class="keywordtype">int</span> n0);
+<a name="l00059"></a>00059         <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a>(<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <span class="keywordtype">int</span> n0);
+<a name="l00060"></a>00060         <span class="keywordtype">void</span> <a class="code" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389" title="Incremental Bayes rule.">bayes</a>(<span class="keyword">const</span> vec &amp;dt, <span class="keywordtype">bool</span> evalll);
+<a name="l00061"></a>00061 };
+<a name="l00062"></a>00062 
+<a name="l00063"></a>00063 <span class="keyword">class </span>MPF : <span class="keyword">public</span> <a class="code" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data...">TrivialPF</a> {
+<a name="l00064"></a>00064         Array&lt;BM&gt; Bms;
+<a name="l00065"></a>00065         <span class="keyword">public</span>:
+<a name="l00066"></a>00066         MPF(<a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &amp;B, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;prop, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;obs, <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> &amp;par);
+<a name="l00067"></a>00067         <span class="keywordtype">void</span> <a class="code" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389" title="Incremental Bayes rule.">bayes</a>(vec &amp;dt);    
+<a name="l00068"></a>00068 };
 <a name="l00069"></a>00069 
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<a name="l00070"></a>00070 <span class="preprocessor">#endif // KF_H</span>
+<a name="l00071"></a>00071 <span class="preprocessor"></span>
+<a name="l00072"></a>00072 
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classepdf-members.html
===================================================================
--- /doc/html/classepdf-members.html (revision 8)
+++ /doc/html/classepdf-members.html (revision 19)
@@ -22,6 +22,6 @@
 <h1>epdf Member List</h1>This is the complete list of members for <a class="el" href="classepdf.html">epdf</a>, including all inherited members.<p><table>
   <tr bgcolor="#f0f0f0"><td><b>eval</b>(const vec &amp;val) (defined in <a class="el" href="classepdf.html">epdf</a>)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">sample</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+  <tr class="memlist"><td><a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">sample</a>()=0</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [pure virtual]</code></td></tr>
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/files.html
===================================================================
--- /doc/html/files.html (revision 8)
+++ /doc/html/files.html (revision 19)
@@ -14,12 +14,14 @@
 </div>
 <h1>mixpp File List</h1>Here is a list of all documented files with brief descriptions:<table>
-  <tr><td class="indexkey">work/mixpp/<b>itpp_ext.h</b> <a href="itpp__ext_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
-  <tr><td class="indexkey">work/mixpp/<a class="el" href="libBM_8h.html">libBM.h</a> <a href="libBM_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Models (bm) that use Bayes rule to learn from observations </td></tr>
-  <tr><td class="indexkey">work/mixpp/<a class="el" href="libDC_8h.html">libDC.h</a> <a href="libDC_8h-source.html">[code]</a></td><td class="indexvalue">Matrices in decomposed forms (LDL', LU, UDU', etc) </td></tr>
-  <tr><td class="indexkey">work/mixpp/<a class="el" href="libEF_8h.html">libEF.h</a> <a href="libEF_8h-source.html">[code]</a></td><td class="indexvalue">Probability distributions for Exponential Family models </td></tr>
-  <tr><td class="indexkey">work/mixpp/<a class="el" href="libKF_8h.html">libKF.h</a> <a href="libKF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering for linear Gaussian models (<a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> Filter) and extensions </td></tr>
-  <tr><td class="indexkey">work/mixpp/<a class="el" href="libPF_8h.html">libPF.h</a> <a href="libPF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering using stochastic sampling (Particle Filters) </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/<b>itpp_ext.h</b> <a href="itpp__ext_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/estim/<a class="el" href="libKF_8h.html">libKF.h</a> <a href="libKF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering for linear Gaussian models (<a class="el" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form.">Kalman</a> Filter) and extensions </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/estim/<a class="el" href="libPF_8h.html">libPF.h</a> <a href="libPF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering using stochastic sampling (Particle Filters) </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/math/<a class="el" href="libDC_8h.html">libDC.h</a> <a href="libDC_8h-source.html">[code]</a></td><td class="indexvalue">Matrices in decomposed forms (LDL', LU, UDU', etc) </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/stat/<a class="el" href="libBM_8h.html">libBM.h</a> <a href="libBM_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Models (bm) that use Bayes rule to learn from observations </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/stat/<a class="el" href="libDS_8h.html">libDS.h</a> <a href="libDS_8h-source.html">[code]</a></td><td class="indexvalue">Common DataSources </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/stat/<a class="el" href="libEF_8h.html">libEF.h</a> <a href="libEF_8h-source.html">[code]</a></td><td class="indexvalue">Probability distributions for Exponential Family models </td></tr>
+  <tr><td class="indexkey">work/mixpp/bdm/stat/<b>libFN.h</b> <a href="libFN_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
 </table>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:50 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classsqmat-members.html
===================================================================
--- /doc/html/classsqmat-members.html (revision 8)
+++ /doc/html/classsqmat-members.html (revision 19)
@@ -23,12 +23,13 @@
   <tr class="memlist"><td><a class="el" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e">clear</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed">cols</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>dim</b> (defined in <a class="el" href="classsqmat.html">sqmat</a>)</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547">logdet</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157">mult_sym</a>(const mat &amp;C, bool trans=true)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
-  <tr bgcolor="#f0f0f0"><td><b>operator&lt;&lt;</b> (defined in <a class="el" href="classsqmat.html">sqmat</a>)</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [friend]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">opupdt</a>(const vec &amp;v, double w)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be">qform</a>(vec &amp;v)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7">rows</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2">sqrt_mult</a>(vec &amp;v)=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classsqmat.html#9a5b6fddfeb42339e1dc9b978a2590fc">to_mat</a>()=0</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [pure virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/functions_vars.html
===================================================================
--- /doc/html/functions_vars.html (revision 8)
+++ /doc/html/functions_vars.html (revision 19)
@@ -31,4 +31,6 @@
 <p>
 <ul>
+<li>Drv
+: <a class="el" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">DS</a>
 <li>ll
 : <a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">BM</a>
@@ -39,6 +41,8 @@
 : <a class="el" href="classKalmanFull.html#b75dc059e84fa8ffc076203b30f926cc">KalmanFull</a>
 , <a class="el" href="classKalman.html#188cd5ac1c9e496b1a371eb7c57c97d3">Kalman&lt; sq_T &gt;</a>
+<li>Urv
+: <a class="el" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">DS</a>
 </ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classmpdf-members.html
===================================================================
--- /doc/html/classmpdf-members.html (revision 8)
+++ /doc/html/classmpdf-members.html (revision 19)
@@ -23,5 +23,5 @@
   <tr bgcolor="#f0f0f0"><td><b>condition</b>(vec &amp;cond) (defined in <a class="el" href="classmpdf.html">mpdf</a>)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classmpdf.html#c20c796f8d0a201f0897299150e45a41">samplecond</a>(vec &amp;cond, double lik)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:47 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classRV-members.html
===================================================================
--- /doc/html/classRV-members.html (revision 8)
+++ /doc/html/classRV-members.html (revision 19)
@@ -21,5 +21,7 @@
 </div>
 <h1>RV Member List</h1>This is the complete list of members for <a class="el" href="classRV.html">RV</a>, including all inherited members.<p><table>
-  <tr class="memlist"><td><a class="el" href="classRV.html#a764092415291a0e6452a3711749d18e">length</a>()</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#f068a86abb5a6e46fcf76c939d2ed2ec">add</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#9dcaca7b87cfb0e24a19260067d62f04">count</a>()</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#6b078b1086224aca3a9e5a203e647fb6">find</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#28bbcb8873bafdac317bafb7b481cc45">operator()</a>(ivec ind)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">operator&lt;&lt;</a>(std::ostream &amp;os, const RV &amp;rv)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [friend]</code></td></tr>
@@ -27,10 +29,8 @@
   <tr class="memlist"><td><a class="el" href="classRV.html#cf911c3900214460ade1366b04058462">RV</a>(ivec ids)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#6a22f5c06d6403870d4e414b1993bf9e">RV</a>()</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-  <tr class="memlist"><td><a class="el" href="classRV.html#f47ab0015ebac822da3b2e00f42a8fc6">rvadd</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-  <tr class="memlist"><td><a class="el" href="classRV.html#45b869bced40dc3fa0df584aaf8228c0">rvfind</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-  <tr class="memlist"><td><a class="el" href="classRV.html#70a53f2bc37929bae899b0b24cda9d8e">rvsubselect</a>(ivec ind)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-  <tr class="memlist"><td><a class="el" href="classRV.html#269023ac4d41b21c4e1f7f17db1603b9">rvsubt</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#2bf35b18a32aad419f0516273939628e">subselect</a>(ivec ind)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#4c5ec5e913fc598e242cb930ae8bdf4a">subt</a>(RV rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#e0a158d53ab9430627241f844f4c9a60">t</a>(int delta)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-</table><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:12 2008 for mixpp by&nbsp;
+</table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:48 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/classenorm.html
===================================================================
--- /doc/html/classenorm.html (revision 8)
+++ /doc/html/classenorm.html (revision 19)
@@ -28,11 +28,15 @@
 Inheritance diagram for enorm&lt; sq_T &gt;:</div>
 <div class="dynsection">
-
-<p><center><img src="classenorm.png" usemap="#enorm< sq_T >_map" border="0" alt=""></center>
-<map name="enorm< sq_T >_map">
-<area href="classeEF.html" alt="eEF" shape="rect" coords="0,56,97,80">
-<area href="classepdf.html" alt="epdf" shape="rect" coords="0,0,97,24">
-</map>
-</div>
+<p><center><img src="classenorm__inherit__graph.png" border="0" usemap="#enorm_3_01sq__T_01_4__inherit__map" alt="Inheritance graph"></center>
+<map name="enorm_3_01sq__T_01_4__inherit__map">
+<area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="43,84,88,111"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="40,7,91,33"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for enorm&lt; sq_T &gt;:</div>
+<div class="dynsection">
+<p><center><img src="classenorm__coll__graph.png" border="0" usemap="#enorm_3_01sq__T_01_4__coll__map" alt="Collaboration graph"></center>
+<map name="enorm_3_01sq__T_01_4__coll__map">
+<area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="8,183,53,209"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="5,103,56,129"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="12,7,49,33"><area shape="rect" title="rv" alt="" coords="27,31,35,39"><area shape="rect" title="rv" alt="" coords="27,99,35,107"><area shape="rect" title="R" alt="" coords="93,207,101,215"><area shape="rect" title="R" alt="" coords="77,275,85,283"></map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
 <p>
@@ -52,6 +56,13 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  <a href="#6020bcd89db2c9584bd8871001bd2023"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="531bd094057afa768f4853a7e441920d"></a><!-- doxytag: member="enorm::sample" ref="531bd094057afa768f4853a7e441920d" args="(int N)" -->
+mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>sample</b> (int N)</td></tr>
+
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93107f05a8e9b34b64853767200121a4"></a><!-- doxytag: member="enorm::eval" ref="93107f05a8e9b34b64853767200121a4" args="(const vec &amp;val)" -->
 double&nbsp;</td><td class="memItemRight" valign="bottom"><b>eval</b> (const vec &amp;val)</td></tr>
+
+<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4de82a0d7ba9eaf31206318ae35d0d5"></a><!-- doxytag: member="enorm::RNG" ref="a4de82a0d7ba9eaf31206318ae35d0d5" args="" -->
+Normal_RNG&nbsp;</td><td class="memItemRight" valign="bottom"><b>RNG</b></td></tr>
 
 </table>
@@ -84,11 +95,11 @@
 <p>
 Returns a sample from the density, $x  epdf(rv)$ 
-<p>Reimplemented from <a class="el" href="classepdf.html#e6ce993603a95c2645eb86305ea51396">epdf</a>.</p>
+<p>Implements <a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">epdf</a>.</p>
 
 </div>
 </div><p>
 <hr>The documentation for this class was generated from the following file:<ul>
-<li>work/mixpp/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
-<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by&nbsp;
+<li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/index.html
===================================================================
--- /doc/html/index.html (revision 8)
+++ /doc/html/index.html (revision 19)
@@ -15,5 +15,5 @@
 <h1>mixpp Documentation</h1>
 <p>
-<h3 align="center">1 </h3><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<h3 align="center">1 </h3><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/html/libDC_8h-source.html
===================================================================
--- /doc/html/libDC_8h-source.html (revision 8)
+++ /doc/html/libDC_8h-source.html (revision 19)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/mixpp/libDC.h Source File</title>
+<title>mixpp: work/mixpp/bdm/math/libDC.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -13,5 +13,5 @@
   </ul>
 </div>
-<h1>work/mixpp/libDC.h</h1><a href="libDC_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<h1>work/mixpp/bdm/math/libDC.h</h1><a href="libDC_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef DC_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define DC_H</span>
@@ -32,75 +32,86 @@
 <a name="l00051"></a>00051         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547" title="Logarithm of a determinant.">logdet</a>() =0;
 <a name="l00052"></a>00052 
-<a name="l00057"></a>00057         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be" title="Evaluates quadratic form $x= v&amp;#39;*V*v$;.">qform</a>(vec &amp;v) =0;
-<a name="l00058"></a>00058 
-<a name="l00059"></a>00059 <span class="comment">//      //! easy version of the </span>
-<a name="l00060"></a>00060 <span class="comment">//      sqmat inv();</span>
-<a name="l00061"></a>00061 
-<a name="l00062"></a>00062         <span class="keyword">friend</span> std::ostream &amp;operator&lt;&lt; ( std::ostream &amp;os, <a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> &amp;sq );
-<a name="l00063"></a>00063 
-<a name="l00065"></a>00065         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e" title="Clearing matrix so that it corresponds to zeros.">clear</a>() =0;
-<a name="l00066"></a>00066         
-<a name="l00068"></a>00068         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">cols</a>() =0;
-<a name="l00069"></a>00069 
-<a name="l00071"></a>00071         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">rows</a>() =0;
-<a name="l00072"></a>00072 
-<a name="l00073"></a>00073 };
+<a name="l00058"></a>00058         <span class="keyword">virtual</span> vec <a class="code" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2" title="Multiplies square root of $V$ by vector $x$.">sqrt_mult</a>(vec &amp;v) =0;
+<a name="l00059"></a>00059         
+<a name="l00064"></a>00064         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be" title="Evaluates quadratic form $x= v&amp;#39;*V*v$;.">qform</a>(vec &amp;v) =0;
+<a name="l00065"></a>00065 
+<a name="l00066"></a>00066 <span class="comment">//      //! easy version of the </span>
+<a name="l00067"></a>00067 <span class="comment">//      sqmat inv();</span>
+<a name="l00068"></a>00068 
+<a name="l00070"></a>00070         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e" title="Clearing matrix so that it corresponds to zeros.">clear</a>() =0;
+<a name="l00071"></a>00071         
+<a name="l00073"></a>00073         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">cols</a>() =0;
 <a name="l00074"></a>00074 
-<a name="l00075"></a>00075 
-<a name="l00080"></a><a class="code" href="classfsqmat.html">00080</a> <span class="keyword">class </span><a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>: <a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> {
-<a name="l00081"></a>00081         <span class="keywordtype">void</span> opupdt( <span class="keyword">const</span> vec &amp;v, <span class="keywordtype">double</span> w );
-<a name="l00082"></a>00082         mat to_mat();
-<a name="l00083"></a>00083         <span class="keywordtype">void</span> mult_sym( <span class="keyword">const</span> mat &amp;C, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
-<a name="l00084"></a>00084    <span class="keywordtype">void</span> mult_sym( <span class="keyword">const</span> mat &amp;C, <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &amp;U, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
-<a name="l00085"></a>00085         <span class="keywordtype">void</span> inv(<a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &amp;Inv);
-<a name="l00086"></a>00086         <span class="keywordtype">void</span> clear();
-<a name="l00087"></a>00087         
-<a name="l00089"></a>00089         <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>(<span class="keyword">const</span> mat &amp;M);
-<a name="l00090"></a>00090         
-<a name="l00096"></a>00096         <span class="keyword">virtual</span> <span class="keywordtype">void</span> inv(<a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>* Inv);
-<a name="l00097"></a>00097 };
-<a name="l00098"></a>00098 
-<a name="l00099"></a>00099 <span class="keyword">class </span>ldmat: <a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> {
-<a name="l00100"></a>00100 <span class="keyword">public</span>:
-<a name="l00101"></a>00101 
-<a name="l00103"></a>00103         ldmat( <span class="keyword">const</span> mat &amp;L, <span class="keyword">const</span> vec &amp;D );
-<a name="l00105"></a>00105         ldmat( mat V );
-<a name="l00106"></a>00106         ldmat ();
-<a name="l00107"></a>00107 
-<a name="l00108"></a>00108         <span class="comment">// Reimplementation of compulsory operatios</span>
-<a name="l00109"></a>00109 
-<a name="l00110"></a>00110         <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">opupdt</a>( <span class="keyword">const</span> vec &amp;v, <span class="keywordtype">double</span> w );
-<a name="l00111"></a>00111         mat <a class="code" href="classsqmat.html#9a5b6fddfeb42339e1dc9b978a2590fc" title="Conversion to full matrix.">to_mat</a>();
-<a name="l00112"></a>00112    <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157" title="Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C&amp;#39;$.">mult_sym</a>( <span class="keyword">const</span> mat &amp;C, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
-<a name="l00113"></a>00113         <span class="keywordtype">void</span> <span class="keyword">add</span> ( <span class="keyword">const</span> ldmat &amp;ld2, <span class="keywordtype">double</span> w=1.0 );
-<a name="l00114"></a>00114         <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547" title="Logarithm of a determinant.">logdet</a>();
-<a name="l00115"></a>00115         <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be" title="Evaluates quadratic form $x= v&amp;#39;*V*v$;.">qform</a>(vec &amp;v);
-<a name="l00116"></a>00116 <span class="comment">//      sqmat&amp; operator -= ( const sqmat &amp; ld2 );</span>
-<a name="l00117"></a>00117         <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e" title="Clearing matrix so that it corresponds to zeros.">clear</a>();
-<a name="l00118"></a>00118         <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">cols</a>();
-<a name="l00119"></a>00119         <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">rows</a>();
-<a name="l00120"></a>00120 
-<a name="l00126"></a>00126         <span class="keyword">virtual</span> <span class="keywordtype">void</span> inv(ldmat &amp;Inv);
-<a name="l00127"></a>00127         
-<a name="l00133"></a>00133    <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157" title="Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C&amp;#39;$.">mult_sym</a>( <span class="keyword">const</span> mat &amp;C, ldmat &amp;U, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
-<a name="l00134"></a>00134 
-<a name="l00135"></a>00135         ldmat&amp; operator += (<span class="keyword">const</span> ldmat &amp;ldA);
-<a name="l00136"></a>00136         ldmat&amp; operator -= (<span class="keyword">const</span> ldmat &amp;ldA);
-<a name="l00137"></a>00137         ldmat&amp; operator *= (<span class="keywordtype">double</span> x);
-<a name="l00138"></a>00138         
-<a name="l00139"></a>00139 <span class="keyword">protected</span>:
-<a name="l00140"></a>00140         vec D;
-<a name="l00141"></a>00141         mat L;
-<a name="l00142"></a>00142 
-<a name="l00143"></a>00143 };
-<a name="l00144"></a>00144 
-<a name="l00146"></a>00146 
-<a name="l00147"></a>00147 <span class="keyword">inline</span> ldmat&amp; ldmat::operator += (<span class="keyword">const</span> ldmat &amp;ldA)  {this-&gt;<span class="keyword">add</span>(ldA);<span class="keywordflow">return</span> *<span class="keyword">this</span>;}
-<a name="l00148"></a>00148 <span class="keyword">inline</span> ldmat&amp; ldmat::operator -= (<span class="keyword">const</span> ldmat &amp;ldA)  {this-&gt;<span class="keyword">add</span>(ldA,-1.0);<span class="keywordflow">return</span> *<span class="keyword">this</span>;}
-<a name="l00149"></a>00149 <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">ldmat::cols</a>(){<span class="keywordflow">return</span> L.cols();}
-<a name="l00150"></a>00150 <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">ldmat::rows</a>(){<span class="keywordflow">return</span> L.rows();}
-<a name="l00151"></a>00151 
-<a name="l00152"></a>00152 <span class="preprocessor">#endif // DC_H</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:10 2008 for mixpp by&nbsp;
+<a name="l00076"></a>00076         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">rows</a>() =0;
+<a name="l00077"></a>00077 
+<a name="l00078"></a>00078 <span class="keyword">protected</span>:
+<a name="l00079"></a>00079         <span class="keywordtype">int</span> dim;
+<a name="l00080"></a>00080 };
+<a name="l00081"></a>00081 
+<a name="l00082"></a>00082 
+<a name="l00087"></a><a class="code" href="classfsqmat.html">00087</a> <span class="keyword">class </span><a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>: <a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> {
+<a name="l00088"></a>00088         <span class="keywordtype">void</span> opupdt( <span class="keyword">const</span> vec &amp;v, <span class="keywordtype">double</span> w );
+<a name="l00089"></a>00089         mat to_mat();
+<a name="l00090"></a>00090         <span class="keywordtype">void</span> mult_sym( <span class="keyword">const</span> mat &amp;C, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
+<a name="l00091"></a>00091    <span class="keywordtype">void</span> mult_sym( <span class="keyword">const</span> mat &amp;C, <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &amp;U, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
+<a name="l00092"></a>00092         <span class="keywordtype">void</span> inv(<a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &amp;Inv);
+<a name="l00093"></a>00093         <span class="keywordtype">void</span> clear();
+<a name="l00094"></a>00094         
+<a name="l00095"></a>00095         
+<a name="l00097"></a>00097         <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>(<span class="keyword">const</span> mat &amp;M);
+<a name="l00098"></a>00098         
+<a name="l00104"></a>00104         <span class="keyword">virtual</span> <span class="keywordtype">void</span> inv(<a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a>* Inv);
+<a name="l00105"></a>00105         
+<a name="l00106"></a>00106 
+<a name="l00107"></a>00107 };
+<a name="l00108"></a>00108 
+<a name="l00109"></a>00109 <span class="keyword">class </span>ldmat: <a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> {
+<a name="l00110"></a>00110 <span class="keyword">public</span>:
+<a name="l00111"></a>00111 
+<a name="l00113"></a>00113         ldmat( <span class="keyword">const</span> mat &amp;L, <span class="keyword">const</span> vec &amp;D );
+<a name="l00115"></a>00115         ldmat( mat V );
+<a name="l00117"></a>00117         ldmat( vec D0 );
+<a name="l00118"></a>00118         ldmat ();
+<a name="l00119"></a>00119 
+<a name="l00120"></a>00120         <span class="comment">// Reimplementation of compulsory operatios</span>
+<a name="l00121"></a>00121 
+<a name="l00122"></a>00122         <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">opupdt</a>( <span class="keyword">const</span> vec &amp;v, <span class="keywordtype">double</span> w );
+<a name="l00123"></a>00123         mat <a class="code" href="classsqmat.html#9a5b6fddfeb42339e1dc9b978a2590fc" title="Conversion to full matrix.">to_mat</a>();
+<a name="l00124"></a>00124    <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157" title="Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C&amp;#39;$.">mult_sym</a>( <span class="keyword">const</span> mat &amp;C, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
+<a name="l00125"></a>00125         <span class="keywordtype">void</span> <span class="keyword">add</span> ( <span class="keyword">const</span> ldmat &amp;ld2, <span class="keywordtype">double</span> w=1.0 );
+<a name="l00126"></a>00126         <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#5c852819589f74cdaefbd648c0ce8547" title="Logarithm of a determinant.">logdet</a>();
+<a name="l00127"></a>00127         <span class="keywordtype">double</span> <a class="code" href="classsqmat.html#44e079468bc8bfccf634dc85b32ba6be" title="Evaluates quadratic form $x= v&amp;#39;*V*v$;.">qform</a>(vec &amp;v);
+<a name="l00128"></a>00128 <span class="comment">//      sqmat&amp; operator -= ( const sqmat &amp; ld2 );</span>
+<a name="l00129"></a>00129         <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#6fca246f9eabbdeb8cac03030e826b5e" title="Clearing matrix so that it corresponds to zeros.">clear</a>();
+<a name="l00130"></a>00130         <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">cols</a>();
+<a name="l00131"></a>00131         <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">rows</a>();
+<a name="l00132"></a>00132         vec <a class="code" href="classsqmat.html#b5236c8a050199e1a9d338b0da1a08d2" title="Multiplies square root of $V$ by vector $x$.">sqrt_mult</a>(vec &amp;v);
+<a name="l00133"></a>00133 
+<a name="l00139"></a>00139         <span class="keyword">virtual</span> <span class="keywordtype">void</span> inv(ldmat &amp;Inv);
+<a name="l00140"></a>00140         
+<a name="l00146"></a>00146    <span class="keywordtype">void</span> <a class="code" href="classsqmat.html#faa3bc90be142adde9cf74f573c70157" title="Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C&amp;#39;$.">mult_sym</a>( <span class="keyword">const</span> mat &amp;C, ldmat &amp;U, <span class="keywordtype">bool</span> trans=<span class="keyword">false</span> );
+<a name="l00147"></a>00147 
+<a name="l00156"></a>00156    <span class="keywordtype">void</span> ldform( mat &amp;A, vec &amp;D0 );
+<a name="l00157"></a>00157 
+<a name="l00158"></a>00158         ldmat&amp; operator += (<span class="keyword">const</span> ldmat &amp;ldA);
+<a name="l00159"></a>00159         ldmat&amp; operator -= (<span class="keyword">const</span> ldmat &amp;ldA);
+<a name="l00160"></a>00160         ldmat&amp; operator *= (<span class="keywordtype">double</span> x);
+<a name="l00161"></a>00161         
+<a name="l00162"></a>00162         <span class="keyword">friend</span> std::ostream &amp;operator&lt;&lt; ( std::ostream &amp;os, ldmat &amp;sq );
+<a name="l00163"></a>00163 
+<a name="l00164"></a>00164 <span class="keyword">protected</span>:
+<a name="l00165"></a>00165         vec D;
+<a name="l00166"></a>00166         mat L;
+<a name="l00167"></a>00167 
+<a name="l00168"></a>00168 };
+<a name="l00169"></a>00169 
+<a name="l00171"></a>00171 
+<a name="l00172"></a>00172 <span class="keyword">inline</span> ldmat&amp; ldmat::operator += (<span class="keyword">const</span> ldmat &amp;ldA)  {this-&gt;<span class="keyword">add</span>(ldA);<span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+<a name="l00173"></a>00173 <span class="keyword">inline</span> ldmat&amp; ldmat::operator -= (<span class="keyword">const</span> ldmat &amp;ldA)  {this-&gt;<span class="keyword">add</span>(ldA,-1.0);<span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+<a name="l00174"></a>00174 <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#743d3799d9e73403230c54e14ecf09ed" title="Reimplementing common functions of mat: cols().">ldmat::cols</a>(){<span class="keywordflow">return</span> dim;}
+<a name="l00175"></a>00175 <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classsqmat.html#f59664a4be09450f8c6ce3f5e5ab2dc7" title="Reimplementing common functions of mat: cols().">ldmat::rows</a>(){<span class="keywordflow">return</span> dim;}
+<a name="l00176"></a>00176 
+<a name="l00177"></a>00177 <span class="preprocessor">#endif // DC_H</span>
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
Index: /doc/latex/libBM_8h.tex
===================================================================
--- /doc/latex/libBM_8h.tex (revision 4)
+++ /doc/latex/libBM_8h.tex (revision 19)
@@ -1,7 +1,25 @@
-\section{work/mixpp/libBM.h File Reference}
-\label{libBM_8h}\index{work/mixpp/libBM.h@{work/mixpp/libBM.h}}
+\section{work/mixpp/bdm/stat/libBM.h File Reference}
+\label{libBM_8h}\index{work/mixpp/bdm/stat/libBM.h@{work/mixpp/bdm/stat/libBM.h}}
 Bayesian Models (bm) that use Bayes rule to learn from observations. 
 
 {\tt \#include $<$itpp/itbase.h$>$}\par
+
+
+Include dependency graph for libBM.h:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=100pt]{libBM_8h__incl}
+\end{center}
+\end{figure}
+
+
+This graph shows which files directly or indirectly include this file:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=420pt]{libBM_8h__dep__incl}
+\end{center}
+\end{figure}
 \subsection*{Classes}
 \begin{CompactItemize}
@@ -16,5 +34,7 @@
 \begin{CompactList}\small\item\em Probability density function with numerical statistics, e.g. posterior density. \item\end{CompactList}\item 
 class {\bf mpdf}
-\begin{CompactList}\small\item\em Conditional probability density, e.g. modeling some dependencies. \item\end{CompactList}\end{CompactItemize}
+\begin{CompactList}\small\item\em Conditional probability density, e.g. modeling some dependencies. \item\end{CompactList}\item 
+class {\bf DS}
+\begin{CompactList}\small\item\em Abstract class for discrete-time sources of data. \item\end{CompactList}\end{CompactItemize}
 
 
Index: /doc/latex/classfnc.tex
===================================================================
--- /doc/latex/classfnc.tex (revision 3)
+++ /doc/latex/classfnc.tex (revision 19)
@@ -6,4 +6,18 @@
 {\tt \#include $<$libBM.h$>$}
 
+Inheritance diagram for fnc:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=48pt]{classfnc__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for fnc:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=37pt]{classfnc__coll__graph}
+\end{center}
+\end{figure}
 
 
@@ -13,3 +27,3 @@
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libBM.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libBM.h}\end{CompactItemize}
Index: /doc/latex/classepdf.tex
===================================================================
--- /doc/latex/classepdf.tex (revision 8)
+++ /doc/latex/classepdf.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libBM.h$>$}
 
-Inheritance diagram for epdf::\begin{figure}[H]
+Inheritance diagram for epdf:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classepdf}
+\includegraphics[width=67pt]{classepdf__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for epdf:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=41pt]{classepdf__coll__graph}
 \end{center}
 \end{figure}
@@ -15,5 +23,5 @@
 \begin{CompactItemize}
 \item 
-virtual vec {\bf sample} ()
+virtual vec {\bf sample} ()=0
 \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 
 virtual double \textbf{eval} (const vec \&val)\label{classepdf_f333ceeb88ebc37d81fcd4cea4526bfc}
@@ -28,5 +36,5 @@
 \index{epdf@{epdf}!sample@{sample}}
 \index{sample@{sample}!epdf@{epdf}}
-\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual vec epdf::sample ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classepdf_e6ce993603a95c2645eb86305ea51396}
+\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual vec epdf::sample ()\hspace{0.3cm}{\tt  [pure virtual]}}\label{classepdf_7f74d871d50b9ff360f1b3879092a9fa}
 
 
@@ -35,7 +43,7 @@
 Returns a sample from the density, \$x  epdf(rv)\$ 
 
-Reimplemented in {\bf enorm$<$ sq\_\-T $>$} \doxyref{}{p.}{classenorm_6020bcd89db2c9584bd8871001bd2023}.
+Implemented in {\bf enorm$<$ sq\_\-T $>$} \doxyref{}{p.}{classenorm_6020bcd89db2c9584bd8871001bd2023}.
 
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libBM.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libBM.h}\end{CompactItemize}
Index: /doc/latex/classmpdf.tex
===================================================================
--- /doc/latex/classmpdf.tex (revision 8)
+++ /doc/latex/classmpdf.tex (revision 19)
@@ -6,6 +6,18 @@
 {\tt \#include $<$libBM.h$>$}
 
-Inherited by mEF.
-
+Inheritance diagram for mpdf:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=43pt]{classmpdf__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for mpdf:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=43pt]{classmpdf__coll__graph}
+\end{center}
+\end{figure}
 \subsection*{Public Member Functions}
 \begin{CompactItemize}
@@ -33,3 +45,3 @@
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libBM.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libBM.h}\end{CompactItemize}
Index: /doc/latex/libEF_8h.tex
===================================================================
--- /doc/latex/libEF_8h.tex (revision 8)
+++ /doc/latex/libEF_8h.tex (revision 19)
@@ -1,7 +1,18 @@
-\section{work/mixpp/libEF.h File Reference}
-\label{libEF_8h}\index{work/mixpp/libEF.h@{work/mixpp/libEF.h}}
+\section{work/mixpp/bdm/stat/libEF.h File Reference}
+\label{libEF_8h}\index{work/mixpp/bdm/stat/libEF.h@{work/mixpp/bdm/stat/libEF.h}}
 Probability distributions for Exponential Family models. 
 
 {\tt \#include $<$itpp/itbase.h$>$}\par
+{\tt \#include \char`\"{}../math/libDC.h\char`\"{}}\par
+{\tt \#include \char`\"{}libBM.h\char`\"{}}\par
+
+
+Include dependency graph for libEF.h:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=116pt]{libEF_8h__incl}
+\end{center}
+\end{figure}
 \subsection*{Classes}
 \begin{CompactItemize}
Index: /doc/latex/classfsqmat.tex
===================================================================
--- /doc/latex/classfsqmat.tex (revision 8)
+++ /doc/latex/classfsqmat.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libDC.h$>$}
 
-Inheritance diagram for fsqmat::\begin{figure}[H]
+Inheritance diagram for fsqmat:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=2cm]{classfsqmat}
+\includegraphics[width=47pt]{classfsqmat__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for fsqmat:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=47pt]{classfsqmat__coll__graph}
 \end{center}
 \end{figure}
@@ -21,3 +29,3 @@
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libDC.h}\end{CompactItemize}
+work/mixpp/bdm/math/{\bf libDC.h}\end{CompactItemize}
Index: /doc/latex/classBM.tex
===================================================================
--- /doc/latex/classBM.tex (revision 8)
+++ /doc/latex/classBM.tex (revision 19)
@@ -6,8 +6,9 @@
 {\tt \#include $<$libBM.h$>$}
 
-Inheritance diagram for BM::\begin{figure}[H]
+Inheritance diagram for BM:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classBM}
+\includegraphics[width=142pt]{classBM__inherit__graph}
 \end{center}
 \end{figure}
@@ -46,7 +47,7 @@
 
 
-Implemented in {\bf KalmanFull} \doxyref{}{p.}{classKalmanFull_048b13739b94c331cda08249b278552b}, {\bf Kalman$<$ sq\_\-T $>$} \doxyref{}{p.}{classKalman_e945d9205ca14acbd83ba80ea6f72b8e}, and {\bf TrivialPF} \doxyref{}{p.}{classTrivialPF_77a92bf054d763f806d27fc37a058389}.
+Implemented in {\bf KalmanFull} \doxyref{}{p.}{classKalmanFull_048b13739b94c331cda08249b278552b}, {\bf Kalman$<$ sq\_\-T $>$} \doxyref{}{p.}{classKalman_e945d9205ca14acbd83ba80ea6f72b8e}, {\bf PF} \doxyref{}{p.}{classPF_eb06bd7d4325f22f54233967295793b9}, and {\bf TrivialPF} \doxyref{}{p.}{classTrivialPF_77a92bf054d763f806d27fc37a058389}.
 
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libBM.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libBM.h}\end{CompactItemize}
Index: /doc/latex/classeEF.tex
===================================================================
--- /doc/latex/classeEF.tex (revision 8)
+++ /doc/latex/classeEF.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libEF.h$>$}
 
-Inheritance diagram for eEF::\begin{figure}[H]
+Inheritance diagram for eEF:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classeEF}
+\includegraphics[width=67pt]{classeEF__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for eEF:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=41pt]{classeEF__coll__graph}
 \end{center}
 \end{figure}
@@ -30,3 +38,3 @@
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libEF.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize}
Index: /doc/latex/libKF_8h.tex
===================================================================
--- /doc/latex/libKF_8h.tex (revision 8)
+++ /doc/latex/libKF_8h.tex (revision 19)
@@ -1,9 +1,18 @@
-\section{work/mixpp/libKF.h File Reference}
-\label{libKF_8h}\index{work/mixpp/libKF.h@{work/mixpp/libKF.h}}
+\section{work/mixpp/bdm/estim/libKF.h File Reference}
+\label{libKF_8h}\index{work/mixpp/bdm/estim/libKF.h@{work/mixpp/bdm/estim/libKF.h}}
 Bayesian Filtering for linear Gaussian models (\doxyref{Kalman}{p.}{classKalman} Filter) and extensions. 
 
 {\tt \#include $<$itpp/itbase.h$>$}\par
-{\tt \#include \char`\"{}libBM.h\char`\"{}}\par
-{\tt \#include \char`\"{}libDC.h\char`\"{}}\par
+{\tt \#include \char`\"{}../stat/libBM.h\char`\"{}}\par
+{\tt \#include \char`\"{}../math/libDC.h\char`\"{}}\par
+
+
+Include dependency graph for libKF.h:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=135pt]{libKF_8h__incl}
+\end{center}
+\end{figure}
 \subsection*{Classes}
 \begin{CompactItemize}
Index: /doc/latex/classTrivialPF.tex
===================================================================
--- /doc/latex/classTrivialPF.tex (revision 8)
+++ /doc/latex/classTrivialPF.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libPF.h$>$}
 
-Inheritance diagram for TrivialPF::\begin{figure}[H]
+Inheritance diagram for TrivialPF:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classTrivialPF}
+\includegraphics[width=49pt]{classTrivialPF__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for TrivialPF:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=67pt]{classTrivialPF__coll__graph}
 \end{center}
 \end{figure}
@@ -43,8 +51,8 @@
 
 
-Implements {\bf BM} \doxyref{}{p.}{classBM_c52edf4ad6e1dff9bf64b9e1e0cfb1f0}.
+Reimplemented from {\bf PF} \doxyref{}{p.}{classPF_eb06bd7d4325f22f54233967295793b9}.
 
 The documentation for this class was generated from the following files:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libPF.h}\item 
-work/mixpp/libPF.cpp\end{CompactItemize}
+work/mixpp/bdm/estim/{\bf libPF.h}\item 
+work/mixpp/bdm/estim/libPF.cpp\end{CompactItemize}
Index: /doc/latex/classKalman.tex
===================================================================
--- /doc/latex/classKalman.tex (revision 8)
+++ /doc/latex/classKalman.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libKF.h$>$}
 
-Inheritance diagram for Kalman$<$ sq\_\-T $>$::\begin{figure}[H]
+Inheritance diagram for Kalman$<$ sq\_\-T $>$:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=2cm]{classKalman}
+\includegraphics[width=70pt]{classKalman__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for Kalman$<$ sq\_\-T $>$:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=70pt]{classKalman__coll__graph}
 \end{center}
 \end{figure}
@@ -45,3 +53,3 @@
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libKF.h}\end{CompactItemize}
+work/mixpp/bdm/estim/{\bf libKF.h}\end{CompactItemize}
Index: /doc/latex/libPF_8h.tex
===================================================================
--- /doc/latex/libPF_8h.tex (revision 8)
+++ /doc/latex/libPF_8h.tex (revision 19)
@@ -1,9 +1,18 @@
-\section{work/mixpp/libPF.h File Reference}
-\label{libPF_8h}\index{work/mixpp/libPF.h@{work/mixpp/libPF.h}}
+\section{work/mixpp/bdm/estim/libPF.h File Reference}
+\label{libPF_8h}\index{work/mixpp/bdm/estim/libPF.h@{work/mixpp/bdm/estim/libPF.h}}
 Bayesian Filtering using stochastic sampling (Particle Filters). 
 
 {\tt \#include $<$itpp/itbase.h$>$}\par
-{\tt \#include \char`\"{}libBM.h\char`\"{}}\par
-{\tt \#include \char`\"{}libDC.h\char`\"{}}\par
+{\tt \#include \char`\"{}../stat/libBM.h\char`\"{}}\par
+{\tt \#include \char`\"{}../math/libDC.h\char`\"{}}\par
+
+
+Include dependency graph for libPF.h:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=135pt]{libPF_8h__incl}
+\end{center}
+\end{figure}
 \subsection*{Classes}
 \begin{CompactItemize}
@@ -19,6 +28,5 @@
 \item 
 enum \textbf{RESAMPLING\_\-METHOD} \{ \textbf{MULTINOMIAL} =  0, 
-\textbf{DETERMINISTIC} =  1, 
-\textbf{RESIDUAL} =  2, 
+\textbf{STRATIFIED} =  1, 
 \textbf{SYSTEMATIC} =  3
  \}
Index: /doc/latex/classPF.tex
===================================================================
--- /doc/latex/classPF.tex (revision 8)
+++ /doc/latex/classPF.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libPF.h$>$}
 
-Inheritance diagram for PF::\begin{figure}[H]
+Inheritance diagram for PF:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classPF}
+\includegraphics[width=49pt]{classPF__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for PF:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=38pt]{classPF__coll__graph}
 \end{center}
 \end{figure}
@@ -17,5 +25,10 @@
 ivec {\bf resample} (RESAMPLING\_\-METHOD method=SYSTEMATIC)\label{classPF_a0e26b2f6a5884aca49122f3e4f0cf19}
 
-\begin{CompactList}\small\item\em Returns indexes of particles that should be resampled. \item\end{CompactList}\end{CompactItemize}
+\begin{CompactList}\small\item\em Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.). \item\end{CompactList}\item 
+\textbf{PF} (vec w)\label{classPF_c37f95f0c1661c7f1e3fccb31d39de73}
+
+\item 
+void {\bf bayes} (const vec \&dt, bool evell)
+\begin{CompactList}\small\item\em Incremental Bayes rule. \item\end{CompactList}\end{CompactItemize}
 \subsection*{Protected Attributes}
 \begin{CompactItemize}
@@ -25,4 +38,7 @@
 \item 
 vec \textbf{w}\label{classPF_f6bc92f7979af4513b06b161497ba868}
+
+\item 
+Uniform\_\-RNG \textbf{URNG}\label{classPF_3568ca7c3b3175d98b548f496b4c34dd}
 
 \end{CompactItemize}
@@ -34,6 +50,25 @@
 Bayesian Filtering equations hold. 
 
+\subsection{Member Function Documentation}
+\index{PF@{PF}!bayes@{bayes}}
+\index{bayes@{bayes}!PF@{PF}}
+\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void PF::bayes (const vec \& {\em dt}, bool {\em evall})\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classPF_eb06bd7d4325f22f54233967295793b9}
+
+
+Incremental Bayes rule. 
+
+\begin{Desc}
+\item[Parameters:]
+\begin{description}
+\item[{\em dt}]vector of input data \item[{\em evall}]If true, the filter will compute likelihood of the data record and store it in {\tt ll} \end{description}
+\end{Desc}
+
+
+Implements {\bf BM} \doxyref{}{p.}{classBM_c52edf4ad6e1dff9bf64b9e1e0cfb1f0}.
+
+Reimplemented in {\bf TrivialPF} \doxyref{}{p.}{classTrivialPF_77a92bf054d763f806d27fc37a058389}.
+
 The documentation for this class was generated from the following files:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libPF.h}\item 
-work/mixpp/libPF.cpp\end{CompactItemize}
+work/mixpp/bdm/estim/{\bf libPF.h}\item 
+work/mixpp/bdm/estim/libPF.cpp\end{CompactItemize}
Index: /doc/latex/doxygen.sty
===================================================================
--- /doc/latex/doxygen.sty (revision 8)
+++ /doc/latex/doxygen.sty (revision 19)
@@ -11,6 +11,6 @@
 \rhead[\fancyplain{}{\bfseries\leftmark}]
         {\fancyplain{}{\bfseries\thepage}}
-\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Wed Jan 23 11:30:10 2008 for mixpp by Doxygen }]{}
-\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Wed Jan 23 11:30:10 2008 for mixpp by Doxygen }}
+\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Fri Feb 15 18:57:36 2008 for mixpp by Doxygen }]{}
+\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Feb 15 18:57:36 2008 for mixpp by Doxygen }}
 \cfoot{}
 \newenvironment{Code}
Index: /doc/latex/files.tex
===================================================================
--- /doc/latex/files.tex (revision 8)
+++ /doc/latex/files.tex (revision 19)
@@ -1,9 +1,11 @@
 \section{mixpp File List}
 Here is a list of all documented files with brief descriptions:\begin{CompactList}
-\item\contentsline{section}{work/mixpp/\textbf{itpp\_\-ext.h} }{\pageref{itpp__ext_8h}}{}
-\item\contentsline{section}{work/mixpp/{\bf libBM.h} (Bayesian Models (bm) that use Bayes rule to learn from observations )}{\pageref{libBM_8h}}{}
-\item\contentsline{section}{work/mixpp/{\bf libDC.h} (Matrices in decomposed forms (LDL', LU, UDU', etc) )}{\pageref{libDC_8h}}{}
-\item\contentsline{section}{work/mixpp/{\bf libEF.h} (Probability distributions for Exponential Family models )}{\pageref{libEF_8h}}{}
-\item\contentsline{section}{work/mixpp/{\bf libKF.h} (Bayesian Filtering for linear Gaussian models (\doxyref{Kalman}{p.}{classKalman} Filter) and extensions )}{\pageref{libKF_8h}}{}
-\item\contentsline{section}{work/mixpp/{\bf libPF.h} (Bayesian Filtering using stochastic sampling (Particle Filters) )}{\pageref{libPF_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/\textbf{itpp\_\-ext.h} }{\pageref{itpp__ext_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/estim/{\bf libKF.h} (Bayesian Filtering for linear Gaussian models (\doxyref{Kalman}{p.}{classKalman} Filter) and extensions )}{\pageref{libKF_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/estim/{\bf libPF.h} (Bayesian Filtering using stochastic sampling (Particle Filters) )}{\pageref{libPF_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/math/{\bf libDC.h} (Matrices in decomposed forms (LDL', LU, UDU', etc) )}{\pageref{libDC_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/stat/{\bf libBM.h} (Bayesian Models (bm) that use Bayes rule to learn from observations )}{\pageref{libBM_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/stat/{\bf libDS.h} (Common DataSources )}{\pageref{libDS_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/stat/{\bf libEF.h} (Probability distributions for Exponential Family models )}{\pageref{libEF_8h}}{}
+\item\contentsline{section}{work/mixpp/bdm/stat/\textbf{libFN.h} }{\pageref{libFN_8h}}{}
 \end{CompactList}
Index: /doc/latex/classenorm.tex
===================================================================
--- /doc/latex/classenorm.tex (revision 8)
+++ /doc/latex/classenorm.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libEF.h$>$}
 
-Inheritance diagram for enorm$<$ sq\_\-T $>$::\begin{figure}[H]
+Inheritance diagram for enorm$<$ sq\_\-T $>$:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=3cm]{classenorm}
+\includegraphics[width=67pt]{classenorm__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for enorm$<$ sq\_\-T $>$:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=72pt]{classenorm__coll__graph}
 \end{center}
 \end{figure}
@@ -26,5 +34,14 @@
 vec {\bf sample} ()
 \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 
+mat \textbf{sample} (int N)\label{classenorm_531bd094057afa768f4853a7e441920d}
+
+\item 
 double \textbf{eval} (const vec \&val)\label{classenorm_93107f05a8e9b34b64853767200121a4}
+
+\end{CompactItemize}
+\subsection*{Public Attributes}
+\begin{CompactItemize}
+\item 
+Normal\_\-RNG \textbf{RNG}\label{classenorm_a4de82a0d7ba9eaf31206318ae35d0d5}
 
 \end{CompactItemize}
@@ -48,7 +65,7 @@
 Returns a sample from the density, \$x  epdf(rv)\$ 
 
-Reimplemented from {\bf epdf} \doxyref{}{p.}{classepdf_e6ce993603a95c2645eb86305ea51396}.
+Implements {\bf epdf} \doxyref{}{p.}{classepdf_7f74d871d50b9ff360f1b3879092a9fa}.
 
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libEF.h}\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize}
Index: /doc/latex/refman.tex
===================================================================
--- /doc/latex/refman.tex (revision 8)
+++ /doc/latex/refman.tex (revision 19)
@@ -21,5 +21,5 @@
 {\large Generated by Doxygen 1.5.3}\\
 \vspace*{0.5cm}
-{\small Wed Jan 23 11:30:10 2008}\\
+{\small Fri Feb 15 18:57:36 2008}\\
 \end{center}
 \end{titlepage}
@@ -37,4 +37,5 @@
 \chapter{mixpp Class Documentation}
 \input{classBM}
+\include{classDS}
 \include{classeEF}
 \include{classenorm}
@@ -44,4 +45,5 @@
 \include{classKalman}
 \include{classKalmanFull}
+\include{classMemDS}
 \include{classmpdf}
 \include{classPF}
@@ -50,9 +52,10 @@
 \include{classTrivialPF}
 \chapter{mixpp File Documentation}
-\input{libBM_8h}
+\input{libKF_8h}
+\include{libPF_8h}
 \include{libDC_8h}
+\include{libBM_8h}
+\include{libDS_8h}
 \include{libEF_8h}
-\include{libKF_8h}
-\include{libPF_8h}
 \printindex
 \end{document}
Index: /doc/latex/classsqmat.tex
===================================================================
--- /doc/latex/classsqmat.tex (revision 8)
+++ /doc/latex/classsqmat.tex (revision 19)
@@ -6,8 +6,9 @@
 {\tt \#include $<$libDC.h$>$}
 
-Inheritance diagram for sqmat::\begin{figure}[H]
+Inheritance diagram for sqmat:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=2cm]{classsqmat}
+\includegraphics[width=78pt]{classsqmat__inherit__graph}
 \end{center}
 \end{figure}
@@ -25,4 +26,6 @@
 
 \begin{CompactList}\small\item\em Logarithm of a determinant. \item\end{CompactList}\item 
+virtual vec {\bf sqrt\_\-mult} (vec \&v)=0
+\begin{CompactList}\small\item\em Multiplies square root of \$V\$ by vector \$x\$. \item\end{CompactList}\item 
 virtual double {\bf qform} (vec \&v)=0\label{classsqmat_44e079468bc8bfccf634dc85b32ba6be}
 
@@ -37,8 +40,8 @@
 
 \begin{CompactList}\small\item\em Reimplementing common functions of mat: \doxyref{cols()}{p.}{classsqmat_743d3799d9e73403230c54e14ecf09ed}. \item\end{CompactList}\end{CompactItemize}
-\subsection*{Friends}
+\subsection*{Protected Attributes}
 \begin{CompactItemize}
 \item 
-std::ostream \& \textbf{operator$<$$<$} (std::ostream \&os, {\bf sqmat} \&sq)\label{classsqmat_c9eb5aa871432ddb9c5a45ddbbb19eab}
+int \textbf{dim}\label{classsqmat_0abed904bdc0882373ba9adba919689d}
 
 \end{CompactItemize}
@@ -73,7 +76,14 @@
 \item[{\em C}]multiplying matrix, \item[{\em trans}]if true, product \$V = C'$\ast$V$\ast$C\$ will be computed instead; \end{description}
 \end{Desc}
+\index{sqmat@{sqmat}!sqrt_mult@{sqrt\_\-mult}}
+\index{sqrt_mult@{sqrt\_\-mult}!sqmat@{sqmat}}
+\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual vec sqmat::sqrt\_\-mult (vec \& {\em v})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classsqmat_b5236c8a050199e1a9d338b0da1a08d2}
 
+
+Multiplies square root of \$V\$ by vector \$x\$. 
+
+Used e.g. in generating normal samples. 
 
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libDC.h}\end{CompactItemize}
+work/mixpp/bdm/math/{\bf libDC.h}\end{CompactItemize}
Index: /doc/latex/classKalmanFull.tex
===================================================================
--- /doc/latex/classKalmanFull.tex (revision 8)
+++ /doc/latex/classKalmanFull.tex (revision 19)
@@ -6,8 +6,16 @@
 {\tt \#include $<$libKF.h$>$}
 
-Inheritance diagram for KalmanFull::\begin{figure}[H]
+Inheritance diagram for KalmanFull:\nopagebreak
+\begin{figure}[H]
 \begin{center}
 \leavevmode
-\includegraphics[height=2cm]{classKalmanFull}
+\includegraphics[width=56pt]{classKalmanFull__inherit__graph}
+\end{center}
+\end{figure}
+Collaboration diagram for KalmanFull:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=56pt]{classKalmanFull__coll__graph}
 \end{center}
 \end{figure}
@@ -43,4 +51,4 @@
 The documentation for this class was generated from the following files:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libKF.h}\item 
-work/mixpp/libKF.cpp\end{CompactItemize}
+work/mixpp/bdm/estim/{\bf libKF.h}\item 
+work/mixpp/bdm/estim/libKF.cpp\end{CompactItemize}
Index: /doc/latex/libDC_8h.tex
===================================================================
--- /doc/latex/libDC_8h.tex (revision 8)
+++ /doc/latex/libDC_8h.tex (revision 19)
@@ -1,7 +1,25 @@
-\section{work/mixpp/libDC.h File Reference}
-\label{libDC_8h}\index{work/mixpp/libDC.h@{work/mixpp/libDC.h}}
+\section{work/mixpp/bdm/math/libDC.h File Reference}
+\label{libDC_8h}\index{work/mixpp/bdm/math/libDC.h@{work/mixpp/bdm/math/libDC.h}}
 Matrices in decomposed forms (LDL', LU, UDU', etc). 
 
 {\tt \#include $<$itpp/itbase.h$>$}\par
+
+
+Include dependency graph for libDC.h:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=104pt]{libDC_8h__incl}
+\end{center}
+\end{figure}
+
+
+This graph shows which files directly or indirectly include this file:\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=276pt]{libDC_8h__dep__incl}
+\end{center}
+\end{figure}
 \subsection*{Classes}
 \begin{CompactItemize}
Index: /doc/latex/annotated.tex
===================================================================
--- /doc/latex/annotated.tex (revision 8)
+++ /doc/latex/annotated.tex (revision 19)
@@ -2,4 +2,5 @@
 Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList}
 \item\contentsline{section}{{\bf BM} (Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities )}{\pageref{classBM}}{}
+\item\contentsline{section}{{\bf DS} (Abstract class for discrete-time sources of data )}{\pageref{classDS}}{}
 \item\contentsline{section}{{\bf eEF} (General conjugate exponential family posterior density )}{\pageref{classeEF}}{}
 \item\contentsline{section}{{\bf enorm$<$ sq\_\-T $>$} (General exponential family density )}{\pageref{classenorm}}{}
@@ -9,4 +10,5 @@
 \item\contentsline{section}{{\bf Kalman$<$ sq\_\-T $>$} (\doxyref{Kalman}{p.}{classKalman} filter with covaraince matrices in square root form )}{\pageref{classKalman}}{}
 \item\contentsline{section}{{\bf KalmanFull} (Basic \doxyref{Kalman}{p.}{classKalman} filter with full matrices (education purpose only)! Will be deleted soon! )}{\pageref{classKalmanFull}}{}
+\item\contentsline{section}{{\bf MemDS} (Class representing off-line data stored in memory )}{\pageref{classMemDS}}{}
 \item\contentsline{section}{{\bf mpdf} (Conditional probability density, e.g. modeling some dependencies )}{\pageref{classmpdf}}{}
 \item\contentsline{section}{{\bf PF} (A Particle Filter prototype )}{\pageref{classPF}}{}
Index: /doc/latex/classRV.tex
===================================================================
--- /doc/latex/classRV.tex (revision 8)
+++ /doc/latex/classRV.tex (revision 19)
@@ -18,17 +18,17 @@
 
 \begin{CompactList}\small\item\em Empty constructor will be set later. \item\end{CompactList}\item 
-int {\bf length} ()\label{classRV_a764092415291a0e6452a3711749d18e}
+int {\bf count} ()\label{classRV_9dcaca7b87cfb0e24a19260067d62f04}
 
 \begin{CompactList}\small\item\em Return length (number of scalars) of the \doxyref{RV}{p.}{classRV}. \item\end{CompactList}\item 
-ivec {\bf rvfind} ({\bf RV} rv2)\label{classRV_45b869bced40dc3fa0df584aaf8228c0}
+ivec {\bf find} ({\bf RV} rv2)\label{classRV_6b078b1086224aca3a9e5a203e647fb6}
 
 \begin{CompactList}\small\item\em Find indexes of another rv in self. \item\end{CompactList}\item 
-{\bf RV} {\bf rvadd} ({\bf RV} rv2)\label{classRV_f47ab0015ebac822da3b2e00f42a8fc6}
+{\bf RV} {\bf add} ({\bf RV} rv2)\label{classRV_f068a86abb5a6e46fcf76c939d2ed2ec}
 
 \begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\item 
-{\bf RV} {\bf rvsubt} ({\bf RV} rv2)\label{classRV_269023ac4d41b21c4e1f7f17db1603b9}
+{\bf RV} {\bf subt} ({\bf RV} rv2)\label{classRV_4c5ec5e913fc598e242cb930ae8bdf4a}
 
 \begin{CompactList}\small\item\em Subtract another variable from the current one. \item\end{CompactList}\item 
-{\bf RV} {\bf rvsubselect} (ivec ind)\label{classRV_70a53f2bc37929bae899b0b24cda9d8e}
+{\bf RV} {\bf subselect} (ivec ind)\label{classRV_2bf35b18a32aad419f0516273939628e}
 
 \begin{CompactList}\small\item\em Select only variables at indeces ind. \item\end{CompactList}\item 
@@ -54,4 +54,4 @@
 The documentation for this class was generated from the following files:\begin{CompactItemize}
 \item 
-work/mixpp/{\bf libBM.h}\item 
-work/mixpp/libBM.cpp\end{CompactItemize}
+work/mixpp/bdm/stat/{\bf libBM.h}\item 
+work/mixpp/bdm/stat/libBM.cpp\end{CompactItemize}
Index: /doc/latex/hierarchy.tex
===================================================================
--- /doc/latex/hierarchy.tex (revision 8)
+++ /doc/latex/hierarchy.tex (revision 19)
@@ -9,4 +9,8 @@
 \item \contentsline{section}{TrivialPF}{\pageref{classTrivialPF}}{}
 \end{CompactList}
+\end{CompactList}
+\item \contentsline{section}{DS}{\pageref{classDS}}{}
+\begin{CompactList}
+\item \contentsline{section}{MemDS}{\pageref{classMemDS}}{}
 \end{CompactList}
 \item \contentsline{section}{epdf}{\pageref{classepdf}}{}
Index: /BDM.kdevelop
===================================================================
--- /BDM.kdevelop (revision 19)
+++ /BDM.kdevelop (revision 19)
@@ -0,0 +1,198 @@
+<?xml version = '1.0'?>
+<kdevelop>
+  <general>
+  <projectmanagement>KDevCustomProject</projectmanagement>
+  <projectdirectory>/home/smidl/work/mixpp</projectdirectory>
+  <absoluteprojectpath>true</absoluteprojectpath>
+    <author></author>
+    <email></email>
+    <version>$VERSION$</version>
+    <primarylanguage>C++</primarylanguage>
+    <ignoreparts/>
+    <secondaryLanguages>
+      <language>C</language>
+    </secondaryLanguages>
+    <projectname>BDM</projectname>
+    <description></description>
+    <defaultencoding></defaultencoding>
+  </general>
+  <kdevcustomproject>
+    <filelistdirectory>/home/smidl/work/mixpp</filelistdirectory>
+    <run>
+      <mainprogram>/home/smidl/work/mixpp/tests/testPF</mainprogram>
+      <directoryradio>custom</directoryradio>
+      <customdirectory>/home/smidl/work/mixpp</customdirectory>
+      <programargs></programargs>
+      <terminal>false</terminal>
+      <autocompile>true</autocompile>
+      <envvars/>
+      <globaldebugarguments></globaldebugarguments>
+      <globalcwd>/home/smidl/work/mixpp</globalcwd>
+      <useglobalprogram>false</useglobalprogram>
+      <autoinstall>false</autoinstall>
+      <autokdesu>false</autokdesu>
+    </run>
+    <build>
+      <buildtool>make</buildtool>
+      <builddir>/home/smidl/work/mixpp</builddir>
+    </build>
+    <make>
+      <abortonerror>false</abortonerror>
+      <numberofjobs>1</numberofjobs>
+      <dontact>false</dontact>
+      <makebin></makebin>
+      <selectedenvironment>default</selectedenvironment>
+      <environments>
+        <default/>
+      </environments>
+      <prio>0</prio>
+      <defaulttarget></defaulttarget>
+      <makeoptions></makeoptions>
+    </make>
+    <filetypes>
+      <filetype>*.java</filetype>
+      <filetype>*.h</filetype>
+      <filetype>*.H</filetype>
+      <filetype>*.hh</filetype>
+      <filetype>*.hxx</filetype>
+      <filetype>*.hpp</filetype>
+      <filetype>*.c</filetype>
+      <filetype>*.C</filetype>
+      <filetype>*.cc</filetype>
+      <filetype>*.cpp</filetype>
+      <filetype>*.c++</filetype>
+      <filetype>*.cxx</filetype>
+      <filetype>Makefile</filetype>
+      <filetype>CMakeLists.txt</filetype>
+    </filetypes>
+    <blacklist/>
+    <other>
+      <prio>0</prio>
+      <otherbin></otherbin>
+      <defaulttarget></defaulttarget>
+      <otheroptions></otheroptions>
+      <selectedenvironment>default</selectedenvironment>
+      <environments>
+        <default/>
+      </environments>
+    </other>
+  </kdevcustomproject>
+  <kdevfilecreate>
+    <filetypes/>
+    <useglobaltypes>
+      <type ext="ui" />
+      <type ext="cpp" />
+      <type ext="h" />
+    </useglobaltypes>
+  </kdevfilecreate>
+  <kdevdoctreeview>
+    <projectdoc>
+      <userdocDir>html/</userdocDir>
+      <apidocDir>html/</apidocDir>
+    </projectdoc>
+    <ignoreqt_xml/>
+    <ignoredoxygen/>
+    <ignorekdocs/>
+    <ignoretocs/>
+    <ignoredevhelp/>
+  </kdevdoctreeview>
+  <cppsupportpart>
+    <filetemplates>
+      <interfacesuffix>.h</interfacesuffix>
+      <implementationsuffix>.cpp</implementationsuffix>
+    </filetemplates>
+  </cppsupportpart>
+  <kdevcppsupport>
+    <codecompletion>
+      <includeGlobalFunctions>true</includeGlobalFunctions>
+      <includeTypes>true</includeTypes>
+      <includeEnums>true</includeEnums>
+      <includeTypedefs>false</includeTypedefs>
+      <automaticCodeCompletion>true</automaticCodeCompletion>
+      <automaticArgumentsHint>true</automaticArgumentsHint>
+      <automaticHeaderCompletion>true</automaticHeaderCompletion>
+      <codeCompletionDelay>250</codeCompletionDelay>
+      <argumentsHintDelay>400</argumentsHintDelay>
+      <headerCompletionDelay>250</headerCompletionDelay>
+      <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
+      <completionBoxItemOrder>0</completionBoxItemOrder>
+      <howEvaluationContextMenu>true</howEvaluationContextMenu>
+      <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
+      <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
+      <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
+      <processPrimaryTypes>true</processPrimaryTypes>
+      <processFunctionArguments>false</processFunctionArguments>
+      <preProcessAllHeaders>false</preProcessAllHeaders>
+      <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
+      <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
+      <alwaysParseInBackground>true</alwaysParseInBackground>
+      <usePermanentCaching>true</usePermanentCaching>
+      <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
+      <includePaths>.;</includePaths>
+    </codecompletion>
+    <references/>
+    <qt>
+      <used>false</used>
+      <version>3</version>
+      <includestyle>3</includestyle>
+      <root>/usr/share/qt3</root>
+      <designerintegration>EmbeddedKDevDesigner</designerintegration>
+      <qmake>/usr/bin/qmake-qt3</qmake>
+      <designer></designer>
+      <designerpluginpaths/>
+    </qt>
+    <creategettersetter>
+      <prefixGet></prefixGet>
+      <prefixSet>set</prefixSet>
+      <prefixVariable>m_,_</prefixVariable>
+      <parameterName>theValue</parameterName>
+      <inlineGet>true</inlineGet>
+      <inlineSet>true</inlineSet>
+    </creategettersetter>
+    <splitheadersource>
+      <enabled>false</enabled>
+      <synchronize>true</synchronize>
+      <orientation>Vertical</orientation>
+    </splitheadersource>
+  </kdevcppsupport>
+  <kdevfileview>
+    <groups>
+      <group pattern="CMakeLists.txt;*.cmake;" name="CMake" />
+      <group pattern="*.h;*.hxx" name="Header" />
+      <group pattern="*.cpp;*.c;*.C;*.cxx" name="Sources" />
+      <group pattern="*.ui" name="Qt Designer files" />
+      <hidenonprojectfiles>true</hidenonprojectfiles>
+      <hidenonlocation>false</hidenonlocation>
+    </groups>
+    <tree>
+      <hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns>
+      <hidenonprojectfiles>false</hidenonprojectfiles>
+    </tree>
+  </kdevfileview>
+  <kdevdebugger>
+    <general>
+  <projectmanagement>KDevCustomProject</projectmanagement>
+  <projectdirectory>/home/smidl/work/mixpp</projectdirectory>
+  <absoluteprojectpath>true</absoluteprojectpath>
+      <gdbpath></gdbpath>
+      <dbgshell></dbgshell>
+      <configGdbScript></configGdbScript>
+      <runShellScript></runShellScript>
+      <runGdbScript></runGdbScript>
+      <breakonloadinglibs>true</breakonloadinglibs>
+      <separatetty>false</separatetty>
+      <floatingtoolbar>false</floatingtoolbar>
+      <raiseGDBOnStart>false</raiseGDBOnStart>
+    </general>
+    <display>
+      <staticmembers>false</staticmembers>
+      <demanglenames>true</demanglenames>
+      <outputradix>10</outputradix>
+    </display>
+  </kdevdebugger>
+  <ctagspart>
+    <customArguments/>
+    <customTagfilePath>/home/smidl/work/mixpp/tags</customTagfilePath>
+    <activeTagsFiles/>
+  </ctagspart>
+</kdevelop>
Index: /CMakeLists.txt
===================================================================
--- /CMakeLists.txt (revision 19)
+++ /CMakeLists.txt (revision 19)
@@ -0,0 +1,13 @@
+# The name of our project is "BDM".  CMakeLists files in this project can
+# refer to the root source directory of the project as ${BDM_SOURCE_DIR} and
+# to the root binary directory of the project as ${BDM_BINARY_DIR}.
+project (BDM)
+
+#This is for UNIX makefile which does only one release at a time.
+SET(CMAKE_BUILD_TYPE Debug)
+
+# Recurse into the "dbm" and "tests" subdirectories.  This does not actually
+# cause another cmake executable to run.  The same process will walk through
+# the project's entire directory structure.
+add_subdirectory (bdm)
+add_subdirectory (tests)
Index: /xpp.kdevelop.filelist
===================================================================
--- /mixpp.kdevelop.filelist (revision 18)
+++  (revision )
@@ -1,38 +1,0 @@
-# KDevelop Custom Project File List
-Makefile
-bdm
-bdm/Makefile
-bdm/design
-bdm/design/Makefile
-bdm/estim
-bdm/estim/Makefile
-bdm/estim/arx.cpp
-bdm/estim/libKF.cpp
-bdm/estim/libKF.h
-bdm/estim/libPF.cpp
-bdm/estim/libPF.h
-bdm/itpp_ext.cpp
-bdm/itpp_ext.h
-bdm/math
-bdm/math/Makefile
-bdm/math/libDC.cpp
-bdm/math/libDC.h
-bdm/stat
-bdm/stat/Makefile
-bdm/stat/libBM.cpp
-bdm/stat/libBM.h
-bdm/stat/libDS.cpp
-bdm/stat/libDS.h
-bdm/stat/libEF.cpp
-bdm/stat/libEF.h
-bdm/stat/libFN.cpp
-bdm/stat/libFN.h
-doc
-doc/latex
-doc/latex/Makefile
-tests
-tests/Makefile
-tests/test0.cpp
-tests/testKF.cpp
-tests/testPF.cpp
-tests/testSmp.cpp
Index: /xpp.kdevelop
===================================================================
--- /mixpp.kdevelop (revision 18)
+++  (revision )
@@ -1,233 +1,0 @@
-<?xml version = '1.0'?>
-<kdevelop>
-  <general>
-    <author>smidl</author>
-    <email>smidl@utia.cas.cz</email>
-    <version>1</version>
-    <projectmanagement>KDevCustomProject</projectmanagement>
-    <primarylanguage>C++</primarylanguage>
-    <ignoreparts/>
-    <projectname>mixpp</projectname>
-    <projectdirectory>.</projectdirectory>
-    <absoluteprojectpath>false</absoluteprojectpath>
-    <description></description>
-    <defaultencoding></defaultencoding>
-    <versioncontrol>kdevsubversion</versioncontrol>
-  </general>
-  <kdevcustomproject>
-    <run>
-      <directoryradio>executable</directoryradio>
-      <mainprogram>/home/smidl/work/mixpp/tests/test0</mainprogram>
-      <programargs></programargs>
-      <globaldebugarguments></globaldebugarguments>
-      <globalcwd>/home/smidl/work/mixpp</globalcwd>
-      <useglobalprogram>false</useglobalprogram>
-      <terminal>false</terminal>
-      <autocompile>false</autocompile>
-      <autoinstall>false</autoinstall>
-      <autokdesu>false</autokdesu>
-      <envvars/>
-    </run>
-    <filetypes>
-      <filetype>*.java</filetype>
-      <filetype>*.h</filetype>
-      <filetype>*.H</filetype>
-      <filetype>*.hh</filetype>
-      <filetype>*.hxx</filetype>
-      <filetype>*.hpp</filetype>
-      <filetype>*.c</filetype>
-      <filetype>*.C</filetype>
-      <filetype>*.cc</filetype>
-      <filetype>*.cpp</filetype>
-      <filetype>*.c++</filetype>
-      <filetype>*.cxx</filetype>
-      <filetype>Makefile</filetype>
-      <filetype>CMakeLists.txt</filetype>
-    </filetypes>
-    <blacklist>
-      <path>lib0a.cpp</path>
-      <path>lib0.c</path>
-      <path>extern</path>
-      <path>extern/lt_ldfil</path>
-      <path>extern/lt_ldfil/ldredneg.c</path>
-      <path>extern/lt_ldfil/negdydr.c</path>
-    </blacklist>
-    <build>
-      <buildtool>make</buildtool>
-      <builddir></builddir>
-    </build>
-    <other>
-      <prio>0</prio>
-      <otherbin></otherbin>
-      <defaulttarget></defaulttarget>
-      <otheroptions></otheroptions>
-      <selectedenvironment>default</selectedenvironment>
-      <environments>
-        <default/>
-      </environments>
-    </other>
-    <make>
-      <abortonerror>false</abortonerror>
-      <numberofjobs>0</numberofjobs>
-      <prio>0</prio>
-      <dontact>false</dontact>
-      <makebin></makebin>
-      <defaulttarget></defaulttarget>
-      <makeoptions></makeoptions>
-      <selectedenvironment>default</selectedenvironment>
-      <environments>
-        <default/>
-      </environments>
-    </make>
-  </kdevcustomproject>
-  <kdevdebugger>
-    <general>
-      <dbgshell></dbgshell>
-      <gdbpath></gdbpath>
-      <configGdbScript></configGdbScript>
-      <runShellScript></runShellScript>
-      <runGdbScript></runGdbScript>
-      <breakonloadinglibs>true</breakonloadinglibs>
-      <separatetty>false</separatetty>
-      <floatingtoolbar>false</floatingtoolbar>
-      <raiseGDBOnStart>false</raiseGDBOnStart>
-    </general>
-    <display>
-      <staticmembers>false</staticmembers>
-      <demanglenames>true</demanglenames>
-      <outputradix>10</outputradix>
-    </display>
-  </kdevdebugger>
-  <kdevdoctreeview>
-    <ignoretocs>
-      <toc>ada</toc>
-      <toc>ada_bugs_gcc</toc>
-      <toc>bash</toc>
-      <toc>bash_bugs</toc>
-      <toc>clanlib</toc>
-      <toc>fortran_bugs_gcc</toc>
-      <toc>gnome1</toc>
-      <toc>gnustep</toc>
-      <toc>gtk</toc>
-      <toc>gtk_bugs</toc>
-      <toc>haskell</toc>
-      <toc>haskell_bugs_ghc</toc>
-      <toc>java_bugs_gcc</toc>
-      <toc>java_bugs_sun</toc>
-      <toc>kde2book</toc>
-      <toc>opengl</toc>
-      <toc>pascal_bugs_fp</toc>
-      <toc>php</toc>
-      <toc>php_bugs</toc>
-      <toc>perl</toc>
-      <toc>perl_bugs</toc>
-      <toc>python</toc>
-      <toc>python_bugs</toc>
-      <toc>qt-kdev3</toc>
-      <toc>ruby</toc>
-      <toc>ruby_bugs</toc>
-      <toc>sdl</toc>
-      <toc>sw</toc>
-      <toc>w3c-dom-level2-html</toc>
-      <toc>w3c-svg</toc>
-      <toc>w3c-uaag10</toc>
-      <toc>wxwidgets_bugs</toc>
-    </ignoretocs>
-    <ignoreqt_xml>
-      <toc>Guide to the Qt Translation Tools</toc>
-      <toc>Qt Assistant Manual</toc>
-      <toc>Qt Designer Manual</toc>
-      <toc>Qt Reference Documentation</toc>
-      <toc>qmake User Guide</toc>
-    </ignoreqt_xml>
-    <ignoredoxygen>
-      <toc>KDE Libraries (Doxygen)</toc>
-    </ignoredoxygen>
-  </kdevdoctreeview>
-  <kdevfilecreate>
-    <filetypes/>
-    <useglobaltypes>
-      <type ext="ui" />
-      <type ext="cpp" />
-      <type ext="h" />
-    </useglobaltypes>
-  </kdevfilecreate>
-  <kdevcppsupport>
-    <qt>
-      <used>false</used>
-      <version>3</version>
-      <includestyle>3</includestyle>
-      <root>/usr/share/qt3</root>
-      <designerintegration>EmbeddedKDevDesigner</designerintegration>
-      <qmake>/usr/bin/qmake-qt3</qmake>
-      <designer></designer>
-      <designerpluginpaths/>
-    </qt>
-    <codecompletion>
-      <automaticCodeCompletion>false</automaticCodeCompletion>
-      <automaticArgumentsHint>true</automaticArgumentsHint>
-      <automaticHeaderCompletion>true</automaticHeaderCompletion>
-      <codeCompletionDelay>250</codeCompletionDelay>
-      <argumentsHintDelay>400</argumentsHintDelay>
-      <headerCompletionDelay>250</headerCompletionDelay>
-      <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
-      <completionBoxItemOrder>0</completionBoxItemOrder>
-      <howEvaluationContextMenu>true</howEvaluationContextMenu>
-      <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
-      <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
-      <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
-      <processPrimaryTypes>true</processPrimaryTypes>
-      <processFunctionArguments>false</processFunctionArguments>
-      <preProcessAllHeaders>false</preProcessAllHeaders>
-      <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
-      <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
-      <alwaysParseInBackground>true</alwaysParseInBackground>
-      <usePermanentCaching>true</usePermanentCaching>
-      <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
-      <includePaths>.;</includePaths>
-    </codecompletion>
-    <creategettersetter>
-      <prefixGet></prefixGet>
-      <prefixSet>set</prefixSet>
-      <prefixVariable>m_,_</prefixVariable>
-      <parameterName>theValue</parameterName>
-      <inlineGet>true</inlineGet>
-      <inlineSet>true</inlineSet>
-    </creategettersetter>
-    <splitheadersource>
-      <enabled>false</enabled>
-      <synchronize>true</synchronize>
-      <orientation>Vertical</orientation>
-    </splitheadersource>
-    <references/>
-  </kdevcppsupport>
-  <cppsupportpart>
-    <filetemplates>
-      <interfacesuffix>.h</interfacesuffix>
-      <implementationsuffix>.cpp</implementationsuffix>
-    </filetemplates>
-  </cppsupportpart>
-  <kdevdocumentation>
-    <projectdoc>
-      <docsystem/>
-      <docurl/>
-      <usermanualurl/>
-    </projectdoc>
-  </kdevdocumentation>
-  <kdevfileview>
-    <groups>
-      <hidenonprojectfiles>false</hidenonprojectfiles>
-      <hidenonlocation>false</hidenonlocation>
-    </groups>
-    <tree>
-      <hidepatterns>*.o,*.lo,CVS</hidepatterns>
-      <hidenonprojectfiles>true</hidenonprojectfiles>
-      <showvcsfields>false</showvcsfields>
-    </tree>
-  </kdevfileview>
-  <ctagspart>
-    <customArguments/>
-    <customTagfilePath>/home/smidl/work/mixpp/tags</customTagfilePath>
-    <activeTagsFiles/>
-  </ctagspart>
-</kdevelop>
Index: /xpp.tag
===================================================================
--- /mixpp.tag (revision 8)
+++  (revision )
@@ -1,460 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' standalone='yes' ?>
-<tagfile>
-  <compound kind="file">
-    <name>libBM.h</name>
-    <path>/home/smidl/work/mixpp/</path>
-    <filename>libBM_8h</filename>
-    <class kind="class">RV</class>
-    <class kind="class">fnc</class>
-    <class kind="class">BM</class>
-    <class kind="class">epdf</class>
-    <class kind="class">mpdf</class>
-  </compound>
-  <compound kind="file">
-    <name>libDC.h</name>
-    <path>/home/smidl/work/mixpp/</path>
-    <filename>libDC_8h</filename>
-    <class kind="class">sqmat</class>
-    <class kind="class">fsqmat</class>
-    <class kind="class">ldmat</class>
-  </compound>
-  <compound kind="file">
-    <name>libEF.h</name>
-    <path>/home/smidl/work/mixpp/</path>
-    <filename>libEF_8h</filename>
-    <class kind="class">eEF</class>
-    <class kind="class">mEF</class>
-    <class kind="class">enorm</class>
-    <class kind="class">mlnorm</class>
-  </compound>
-  <compound kind="file">
-    <name>libKF.h</name>
-    <path>/home/smidl/work/mixpp/</path>
-    <filename>libKF_8h</filename>
-    <includes id="libBM_8h" name="libBM.h" local="yes" imported="no">libBM.h</includes>
-    <includes id="libDC_8h" name="libDC.h" local="yes" imported="no">libDC.h</includes>
-    <class kind="class">KalmanFull</class>
-    <class kind="class">Kalman</class>
-  </compound>
-  <compound kind="file">
-    <name>libPF.h</name>
-    <path>/home/smidl/work/mixpp/</path>
-    <filename>libPF_8h</filename>
-    <includes id="libBM_8h" name="libBM.h" local="yes" imported="no">libBM.h</includes>
-    <includes id="libDC_8h" name="libDC.h" local="yes" imported="no">libDC.h</includes>
-    <class kind="class">PF</class>
-    <class kind="class">TrivialPF</class>
-    <class kind="class">MPF</class>
-  </compound>
-  <compound kind="class">
-    <name>BM</name>
-    <filename>classBM.html</filename>
-    <member kind="function" virtualness="pure">
-      <type>virtual void</type>
-      <name>bayes</name>
-      <anchorfile>classBM.html</anchorfile>
-      <anchor>c52edf4ad6e1dff9bf64b9e1e0cfb1f0</anchor>
-      <arglist>(const vec &amp;dt, bool evall=true)=0</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>bayes</name>
-      <anchorfile>classBM.html</anchorfile>
-      <anchor>87b07867fd4c133aa89a18543f68d9f9</anchor>
-      <arglist>(mat Dt)</arglist>
-    </member>
-    <member kind="variable">
-      <type>double</type>
-      <name>ll</name>
-      <anchorfile>classBM.html</anchorfile>
-      <anchor>5623fef6572a08c2b53b8c87b82dc979</anchor>
-      <arglist></arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>eEF</name>
-    <filename>classeEF.html</filename>
-    <base>epdf</base>
-    <member kind="function" virtualness="virtual">
-      <type>virtual void</type>
-      <name>tupdate</name>
-      <anchorfile>classeEF.html</anchorfile>
-      <anchor>fd88bc35550ec8fe9281d358216d0fcf</anchor>
-      <arglist>(double phi, mat &amp;vbar, double nubar)</arglist>
-    </member>
-    <member kind="function" virtualness="virtual">
-      <type>virtual void</type>
-      <name>dupdate</name>
-      <anchorfile>classeEF.html</anchorfile>
-      <anchor>5863718c3b2fb1496dece10c5b745d5c</anchor>
-      <arglist>(mat &amp;v, double nu=1.0)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>enorm</name>
-    <filename>classenorm.html</filename>
-    <templarg>sq_T</templarg>
-    <base>eEF</base>
-    <member kind="function">
-      <type></type>
-      <name>enorm</name>
-      <anchorfile>classenorm.html</anchorfile>
-      <anchor>183891111686898adef0f6ca292e600d</anchor>
-      <arglist>(RV &amp;rv, vec &amp;mu, sq_T &amp;R)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>tupdate</name>
-      <anchorfile>classenorm.html</anchorfile>
-      <anchor>5b5fd142b6b17ea334597960e3fe126a</anchor>
-      <arglist>(double phi, mat &amp;vbar, double nubar)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>dupdate</name>
-      <anchorfile>classenorm.html</anchorfile>
-      <anchor>5bf185e31e5954fceb90ada3debd2ff2</anchor>
-      <arglist>(mat &amp;v, double nu=1.0)</arglist>
-    </member>
-    <member kind="function">
-      <type>vec</type>
-      <name>sample</name>
-      <anchorfile>classenorm.html</anchorfile>
-      <anchor>6020bcd89db2c9584bd8871001bd2023</anchor>
-      <arglist>()</arglist>
-    </member>
-    <member kind="function">
-      <type>double</type>
-      <name>eval</name>
-      <anchorfile>classenorm.html</anchorfile>
-      <anchor>93107f05a8e9b34b64853767200121a4</anchor>
-      <arglist>(const vec &amp;val)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>epdf</name>
-    <filename>classepdf.html</filename>
-    <member kind="function" virtualness="virtual">
-      <type>virtual vec</type>
-      <name>sample</name>
-      <anchorfile>classepdf.html</anchorfile>
-      <anchor>e6ce993603a95c2645eb86305ea51396</anchor>
-      <arglist>()</arglist>
-    </member>
-    <member kind="function" virtualness="virtual">
-      <type>virtual double</type>
-      <name>eval</name>
-      <anchorfile>classepdf.html</anchorfile>
-      <anchor>f333ceeb88ebc37d81fcd4cea4526bfc</anchor>
-      <arglist>(const vec &amp;val)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>fnc</name>
-    <filename>classfnc.html</filename>
-  </compound>
-  <compound kind="class">
-    <name>fsqmat</name>
-    <filename>classfsqmat.html</filename>
-    <base protection="private">sqmat</base>
-  </compound>
-  <compound kind="class">
-    <name>Kalman</name>
-    <filename>classKalman.html</filename>
-    <templarg>sq_T</templarg>
-    <base>BM</base>
-    <member kind="function">
-      <type></type>
-      <name>Kalman</name>
-      <anchorfile>classKalman.html</anchorfile>
-      <anchor>83118f4bd2ecbc70b03cfd573088ed6f</anchor>
-      <arglist>(mat A0, mat B0, mat C0, mat D0, sq_T R0, sq_T Q0, sq_T P0, vec mu0)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>bayes</name>
-      <anchorfile>classKalman.html</anchorfile>
-      <anchor>e945d9205ca14acbd83ba80ea6f72b8e</anchor>
-      <arglist>(const vec &amp;dt, bool evalll=true)</arglist>
-    </member>
-    <member kind="variable">
-      <type>vec</type>
-      <name>mu</name>
-      <anchorfile>classKalman.html</anchorfile>
-      <anchor>3063a3f58a74cea672ae889971012eed</anchor>
-      <arglist></arglist>
-    </member>
-    <member kind="variable">
-      <type>sq_T</type>
-      <name>P</name>
-      <anchorfile>classKalman.html</anchorfile>
-      <anchor>188cd5ac1c9e496b1a371eb7c57c97d3</anchor>
-      <arglist></arglist>
-    </member>
-    <member kind="friend">
-      <type>friend std::ostream &amp;</type>
-      <name>operator&lt;&lt;</name>
-      <anchorfile>classKalman.html</anchorfile>
-      <anchor>86ba216243ed95bb46d80d88775d16af</anchor>
-      <arglist>(std::ostream &amp;os, const KalmanFull &amp;kf)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>KalmanFull</name>
-    <filename>classKalmanFull.html</filename>
-    <base>BM</base>
-    <member kind="function">
-      <type></type>
-      <name>KalmanFull</name>
-      <anchorfile>classKalmanFull.html</anchorfile>
-      <anchor>7197ab6e7380790006394eabd3b97043</anchor>
-      <arglist>(mat A, mat B, mat C, mat D, mat R, mat Q, mat P0, vec mu0)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>bayes</name>
-      <anchorfile>classKalmanFull.html</anchorfile>
-      <anchor>048b13739b94c331cda08249b278552b</anchor>
-      <arglist>(const vec &amp;dt, bool evalll=true)</arglist>
-    </member>
-    <member kind="variable">
-      <type>vec</type>
-      <name>mu</name>
-      <anchorfile>classKalmanFull.html</anchorfile>
-      <anchor>fb5aec635e2720cc5ac31bc01c18a68a</anchor>
-      <arglist></arglist>
-    </member>
-    <member kind="variable">
-      <type>mat</type>
-      <name>P</name>
-      <anchorfile>classKalmanFull.html</anchorfile>
-      <anchor>b75dc059e84fa8ffc076203b30f926cc</anchor>
-      <arglist></arglist>
-    </member>
-    <member kind="friend">
-      <type>friend std::ostream &amp;</type>
-      <name>operator&lt;&lt;</name>
-      <anchorfile>classKalmanFull.html</anchorfile>
-      <anchor>86ba216243ed95bb46d80d88775d16af</anchor>
-      <arglist>(std::ostream &amp;os, const KalmanFull &amp;kf)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>mpdf</name>
-    <filename>classmpdf.html</filename>
-    <member kind="function" virtualness="virtual">
-      <type>virtual vec</type>
-      <name>samplecond</name>
-      <anchorfile>classmpdf.html</anchorfile>
-      <anchor>c20c796f8d0a201f0897299150e45a41</anchor>
-      <arglist>(vec &amp;cond, double lik)</arglist>
-    </member>
-    <member kind="function" virtualness="virtual">
-      <type>virtual void</type>
-      <name>condition</name>
-      <anchorfile>classmpdf.html</anchorfile>
-      <anchor>cfb3dffef7c03598622e414668bb0588</anchor>
-      <arglist>(vec &amp;cond)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>PF</name>
-    <filename>classPF.html</filename>
-    <base>BM</base>
-    <member kind="function">
-      <type>ivec</type>
-      <name>resample</name>
-      <anchorfile>classPF.html</anchorfile>
-      <anchor>a0e26b2f6a5884aca49122f3e4f0cf19</anchor>
-      <arglist>(RESAMPLING_METHOD method=SYSTEMATIC)</arglist>
-    </member>
-    <member kind="variable" protection="protected">
-      <type>int</type>
-      <name>n</name>
-      <anchorfile>classPF.html</anchorfile>
-      <anchor>2c2f44ed7a4eaa42e07bdb58d503f280</anchor>
-      <arglist></arglist>
-    </member>
-    <member kind="variable" protection="protected">
-      <type>vec</type>
-      <name>w</name>
-      <anchorfile>classPF.html</anchorfile>
-      <anchor>f6bc92f7979af4513b06b161497ba868</anchor>
-      <arglist></arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>RV</name>
-    <filename>classRV.html</filename>
-    <member kind="function">
-      <type></type>
-      <name>RV</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>e46882dec2c30b12be282d34b03417b2</anchor>
-      <arglist>(ivec in_ids, Array&lt; std::string &gt; in_names, ivec in_sizes, ivec in_times, ivec in_obs)</arglist>
-    </member>
-    <member kind="function">
-      <type></type>
-      <name>RV</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>cf911c3900214460ade1366b04058462</anchor>
-      <arglist>(ivec ids)</arglist>
-    </member>
-    <member kind="function">
-      <type></type>
-      <name>RV</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>6a22f5c06d6403870d4e414b1993bf9e</anchor>
-      <arglist>()</arglist>
-    </member>
-    <member kind="function">
-      <type>int</type>
-      <name>length</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>a764092415291a0e6452a3711749d18e</anchor>
-      <arglist>()</arglist>
-    </member>
-    <member kind="function">
-      <type>ivec</type>
-      <name>rvfind</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>45b869bced40dc3fa0df584aaf8228c0</anchor>
-      <arglist>(RV rv2)</arglist>
-    </member>
-    <member kind="function">
-      <type>RV</type>
-      <name>rvadd</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>f47ab0015ebac822da3b2e00f42a8fc6</anchor>
-      <arglist>(RV rv2)</arglist>
-    </member>
-    <member kind="function">
-      <type>RV</type>
-      <name>rvsubt</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>269023ac4d41b21c4e1f7f17db1603b9</anchor>
-      <arglist>(RV rv2)</arglist>
-    </member>
-    <member kind="function">
-      <type>RV</type>
-      <name>rvsubselect</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>70a53f2bc37929bae899b0b24cda9d8e</anchor>
-      <arglist>(ivec ind)</arglist>
-    </member>
-    <member kind="function">
-      <type>RV</type>
-      <name>operator()</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>28bbcb8873bafdac317bafb7b481cc45</anchor>
-      <arglist>(ivec ind)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>t</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>e0a158d53ab9430627241f844f4c9a60</anchor>
-      <arglist>(int delta)</arglist>
-    </member>
-    <member kind="friend">
-      <type>friend std::ostream &amp;</type>
-      <name>operator&lt;&lt;</name>
-      <anchorfile>classRV.html</anchorfile>
-      <anchor>cad6f15535d10437f6690cb4492176a8</anchor>
-      <arglist>(std::ostream &amp;os, const RV &amp;rv)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>sqmat</name>
-    <filename>classsqmat.html</filename>
-    <member kind="function" virtualness="pure">
-      <type>virtual void</type>
-      <name>opupdt</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>b223484796661f2dadb5607a86ce0581</anchor>
-      <arglist>(const vec &amp;v, double w)=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual mat</type>
-      <name>to_mat</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>9a5b6fddfeb42339e1dc9b978a2590fc</anchor>
-      <arglist>()=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual void</type>
-      <name>mult_sym</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>faa3bc90be142adde9cf74f573c70157</anchor>
-      <arglist>(const mat &amp;C, bool trans=true)=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual double</type>
-      <name>logdet</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>5c852819589f74cdaefbd648c0ce8547</anchor>
-      <arglist>()=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual double</type>
-      <name>qform</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>44e079468bc8bfccf634dc85b32ba6be</anchor>
-      <arglist>(vec &amp;v)=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual void</type>
-      <name>clear</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>6fca246f9eabbdeb8cac03030e826b5e</anchor>
-      <arglist>()=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual int</type>
-      <name>cols</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>743d3799d9e73403230c54e14ecf09ed</anchor>
-      <arglist>()=0</arglist>
-    </member>
-    <member kind="function" virtualness="pure">
-      <type>virtual int</type>
-      <name>rows</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>f59664a4be09450f8c6ce3f5e5ab2dc7</anchor>
-      <arglist>()=0</arglist>
-    </member>
-    <member kind="friend">
-      <type>friend std::ostream &amp;</type>
-      <name>operator&lt;&lt;</name>
-      <anchorfile>classsqmat.html</anchorfile>
-      <anchor>c9eb5aa871432ddb9c5a45ddbbb19eab</anchor>
-      <arglist>(std::ostream &amp;os, sqmat &amp;sq)</arglist>
-    </member>
-  </compound>
-  <compound kind="class">
-    <name>TrivialPF</name>
-    <filename>classTrivialPF.html</filename>
-    <base>PF</base>
-    <member kind="function">
-      <type></type>
-      <name>TrivialPF</name>
-      <anchorfile>classTrivialPF.html</anchorfile>
-      <anchor>e6d9e3506da221a10a517bd5712b5a84</anchor>
-      <arglist>(mpdf &amp;par, mpdf &amp;obs, mpdf &amp;prop, int n0)</arglist>
-    </member>
-    <member kind="function">
-      <type></type>
-      <name>TrivialPF</name>
-      <anchorfile>classTrivialPF.html</anchorfile>
-      <anchor>59fc4c55a2d5fbb6bc9a17a9dd9a2e13</anchor>
-      <arglist>(mpdf &amp;par, mpdf &amp;obs, int n0)</arglist>
-    </member>
-    <member kind="function">
-      <type>void</type>
-      <name>bayes</name>
-      <anchorfile>classTrivialPF.html</anchorfile>
-      <anchor>77a92bf054d763f806d27fc37a058389</anchor>
-      <arglist>(const vec &amp;dt, bool evalll)</arglist>
-    </member>
-  </compound>
-</tagfile>
Index: /kefile
===================================================================
--- /Makefile (revision 18)
+++  (revision )
@@ -1,12 +1,0 @@
-export LDLIBS=-litpp_debug
-export CPPFLAGS=-g
-
-all: subsystem
-
-subsystem:
-	$(MAKE) -C bdm
-	$(MAKE) -C tests
-
-clean:
-	cd tests && $(MAKE) clean
-	cd bdm && $(MAKE) clean
