vpdl_multi_cmp_dist.h
Go to the documentation of this file.
1 // This is core/vpdl/vpdl_multi_cmp_dist.h
2 #ifndef vpdl_multi_cmp_dist_h_
3 #define vpdl_multi_cmp_dist_h_
4 //:
5 // \file
6 // \author Matthew Leotta
7 // \date February 18, 2009
8 // \brief base class for multiple component distributions
9 //
10 // \verbatim
11 // Modifications
12 // None
13 // \endverbatim
14 
15 #include <vpdl/vpdl_distribution.h>
16 
17 //: The base class for all multiple component probability distributions.
18 template<class T, unsigned int n=0>
20 {
21 public:
22  //: the data type used for vectors
24  //: the data type used for matrices
26 
27 
28  //: Destructor
29  virtual ~vpdl_multi_cmp_dist() {}
30 
31  //: The number of components
32  virtual unsigned int num_components() const = 0;
33 
34 };
35 
36 
37 
38 
39 #endif // vpdl_multi_cmp_dist_h_
The templated base class for all distributions.
virtual unsigned int num_components() const =0
The number of components.
virtual ~vpdl_multi_cmp_dist()
Destructor.
vpdt_field_traits< vector >::matrix_type matrix
the data type used for matrices.
The field traits class (scalar).
The base class for all probability distributions.
The base class for all multiple component probability distributions.
vpdt_field_default< T, n >::type vector
the data type used for vectors.