.. index:: pair: namespace; pocketfft::detail .. _doxid-namespacepocketfft_1_1detail: namespace pocketfft::detail =========================== .. toctree:: :hidden: namespace_pocketfft_detail_threading.rst struct_pocketfft_detail_ExecC2C.rst struct_pocketfft_detail_ExecDcst.rst struct_pocketfft_detail_ExecFHT.rst struct_pocketfft_detail_ExecHartley.rst struct_pocketfft_detail_ExecR2R.rst struct_pocketfft_detail_VLEN.rst struct_pocketfft_detail_VTYPE.rst struct_pocketfft_detail_add_vec.rst struct_pocketfft_detail_add_vec-2.rst struct_pocketfft_detail_cmplx.rst struct_pocketfft_detail_util.rst class_pocketfft_detail_T_dcst23.rst class_pocketfft_detail_T_dcst4.rst class_pocketfft_detail_T_dct1.rst class_pocketfft_detail_T_dst1.rst class_pocketfft_detail_arr.rst class_pocketfft_detail_arr_info.rst class_pocketfft_detail_cfftp.rst class_pocketfft_detail_cndarr.rst class_pocketfft_detail_fftblue.rst class_pocketfft_detail_multi_iter.rst class_pocketfft_detail_ndarr.rst class_pocketfft_detail_pocketfft_c.rst class_pocketfft_detail_pocketfft_r.rst class_pocketfft_detail_rev_iter.rst class_pocketfft_detail_rfftp.rst class_pocketfft_detail_simple_iter.rst class_pocketfft_detail_sincos_2pibyn.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace detail { // namespaces namespace :ref:`pocketfft::detail::threading`; // typedefs typedef std::vector :target:`shape_t`; typedef std::vector :target:`stride_t`; typedef typename :ref:`VTYPE`::type :target:`vtype_t`; typedef typename :ref:`add_vec`::type :target:`add_vec_t`; // structs struct :ref:`ExecC2C`; struct :ref:`ExecDcst`; struct :ref:`ExecFHT`; struct :ref:`ExecHartley`; struct :ref:`ExecR2R`; template struct :ref:`VLEN`; template struct :ref:`VTYPE`; template struct :ref:`add_vec>`; template struct :ref:`add_vec`; template struct :ref:`cmplx`; struct :ref:`util`; // classes template class :ref:`T_dcst23`; template class :ref:`T_dcst4`; template class :ref:`T_dct1`; template class :ref:`T_dst1`; template class :ref:`arr`; class :ref:`arr_info`; template class :ref:`cfftp`; template class :ref:`cndarr`; template class :ref:`fftblue`; template class :ref:`multi_iter`; template class :ref:`ndarr`; template class :ref:`pocketfft_c`; template class :ref:`pocketfft_r`; class :ref:`rev_iter`; template class :ref:`rfftp`; class :ref:`simple_iter`; template class :ref:`sincos_2pibyn`; // global variables bool :target:`FORWARD` = true; bool :target:`BACKWARD` = false; // global functions template T :target:`cos`(T); template T :target:`sin`(T); template T :target:`sqrt`(T); void* :target:`aligned_alloc`(size_t align, size_t size); void :target:`aligned_dealloc`(void* ptr); template void :target:`PM`(T& a, T& b, T c, T d); template void :target:`PMINPLACE`(T& a, T& b); template void :target:`MPINPLACE`(T& a, T& b); template :ref:`cmplx` :target:`conj`(const :ref:`cmplx`& a); template void :target:`special_mul`(const :ref:`cmplx`& v1, const :ref:`cmplx`& v2, :ref:`cmplx`& res); template void :target:`ROT90`(:ref:`cmplx`& a); template void :target:`ROTX90`(:ref:`cmplx`& a); template std::shared_ptr :target:`get_plan`(size_t length); template :ref:`arr` :target:`alloc_tmp`(const shape_t& shape, size_t axsize, size_t elemsize); template :ref:`arr` :target:`alloc_tmp`(const shape_t& shape, const shape_t& axes, size_t elemsize); template void :target:`copy_input`(const :ref:`multi_iter`& it, const :ref:`cndarr`<:ref:`cmplx`>& src, :ref:`cmplx`>* dst); template void :target:`copy_input`(const :ref:`multi_iter`& it, const :ref:`cndarr`& src, vtype_t* dst); template void :target:`copy_input`(const :ref:`multi_iter`& it, const :ref:`cndarr`& src, T* dst); template void :target:`copy_output`(const :ref:`multi_iter`& it, const :ref:`cmplx`>* src, :ref:`ndarr`<:ref:`cmplx`>& dst); template void :target:`copy_output`(const :ref:`multi_iter`& it, const vtype_t* src, :ref:`ndarr`& dst); template void :target:`copy_output`(const :ref:`multi_iter`& it, const T* src, :ref:`ndarr`& dst); template void :target:`general_nd`(const :ref:`cndarr`& in, :ref:`ndarr`& out, const shape_t& axes, T0 fct, size_t nthreads, const Exec& exec, const bool allow_inplace = true); template void :target:`copy_hartley`(const :ref:`multi_iter`& it, const vtype_t* src, :ref:`ndarr`& dst); template void :target:`copy_hartley`(const :ref:`multi_iter`& it, const T* src, :ref:`ndarr`& dst); template void :target:`copy_FHT`(const :ref:`multi_iter`& it, const vtype_t* src, :ref:`ndarr`& dst); template void :target:`copy_FHT`(const :ref:`multi_iter`& it, const T* src, :ref:`ndarr`& dst); template void :target:`general_r2c`(const :ref:`cndarr`& in, :ref:`ndarr`<:ref:`cmplx`>& out, size_t axis, bool forward, T fct, size_t nthreads); template void :target:`general_c2r`(const :ref:`cndarr`<:ref:`cmplx`>& in, :ref:`ndarr`& out, size_t axis, bool forward, T fct, size_t nthreads); template void :target:`c2c`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, bool forward, const std::complex* data_in, std::complex* data_out, T fct, size_t nthreads = 1); template void :target:`dct`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, int type, const T* data_in, T* data_out, T fct, bool ortho, size_t nthreads = 1); template void :target:`dst`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, int type, const T* data_in, T* data_out, T fct, bool ortho, size_t nthreads = 1); template void :target:`r2c`(const shape_t& shape_in, const stride_t& stride_in, const stride_t& stride_out, size_t axis, bool forward, const T* data_in, std::complex* data_out, T fct, size_t nthreads = 1); template void :target:`r2c`(const shape_t& shape_in, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, bool forward, const T* data_in, std::complex* data_out, T fct, size_t nthreads = 1); template void :target:`c2r`(const shape_t& shape_out, const stride_t& stride_in, const stride_t& stride_out, size_t axis, bool forward, const std::complex* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`c2r`(const shape_t& shape_out, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, bool forward, const std::complex* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`r2r_fftpack`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, bool real2hermitian, bool forward, const T* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`r2r_separable_hartley`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, const T* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`r2r_genuine_hartley`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, const T* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`r2r_separable_fht`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, const T* data_in, T* data_out, T fct, size_t nthreads = 1); template void :target:`r2r_genuine_fht`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, const shape_t& axes, const T* data_in, T* data_out, T fct, size_t nthreads = 1); } // namespace detail