integrate
(DOC) Calculates the integral of this profile, starting from zero.
The result is scaled according to the unit argument. If a segment has a value of 1
, and unit
is Duration.SECOND, the integral will increase at 1
per second. But if (for the same segment) unit
is Duration.MINUTE, the integral will increase at 1
per minute (1/60
per second).
In fancy math terms, unit
is the length of the time basis vector, and the result is contravariant with it.
Parameters
unit
length of the time basis vector