dsplib 1.1.0
C++ DSP library for MATLAB-like coding
Loading...
Searching...
No Matches
czt.h
1#pragma once
2
3#include <dsplib/fft.h>
4#include <memory>
5
6namespace dsplib {
7
8class CztPlanImpl;
9
10class CztPlan : public FftPlanC
11{
12public:
13 explicit CztPlan(int n, int m, cmplx_t w, cmplx_t a = 1);
14
15 [[nodiscard]] arr_cmplx solve(span_t<cmplx_t> x) const final;
16
18
19 [[nodiscard]] int size() const noexcept final;
20
21private:
22 std::shared_ptr<CztPlanImpl> _d;
23};
24
33arr_cmplx czt(span_t<cmplx_t> x, int m, cmplx_t w, cmplx_t a = 1);
34
35} // namespace dsplib
Definition czt.h:11
void solve(span_t< cmplx_t > x, mut_span_t< cmplx_t > r) const final
c2c FFT solve
FFT c2c base class.
Definition fft.h:13
Definition span.h:27
Definition span.h:295
Definition types.h:102