📄 npfaro.c
字号:
/* Copyright (c) Colorado School of Mines, 1990./* All rights reserved. *//*FUNCTION: return optimal n between nmin and nmax forreal-to-complex or complex-to-real prime factor fftsPARAMETERS:nmin i lower bound on returned value (see notes below)nmax i desired (but not guaranteed) upper bound on returned valueNOTES:Current implemenations of real-to-complex and complex-to-real prime factor ffts require that the transform length n be even and that n/2 be a valid length for a complex-to-complex prime factor fft. The value returned by npfaro satisfies these conditions.Also, see notes for npfao.AUTHOR: I. D. Hale, Colorado School of Mines, 06/16/89*/#include "cwp.h"int npfaro (int nmin, int nmax){ return 2*npfao((nmin+1)/2,(nmax+1)/2);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -