pointset.h 299 B

123456789101112131415161718
  1. #ifndef POINTSET_H
  2. #define POINTSET_H
  3. #include <cstdio>
  4. class pointset {
  5. public:
  6. pointset(int dim, int npoints);
  7. ~pointset();
  8. double* point(int i);
  9. double discrepancy();
  10. void dump(FILE *f);
  11. protected:
  12. const int dim, npoints;
  13. double **data;
  14. };
  15. #endif // POINTSET_H