mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
79 lines
1.6 KiB
C++
79 lines
1.6 KiB
C++
/*****************************************************************************
|
|
|
|
FFTRealSelect.h
|
|
By Laurent de Soras
|
|
|
|
--- Legal stuff ---
|
|
|
|
This program is free software. It comes without any warranty, to
|
|
the extent permitted by applicable law. You can redistribute it
|
|
and/or modify it under the terms of the Do What The Fuck You Want
|
|
To Public License, Version 2, as published by Sam Hocevar. See
|
|
http://sam.zoy.org/wtfpl/COPYING for more details.
|
|
|
|
*Tab=3***********************************************************************/
|
|
|
|
|
|
|
|
#if ! defined (ffft_FFTRealSelect_HEADER_INCLUDED)
|
|
#define ffft_FFTRealSelect_HEADER_INCLUDED
|
|
|
|
#if defined (_MSC_VER)
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
|
|
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|
|
|
|
#include "def.h"
|
|
|
|
|
|
|
|
namespace ffft
|
|
{
|
|
|
|
|
|
|
|
template <int P>
|
|
class FFTRealSelect
|
|
{
|
|
|
|
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|
|
|
|
public:
|
|
|
|
ffft_FORCEINLINE static float *
|
|
sel_bin (float *e_ptr, float *o_ptr);
|
|
|
|
|
|
|
|
/*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|
|
|
|
private:
|
|
|
|
FFTRealSelect ();
|
|
~FFTRealSelect ();
|
|
FFTRealSelect (const FFTRealSelect &other);
|
|
FFTRealSelect& operator = (const FFTRealSelect &other);
|
|
bool operator == (const FFTRealSelect &other);
|
|
bool operator != (const FFTRealSelect &other);
|
|
|
|
}; // class FFTRealSelect
|
|
|
|
|
|
|
|
} // namespace ffft
|
|
|
|
|
|
|
|
#include "FFTRealSelect.hpp"
|
|
|
|
|
|
|
|
#endif // ffft_FFTRealSelect_HEADER_INCLUDED
|
|
|
|
|
|
|
|
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|