Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
fftnext.c
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #include "mrilib.h"
00008
00009 int main(int argc,char * argv[])
00010 {
00011 int ii , jj , bot=1,top=20000 ;
00012
00013 if( argc > 1 ){
00014 if( argv[1][0] == '-' ){printf("Usage: fftnext [bot [top]]\n");exit(0);}
00015 bot = strtol(argv[1],NULL,10) ;
00016 if( bot < 1 ) bot = 1 ;
00017 if( argc > 2 ){
00018 top = strtol(argv[2],NULL,10) ;
00019 if( top < bot ) top = bot ;
00020 }
00021 }
00022 ii = bot ;
00023 do{
00024 jj = csfft_nextup(ii) ;
00025 printf(" %d",jj) ; fflush(stdout) ;
00026 ii = jj+1 ;
00027 } while( ii < top ) ;
00028 printf("\n") ; exit(0) ;
00029 }