MCPcopy Create free account
hub / github.com/numpy/numpy / cfftp_twsize

Function cfftp_twsize

numpy/fft/_pocketfft.c:997–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995 }
996
997NOINLINE static size_t cfftp_twsize (cfftp_plan plan)
998 {
999 size_t twsize=0, l1=1;
1000 for (size_t k=0; k<plan->nfct; ++k)
1001 {
1002 size_t ip=plan->fct[k].fct, ido= plan->length/(l1*ip);
1003 twsize+=(ip-1)*(ido-1);
1004 if (ip>11)
1005 twsize+=ip;
1006 l1*=ip;
1007 }
1008 return twsize;
1009 }
1010
1011NOINLINE WARN_UNUSED_RESULT static int cfftp_comp_twiddle (cfftp_plan plan)
1012 {

Callers 1

make_cfftp_planFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected