// Copyright (C) 2026 Kiyotsugu Arai // SPDX-License-Identifier: LGPL-3.0-or-later // fft.cpp — explicit instantiation of FFT / RealFFT / FFTEngine (float, double) // // This causes the float/double FFT code to be compiled exactly once into sangi_fft.lib, // suppressing template re-instantiation in each TU. // Paired with the extern template declarations on the header side. #include namespace sangi { // --------------------------------------------------------------------------- // FFT, T> — primary template // --------------------------------------------------------------------------- template class FFT, float>; template class FFT, double>; // --------------------------------------------------------------------------- // RealFFT — real-valued FFT // --------------------------------------------------------------------------- template class RealFFT; template class RealFFT; // --------------------------------------------------------------------------- // FFTEngine — instance-based FFT wrapper // --------------------------------------------------------------------------- template class FFTEngine; template class FFTEngine; } // namespace sangi