GNU Radio's GFDM Package
gfdm_kernel_utils.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2017 Johannes Demel.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21
22#ifndef INCLUDED_GFDM_GFDM_KERNEL_UTILS_H
23#define INCLUDED_GFDM_GFDM_KERNEL_UTILS_H
24
25//#include <gfdm/api.h>
26#include <complex>
27#include <vector>
28#include <boost/shared_ptr.hpp>
29#include <fftw3.h>
30#include <stdexcept>
31
32namespace gr {
33 namespace gfdm {
34
35 /*!
36 * \brief <+description+>
37 *
38 */
40 {
41 public:
42 typedef std::complex<float> gfdm_complex;
43
46
47 fftwf_plan initialize_fft(gfdm_complex* out_buf, gfdm_complex* in_buf, const int fft_size, bool forward);
48 float calculate_signal_energy(const gfdm_complex* p_in, const int ninput_size);
49 private:
50 };
51
52 } // namespace gfdm
53} // namespace gr
54
55#endif /* INCLUDED_GFDM_GFDM_KERNEL_UTILS_H */
56
<+description+>
Definition gfdm_kernel_utils.h:40
float calculate_signal_energy(const gfdm_complex *p_in, const int ninput_size)
fftwf_plan initialize_fft(gfdm_complex *out_buf, gfdm_complex *in_buf, const int fft_size, bool forward)
std::complex< float > gfdm_complex
Definition gfdm_kernel_utils.h:42
Definition add_cyclic_prefix_cc.h:30