📄 yxtoxy.cwp.lib
字号:
YXTOXY - Compute a regularly-sampled, monotonically increasing function x(y) from a regularly-sampled, monotonically increasing function y(x) by inverse linear interpolation.yxtoxy compute a regularly sampled function x(y) from a regularly sampled, monotonically increasing function y(x)Function Prototype:void yxtoxy (int nx, float dx, float fx, float y[], int ny, float dy, float fy, float xylo, float xyhi, float x[]);Input:nx number of samples of y(x)dx x sampling interval; dx>0.0 is requiredfx first xy array[nx] of y(x) values; y[0] < y[1] < ... < y[nx-1] requiredny number of samples of x(y)dy y sampling interval; dy>0.0 is requiredfy first yxylo x value assigned to x(y) when y is less than smallest y(x)xyhi x value assigned to x(y) when y is greater than largest y(x)Output:x array[ny] of x(y) valuesNotes:User must ensure that:(1) dx>0.0 && dy>0.0(2) y[0] < y[1] < ... < y[nx-1]Author: Dave Hale, Colorado School of Mines, 06/02/89
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -