rehashing
naiveKDE.h
1 #ifndef HBE_NAIVEKDE_H
2 #define HBE_NAIVEKDE_H
3 
4 
5 #include <Eigen/Dense>
6 #include "kernel.h"
7 
8 using Eigen::MatrixXd;
9 using Eigen::VectorXd;
10 
14 class naiveKDE {
15 public:
16  naiveKDE(shared_ptr<MatrixXd> data, shared_ptr<Kernel> k);
17  double query(VectorXd q);
18 private:
19  shared_ptr<MatrixXd> X;
20  int numPoints;
21  shared_ptr<Kernel> kernel;
22 };
23 
24 
25 #endif //HBE_NAIVEKDE_H
Definition: naiveKDE.h:14