BPF

[CLASS]


OM 6.1
Function Reference
SLOTS:

- SELF :object
- X-POINTS :X coordinates (list)
- Y-POINTS :Y coordinates (list)
- DECIMALS :precision (integer)

Description:


BREAK-POINTS FUNCTION: a 2D function defined as y=f(x) by a list of [x,y] coordinates.

BPF objects are constructed from the list of X coordinates (<x-points>) and the list of Y coordinates (<y-points>)
<x-point> must be stricly increasing or will be sorted at initialization.
If <x-list> and <y-list> are not of the same length, the last step in the shorter one is repeated.

<decimals> allows to specify the precision of the function (0 = integers, n > 0 = number of decimals)