SpectMorph
smpolyphaseinter.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_POLY_PHASE_INTER_HH
4 #define SPECTMORPH_POLY_PHASE_INTER_HH
5 
6 #include <vector>
7 #include <sys/types.h>
8 
9 namespace SpectMorph
10 {
11 
13 {
15  ~PolyPhaseInter() {}
16 
17  std::vector<float> x;
18 
19 public:
20  static PolyPhaseInter *the();
21 
22  double get_sample (const std::vector<float>& signal, double pos);
23  double get_sample_no_check (const std::vector<float>& signal, double pos);
24 
25  size_t get_min_padding();
26 };
27 
28 };
29 
30 #endif
Definition: smpolyphaseinter.hh:12
Definition: smalignedarray.cc:7