|
Revision 982, 427 bytes
(checked in by smidl, 15 years ago)
|
|
Example application using bdm in C++
|
| Line | |
|---|
| 1 | /*! |
|---|
| 2 | \file |
|---|
| 3 | \brief Robust Bayesian auto-regression model |
|---|
| 4 | \author Jan Sindelar. |
|---|
| 5 | */ |
|---|
| 6 | |
|---|
| 7 | #ifndef EXAMPLE_LIB_H |
|---|
| 8 | #define EXAMPLE_LIB_H |
|---|
| 9 | |
|---|
| 10 | #include <stat/exp_family.h> |
|---|
| 11 | |
|---|
| 12 | using namespace bdm; |
|---|
| 13 | using namespace std; |
|---|
| 14 | |
|---|
| 15 | class my_pdf: public egamma { |
|---|
| 16 | public: |
|---|
| 17 | my_pdf():egamma(){cout << "hello world"<<endl;} |
|---|
| 18 | }; |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | //! Robust Bayesian AR model for Multicriteria-Laplace-Inverse-Gamma density |
|---|
| 22 | class my_BM : public BM{ |
|---|
| 23 | }; |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | #endif //EXAMPLE_LIB |
|---|