Splitting trending sequences


The splitting.monotonic vocabulary splits sequences that are trending downwards, upwards, or stably.

Splitting into sequences:
monotonic-split ( seq quot: ( obj1 obj2 -- ? ) -- pieces )


Splitting into slices:
monotonic-split-slice ( seq quot: ( obj1 obj2 -- ? ) -- pieces )


Trending:
downward-slices ( seq -- slices )

stable-slices ( seq -- slices )

upward-slices ( seq -- slices )

trends ( seq -- slices )