Home
last modified time | relevance | path

Searched refs:bestfac (Results 1 – 10 of 10) sorted by relevance

/dports/science/healpix/Healpix_3.50/src/f90/psht/libfftpack/
H A Dbluestein.c58 size_t f2, f23, f235, bestfac=2*n; in good_size() local
61 for (f2=1; f2<bestfac; f2*=2) in good_size()
62 for (f23=f2; f23<bestfac; f23*=3) in good_size()
63 for (f235=f23; f235<bestfac; f235*=5) in good_size()
64 if (f235>=n) bestfac=f235; in good_size()
65 return bestfac; in good_size()
/dports/science/healpix/Healpix_3.50/src/f90/sharp/libfftpack/
H A Dbluestein.c58 size_t f2, f23, f235, bestfac=2*n; in good_size() local
61 for (f2=1; f2<bestfac; f2*=2) in good_size()
62 for (f23=f2; f23<bestfac; f23*=3) in good_size()
63 for (f235=f23; f235<bestfac; f235*=5) in good_size()
64 if (f235>=n) bestfac=f235; in good_size()
65 return bestfac; in good_size()
/dports/math/libsharp2/libsharp-54856313a5fcfb6a33817b7dfa28c4b1965ffbd1/test/
H A Dsharp2_testsuite.c282 int bestfac=2*n; in good_fft_size() local
284 for (int f2=1; f2<bestfac; f2*=2) in good_fft_size()
285 for (int f23=f2; f23<bestfac; f23*=3) in good_fft_size()
286 for (int f235=f23; f235<bestfac; f235*=5) in good_fft_size()
287 if (f235>=n) bestfac=f235; in good_fft_size()
289 return bestfac; in good_fft_size()
/dports/math/py-ducc0/ducc0-0.22.0/src/ducc0/fft/
H A Dfft1d.h101 size_t bestfac=2*n;
102 for (size_t f11=1; f11<bestfac; f11*=11)
103 for (size_t f117=f11; f117<bestfac; f117*=7)
104 for (size_t f1175=f117; f1175<bestfac; f1175*=5)
114 if (x<bestfac) bestfac=x;
122 return bestfac;
130 size_t bestfac=2*n;
131 for (size_t f5=1; f5<bestfac; f5*=5)
141 if (x<bestfac) bestfac=x;
149 return bestfac;
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/fft/
H A Dpocketfft.hpp556 size_t bestfac = 2 * n; in good_size_cmplx() local
557 for (size_t f11 = 1; f11 < bestfac; f11 *= 11) in good_size_cmplx()
558 for (size_t f117 = f11; f117 < bestfac; f117 *= 7) in good_size_cmplx()
567 if (x < bestfac) in good_size_cmplx()
568 bestfac = x; in good_size_cmplx()
576 return bestfac; in good_size_cmplx()
585 size_t bestfac = 2 * n; in good_size_real() local
586 for (size_t f5 = 1; f5 < bestfac; f5 *= 5) { in good_size_real()
594 if (x < bestfac) in good_size_real()
595 bestfac = x; in good_size_real()
[all …]
/dports/science/healpix/Healpix_3.50/src/cxx/pocketfft/
H A Dpocketfft.c252 size_t bestfac=2*n; in good_size() local
253 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()
254 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()
255 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()
256 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()
257 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()
258 if (f235711>=n) bestfac=f235711; in good_size()
259 return bestfac; in good_size()
/dports/math/libsharp2/libsharp-54856313a5fcfb6a33817b7dfa28c4b1965ffbd1/libsharp2/
H A Dpocketfft.c254 size_t bestfac=2*n; in good_size() local
255 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()
256 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()
257 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()
258 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()
259 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()
260 if (f235711>=n) bestfac=f235711; in good_size()
261 return bestfac; in good_size()
/dports/science/py-scipy/scipy-1.7.1/scipy/fft/_pocketfft/
H A Dpocketfft_hdronly.h401 size_t bestfac=2*n;
402 for (size_t f11=1; f11<bestfac; f11*=11)
403 for (size_t f117=f11; f117<bestfac; f117*=7)
404 for (size_t f1175=f117; f1175<bestfac; f1175*=5)
414 if (x<bestfac) bestfac=x;
422 return bestfac;
430 size_t bestfac=2*n;
431 for (size_t f5=1; f5<bestfac; f5*=5)
441 if (x<bestfac) bestfac=x;
449 return bestfac;
/dports/math/py-numpy/numpy-1.20.3/numpy/fft/
H A D_pocketfft.c264 size_t bestfac=2*n; in good_size() local
265 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()
266 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()
267 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()
268 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()
269 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()
270 if (f235711>=n) bestfac=f235711; in good_size()
271 return bestfac; in good_size()
/dports/math/ntl/ntl-11.5.1/src/
H A DZZXFactoring.cpp595 UniquePtr<vec_pair_zz_pX_long> bestfac; in SmallPrimeFactorization() local
673 bestfac.make(thisfac); in SmallPrimeFactorization()
696 SFCanZass2(*spfactors, *bestfac, *besth, 0); in SmallPrimeFactorization()