⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yclip.cwp.lib

📁 su 的源代码库
💻 LIB
字号:
YCLIP - Clip a function y(x) defined by linear interpolation of theuniformly sampled values:  y(fx), y(fx+dx), ..., y(fx+(nx-1)*dx).Returns the number of samples in the clipped function.yclip		clip a function y(x) defined by linear interplolation of		uniformly sampled valuesFunction Prototype:int yclip (int nx, float dx, float fx, float y[], float ymin, float ymax,	float xc[], float yc[]);Input:nx		number of x (and y) valuesdx		x sampling intervalfx		first xy		array[nx] of uniformly sampled y(x) valuesymin		minimum y value; must not be greater than ymaxymax		maximum y value; must not be less than yminOutput:xc		array[?] of x values for clipped y(x)yc		array[?] of y values for clipped y(x)Returned:	number of samples in output arrays xc and ycNotes:The output arrays xc and yc should contain space 2*nx values, whichis the maximum possible number (nc) of xc and yc returned.Author:  Dave Hale, Colorado School of Mines, 07/03/89

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -