?? rc2lar.c
字號:
/* This material contains proprietary software of Entropic Processing, Inc. Any reproduction, distribution, or publication without the the prior written permission of Entropic Processing, Inc. is strictly prohibited. Any public distribution of copies of this work authorized in writing by Entropic Processing, Inc. must bear the notice "Copyright 1986 Entropic Processing, Inc." This program takes as standard input an ascii file of reflection coefficients and converts them to log area ratios using rc_to_lar. Alan Parker, EPI, Washington, DC.*/#ifdef SCCSchar *sccs_id = "@(#)rc2lar.c 1.2 9/3/86 EPI";#endif#include <stdio.h>#include <sps/sps.h>main(argc,argv)int argc;char **argv;{ float logratio; double rc; int rc_to_lar(); while(scanf("%lf",&rc) != EOF) { if(rc_to_lar(rc,&logratio) != 0) fprintf(stderr, "rc2lar: warning: reflection coefficient out of range.\n"); else printf("%f\n",logratio); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -