📄 ezincarg.c
字号:
#include "ezincarg.h" /* global variables -- but private to this file */static double delay, width, cdtds; static int initDone=0; /* initialize source-function parameters */void ezIncArgInit(double the_cdtds, double the_delay, double the_width){ cdtds = the_cdtds; delay = the_delay; width = the_width; initDone = 1; return;}/* calculate source function at given time and location */double ezInc(double time, double location) { if (!initDone) { fprintf(stderr, "ezInc: must call ezIncArgInit before ezInc.\n"); exit(-1); } return exp( -pow( (time - delay - location/cdtds)/width, 2) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -