Skip to main content

bpf

bpf(
@pts ? ## list (required)
@xfunc <normalization_function>
@yfunc null
@sfunc null
) -> llll

Formats an numeric list into a breakpoint function, in the form of [ <x> <y> <slope> ] tuples. By default, <x> is normalized to the 0-1 range. To prevent this, set @xfunc to null.


Arguments

  • @pts ? [list]: numeric list (required)
  • @xfunc [function/null]: optional lambda function for x axis (default: <normalization_function>).
  • @yfunc [function/null]: optional lambda function for y axis (default: null).
  • @sfunc [function/null]: optional lambda function for bpf slope (default: null).

Output

breakpoint function [llll]