#ifndef SPROUT_RANGE_NUMERIC_DFT_FIT_AMPLITUDE_SPECTRUM_HPP #define SPROUT_RANGE_NUMERIC_DFT_FIT_AMPLITUDE_SPECTRUM_HPP #include #include #include #include #include namespace sprout { namespace range { namespace fit { // // amplitude_spectrum // template inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm::type amplitude_spectrum(InputRange const& rng, Result const& result) { return sprout::fit::amplitude_spectrum(sprout::begin(rng), sprout::end(rng), result); } template inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm::type amplitude_spectrum(InputRange const& rng) { return sprout::fit::amplitude_spectrum(sprout::begin(rng), sprout::end(rng)); } } // namespace fit } // namespace range } // namespace sprout #endif // #ifndef SPROUT_RANGE_NUMERIC_DFT_FIT_AMPLITUDE_SPECTRUM_HPP