integrate
integrate(
@llll ? ## llll (required)
@numsamples 100
@order 1
@origin 0
) -> llll
Computes the integral of a breakpoint function. Note that the slope of the integrated 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
).
Output
Integrated breakpoint function. [llll]