1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00

move dft functional/ -> numeric/

This commit is contained in:
bolero-MURAKAMI 2012-04-10 12:54:38 +09:00
parent e6bfb69be9
commit 4a8e938887
20 changed files with 78 additions and 77 deletions

1
README
View file

@ -30,6 +30,7 @@ constexpr バリアント (Variants)
constexpr アルゴリズム (Algorithms)
sprout/algorithm.hpp
sprout/numeric.hpp
sprout/numeric/dft.hpp
constexpr 範囲アルゴリズム (Range algorithms)
sprout/range/algorithm.hpp

View file

@ -1,11 +0,0 @@
#ifndef SPROUT_FUNCTIONAL_DFT_HPP
#define SPROUT_FUNCTIONAL_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/functional/dft/dft.hpp>
#include <sprout/functional/dft/idft.hpp>
#include <sprout/functional/dft/dft_element.hpp>
#include <sprout/functional/dft/idft_element.hpp>
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_HPP

View file

@ -1,8 +0,0 @@
#ifndef SPROUT_FUNCTIONAL_DFT_DFT_HPP
#define SPROUT_FUNCTIONAL_DFT_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/functional/dft/fixed/dft.hpp>
#include <sprout/functional/dft/fit/dft.hpp>
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_DFT_HPP

View file

@ -1,8 +0,0 @@
#ifndef SPROUT_FUNCTIONAL_DFT_IDFT_HPP
#define SPROUT_FUNCTIONAL_DFT_IDFT_HPP
#include <sprout/config.hpp>
#include <sprout/functional/dft/fixed/idft.hpp>
#include <sprout/functional/dft/fit/idft.hpp>
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_IDFT_HPP

View file

@ -1,8 +0,0 @@
#ifndef SPROUT_FUNCTIONAL_FFT_HPP
#define SPROUT_FUNCTIONAL_FFT_HPP
#include <sprout/config.hpp>
#include <sprout/functional/fft/bitrev_table.hpp>
#endif // #ifndef SPROUT_FUNCTIONAL_FFT_HPP

View file

@ -1,8 +0,0 @@
#ifndef SPROUT_FUNCTIONAL_FFT_BITREV_TABLE_HPP
#define SPROUT_FUNCTIONAL_FFT_BITREV_TABLE_HPP
#include <sprout/config.hpp>
#include <sprout/functional/fft/fixed/bitrev_table.hpp>
#include <sprout/functional/fft/fit/bitrev_table.hpp>
#endif // #ifndef SPROUT_FUNCTIONAL_FFT_BITREV_TABLE_HPP

11
sprout/numeric/dft.hpp Normal file
View file

@ -0,0 +1,11 @@
#ifndef SPROUT_NUMERIC_DFT_HPP
#define SPROUT_NUMERIC_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/numeric/dft/dft.hpp>
#include <sprout/numeric/dft/idft.hpp>
#include <sprout/numeric/dft/dft_element.hpp>
#include <sprout/numeric/dft/idft_element.hpp>
#endif // #ifndef SPROUT_NUMERIC_DFT_HPP

View file

@ -1,5 +1,5 @@
#ifndef SPROUT_FUNCTIONAL_DFT_DETAIL_DFT_ELEMENT_GEN_HPP
#define SPROUT_FUNCTIONAL_DFT_DETAIL_DFT_ELEMENT_GEN_HPP
#ifndef SPROUT_NUMERIC_DFT_DETAIL_DFT_ELEMENT_GEN_HPP
#define SPROUT_NUMERIC_DFT_DETAIL_DFT_ELEMENT_GEN_HPP
#include <cmath>
#include <iterator>
@ -37,4 +37,4 @@ namespace sprout {
} // namespace detail
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_DETAIL_DFT_ELEMENT_GEN_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_DETAIL_DFT_ELEMENT_GEN_HPP

View file

@ -0,0 +1,8 @@
#ifndef SPROUT_NUMERIC_DFT_DFT_HPP
#define SPROUT_NUMERIC_DFT_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/numeric/dft/fixed/dft.hpp>
#include <sprout/numeric/dft/fit/dft.hpp>
#endif // #ifndef SPROUT_NUMERIC_DFT_DFT_HPP

View file

@ -1,9 +1,9 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIXED_DFT_ELEMENT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIXED_DFT_ELEMENT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIXED_DFT_ELEMENT_HPP
#define SPROUT_NUMERIC_DFT_FIXED_DFT_ELEMENT_HPP
#include <iterator>
#include <sprout/config.hpp>
#include <sprout/functional/dft/detail/dft_element_gen.hpp>
#include <sprout/numeric/dft/detail/dft_element_gen.hpp>
#include <sprout/math/constants.hpp>
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
@ -45,4 +45,4 @@ namespace sprout {
}
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIXED_DFT_ELEMENT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIXED_DFT_ELEMENT_HPP

View file

@ -1,10 +1,10 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIT_DFT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIT_DFT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIT_DFT_HPP
#define SPROUT_NUMERIC_DFT_FIT_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/functional/dft/fixed/dft.hpp>
#include <sprout/numeric/dft/fixed/dft.hpp>
#include <sprout/algorithm/fit/result_of.hpp>
#include <sprout/sub_array.hpp>
#include HDR_ALGORITHM_SSCRISK_CEL_OR_SPROUT
@ -43,4 +43,4 @@ namespace sprout {
} // namespace fit
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIT_DFT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIT_DFT_HPP

View file

