Vyxapedia

Element - ÞR - Remove Last Item From Cumulative Sums and Prepend 0

Characters: Þ, R


Description

Remove the last item of the cumulative sums of a list and prepend 0. A shortcut for ¦Ṫ0p


Overloads

  • lst - [0, a[0], a[0]+a[1], ..., a[0]+a[1]+...+a[-2]]

Examples

  • ⟨5|2|7|98|34|6|21|45⟩ ÞR = ⟨0|5|7|14|112|146|152|173⟩
  • ⟨⟩ ÞR = ⟨0⟩
  • `` ÞR = ⟨0⟩