kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
Loading...
Searching...
No Matches
rfft.h
Go to the documentation of this file.
1
18
23
24#ifndef KALDI_NATIVE_FBANK_CSRC_RFFT_H_
25#define KALDI_NATIVE_FBANK_CSRC_RFFT_H_
26
27#include <cstdint>
28#include <memory>
29
30namespace knf {
31
44class Rfft {
45 public:
50 explicit Rfft(int32_t n, bool inverse = false);
51
54
66 void Compute(float *in_out);
67
69 void Compute(double *in_out);
70
71 private:
72 class RfftImpl;
73
74 std::unique_ptr<RfftImpl> impl_;
75};
76
77} // namespace knf
78
79#endif // KALDI_NATIVE_FBANK_CSRC_RFFT_H_
void Compute(double *in_out)
Same as above, but for double precision.
~Rfft()
Destructor.
Rfft(int32_t n, bool inverse=false)
Construct an Rfft object.
void Compute(float *in_out)
Transform in place.
This file is part of kaldi-native-fbank.
Definition feature-cmvn.h:42