12345678910111213141516171819202122232425262728293031323334353637 |
- #include <iostream>
- #include "vislearning/math/pdf/PDF.h"
- using namespace OBJREC;
- using namespace std;
- using namespace NICE;
- PDF::PDF()
- {
- }
- PDF::~PDF()
- {
- }
- double PDF::getProb ( const NICE::Vector & x ) const
- {
- return exp ( - getNLogDensity(x) );
- }
|