.. index:: pair: struct; pocketfft::detail::util .. _doxid-structpocketfft_1_1detail_1_1util: struct pocketfft::detail::util ============================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block struct util { // methods static size_t :target:`largest_prime_factor`(size_t n); static double :target:`cost_guess`(size_t n); template static UIntT :target:`good_size_cmplx_typed`(UIntT n); static size_t :target:`good_size_cmplx`(size_t n); static size_t :target:`good_size_cmplx`(size_t n, size_t required_factor); template static UIntT :target:`good_size_real_typed`(UIntT n); static size_t :target:`good_size_real`(size_t n); static size_t :target:`good_size_real`(size_t n, size_t required_factor); template static UIntT :target:`prev_good_size_cmplx_typed`(UIntT n); static size_t :target:`prev_good_size_cmplx`(size_t n); template static UIntT :target:`prev_good_size_real_typed`(UIntT n); static size_t :target:`prev_good_size_real`(size_t n); static size_t :target:`prod`(const shape_t& shape); static void :target:`sanity_check`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, bool inplace); static void :target:`sanity_check`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, bool inplace, const shape_t& axes); static void :target:`sanity_check`(const shape_t& shape, const stride_t& stride_in, const stride_t& stride_out, bool inplace, size_t axis); static size_t :target:`thread_count`(size_t nthreads, const shape_t& shape, size_t axis, size_t vlen); };