LinearOps
Operations mixin for segment-valued timelines whose payloads represent continuous, piecewise linear values.
Currently only used for Real profiles, but in the future could be refactored for duration profiles or parallel real profiles.
Inheritors
Functions
(DOC) Safely converts to another timeline type that accepts the same payload type.
(DOC) Removes objects whose duration is outside a given valid interval.
(DOC) Removes objects whose duration is shorter than a given duration.
(DOC) Removes objects whose duration is longer than a given duration.
(DOC) A simpler version of flatMap2Values for operations that don't change the timeline type.
(DOC) Performs a local binary operation that produces profiles, and flattens it.
(DOC) A simpler version of flatMapValues for operations that don't change the timeline type.
(DOC) Maps segments into a collection of nested timelines and flattens them into their original intervals.
(DOC) A simplified version of map2Values for operations that don't change the timeline type.
(DOC) Performs a local binary operation between two segment-valued timelines.
(DOC) Locally transforms the values of a profile without changing the intervals or profile type.
(DOC) Locally transforms the values of a profile without changing the intervals.
(DOC) UNSAFE! Casts this timeline type to another type without changing its contents.
(DOC) UNSAFE! Maps each object to a nested timeline and flattens all the timelines into one.
(DOC) UNSAFE! Maps each timeline object to another object, of potentially a different type, at potentially a different time.
Performs a generalized binary operation between this and another timeline.
(DOC) UNSAFE! Maps the interval of each object, leaving the rest of the object unchanged.
(DOC) UNSAFE! A simpler version of unsafeOperate for operations that don't change the timeline type.
(DOC) UNSAFE! The basic, most general operation method. All operations eventually delegate here.