GEN25 — Construct functions from segments of exponential curves in breakpoint fashion.
These subroutines are used to construct functions from segments of exponential curves in breakpoint fashion.
size -- number of points in the table. Must be a power of 2 or power-of-2 plus 1 (see f statement).
x1, x2, x3, etc. -- locations in table at which to attain the following y value. Must be in increasing order. If the last value is less than size, then the rest will be set to zero. Should not be negative but can be zero.
y1, y2, y3,, etc. -- Breakpoint values attained at the location specified by the preceding x value. These must be non-zero and must be alike in sign.
Note | |
---|---|
If p4 is positive, functions are post-normalized (rescaled to a maximum absolute value of 1 after generation). A negative p4 will cause rescaling to be skipped. |