📄 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 + -