2021-10-09 15:16:34 -05:00
|
|
|
/*****************************************************************************
|
|
|
|
|
|
|
|
FFTRealSelect.hpp
|
|
|
|
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_CURRENT_CODEHEADER)
|
|
|
|
#error Recursive inclusion of FFTRealSelect code header.
|
|
|
|
#endif
|
|
|
|
#define ffft_FFTRealSelect_CURRENT_CODEHEADER
|
|
|
|
|
|
|
|
#if ! defined (ffft_FFTRealSelect_CODEHEADER_INCLUDED)
|
|
|
|
#define ffft_FFTRealSelect_CODEHEADER_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace ffft
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <int P>
|
|
|
|
float * FFTRealSelect <P>::sel_bin (float *e_ptr, float *o_ptr)
|
|
|
|
{
|
2021-11-04 20:32:19 -06:00
|
|
|
(void) e_ptr;
|
2021-10-09 15:16:34 -05:00
|
|
|
return (o_ptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
inline float * FFTRealSelect <0>::sel_bin (float *e_ptr, float *o_ptr)
|
|
|
|
{
|
2021-11-04 20:32:19 -06:00
|
|
|
(void) o_ptr;
|
2021-10-09 15:16:34 -05:00
|
|
|
return (e_ptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace ffft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ffft_FFTRealSelect_CODEHEADER_INCLUDED
|
|
|
|
|
|
|
|
#undef ffft_FFTRealSelect_CURRENT_CODEHEADER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
|