derive
derive(
@llll ? ## llll (required)
@numsamples 100
@order 1
@origin 0
@pad 2
) -> llll
Computes the derivative of a breakpoint function. Note that the slope of the derived break-point function is always 0, since the output function is always piecewise linear.
Arguments
@llll ?
[llll]: list of integers. (required)@numsamples
[int]: number of samples. (default:100
).@order
[int/list]: order of the integration, i.e. the number of times the integration should be subsequently performed. (default:1
).@origin
[int/float]: initial value of the integral function. If the order of the integration is greater than one, one origin for each different integration step can be defined. (default:0
).@pad
[int]: padding mode. (default:2
).0
: no pad1
: pad at left2
: pad at right3
: pad at left and right
Output
Integrated breakpoint function. [llll]