34 static_assert(std::is_same_v<FloatType, float> or
35 std::is_same_v<FloatType, double>,
36 "FFTW only implements float and double");
47 FloatType *
allocate(std::size_t n)
const;
49 void deallocate(FloatType *p, std::size_t)
const noexcept;
52template <
class T>
using vector = std::vector<T, allocator<T>>;
std::vector< T, allocator< T > > vector
Aligned allocator for FFT data.
allocator() noexcept=default
FloatType * allocate(std::size_t n) const
bool operator!=(allocator< U > const &) const
bool operator==(allocator< U > const &) const
void deallocate(FloatType *p, std::size_t) const noexcept