Skip to main content

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 pad
    • 1: Pad at left
    • 2: Pad at right
    • 3: Pad at left and right

Output

Integrated breakpoint function. [llll]