@ -1,10 +1,10 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIT_IDFT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIT_IDFT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIT_IDFT_HPP
#define SPROUT_NUMERIC_DFT_FIT_IDFT_HPP
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/functional/dft/fixed/idft.hpp>
#include <sprout/numeric/dft/fixed/idft.hpp>
#include <sprout/algorithm/fit/result_of.hpp>
#include <sprout/sub_array.hpp>
#include HDR_ALGORITHM_SSCRISK_CEL_OR_SPROUT
@ -43,4 +43,4 @@ namespace sprout {
} // namespace fit
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIT_IDFT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIT_IDFT_HPP

View file

@ -1,5 +1,5 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIXED_DFT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIXED_DFT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIXED_DFT_HPP
#define SPROUT_NUMERIC_DFT_FIXED_DFT_HPP
#include <sprout/config.hpp>
#include <sprout/index_tuple.hpp>
@ -7,7 +7,7 @@
#include <sprout/container/functions.hpp>
#include <sprout/iterator/operation.hpp>
#include <sprout/algorithm/fixed/result_of.hpp>
#include <sprout/functional/dft/dft_element.hpp>
#include <sprout/numeric/dft/dft_element.hpp>
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
namespace sprout {
@ -68,4 +68,4 @@ namespace sprout {
using sprout::fixed::dft;
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIXED_DFT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIXED_DFT_HPP

View file

@ -1,5 +1,5 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIXED_IDFT_HPP
#define SPROUT_NUMERIC_DFT_FIXED_IDFT_HPP
#include <sprout/config.hpp>
#include <sprout/index_tuple.hpp>
@ -7,7 +7,7 @@
#include <sprout/container/functions.hpp>
#include <sprout/iterator/operation.hpp>
#include <sprout/algorithm/fixed/result_of.hpp>
#include <sprout/functional/dft/idft_element.hpp>
#include <sprout/numeric/dft/idft_element.hpp>
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
namespace sprout {
@ -68,4 +68,4 @@ namespace sprout {
using sprout::fixed::idft;
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIXED_IDFT_HPP

View file

@ -0,0 +1,8 @@
#ifndef SPROUT_NUMERIC_DFT_IDFT_HPP
#define SPROUT_NUMERIC_DFT_IDFT_HPP
#include <sprout/config.hpp>
#include <sprout/numeric/dft/fixed/idft.hpp>
#include <sprout/numeric/dft/fit/idft.hpp>
#endif // #ifndef SPROUT_NUMERIC_DFT_IDFT_HPP

View file

@ -1,9 +1,9 @@
#ifndef SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_ELEMENT_HPP
#define SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_ELEMENT_HPP
#ifndef SPROUT_NUMERIC_DFT_FIXED_IDFT_ELEMENT_HPP
#define SPROUT_NUMERIC_DFT_FIXED_IDFT_ELEMENT_HPP
#include <iterator>
#include <sprout/config.hpp>
#include <sprout/functional/dft/detail/dft_element_gen.hpp>
#include <sprout/numeric/dft/detail/dft_element_gen.hpp>
#include <sprout/math/constants.hpp>
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
@ -47,4 +47,4 @@ namespace sprout {
}
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_DFT_FIXED_IDFT_ELEMENT_HPP
#endif // #ifndef SPROUT_NUMERIC_DFT_FIXED_IDFT_ELEMENT_HPP

8
sprout/numeric/fft.hpp Normal file
View file

@ -0,0 +1,8 @@
#ifndef SPROUT_NUMERIC_FFT_HPP
#define SPROUT_NUMERIC_FFT_HPP
#include <sprout/config.hpp>
#include <sprout/numeric/fft/bitrev_table.hpp>
#endif // #ifndef SPROUT_NUMERIC_FFT_HPP

View file

@ -0,0 +1,8 @@
#ifndef SPROUT_NUMERIC_FFT_BITREV_TABLE_HPP
#define SPROUT_NUMERIC_FFT_BITREV_TABLE_HPP
#include <sprout/config.hpp>
#include <sprout/numeric/fft/fixed/bitrev_table.hpp>
#include <sprout/numeric/fft/fit/bitrev_table.hpp>
#endif // #ifndef SPROUT_NUMERIC_FFT_BITREV_TABLE_HPP

View file

@ -1,11 +1,11 @@
#ifndef SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP
#define SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP
#ifndef SPROUT_NUMERIC_FFT_FIT_BITREV_TABLE_HPP
#define SPROUT_NUMERIC_FFT_FIT_BITREV_TABLE_HPP
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/functional/fft/fixed/bitrev_table.hpp>
#include <sprout/numeric/fft/fixed/bitrev_table.hpp>
#include <sprout/algorithm/fit/result_of.hpp>
#include <sprout/sub_array.hpp>
@ -38,4 +38,4 @@ namespace sprout {
} // namespace fit
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP
#endif // #ifndef SPROUT_NUMERIC_FFT_FIT_BITREV_TABLE_HPP

View file

@ -1,5 +1,5 @@
#ifndef SPROUT_FUNCTIONAL_FFT_FIXED_BITREV_TABLE_HPP
#define SPROUT_FUNCTIONAL_FFT_FIXED_BITREV_TABLE_HPP
#ifndef SPROUT_NUMERIC_FFT_FIXED_BITREV_TABLE_HPP
#define SPROUT_NUMERIC_FFT_FIXED_BITREV_TABLE_HPP
#include <cstddef>
#include <type_traits>
@ -61,4 +61,4 @@ namespace sprout {
using sprout::fixed::bitrev_table;
} // namespace sprout
#endif // #ifndef SPROUT_FUNCTIONAL_FFT_FIXED_BITREV_TABLE_HPP
#endif // #ifndef SPROUT_NUMERIC_FFT_FIXED_BITREV_TABLE_HPP