Grasshopper

algorithmic modeling for Rhino

Hi there,

I want to computes the cumulative sum of an n-dimensional array along a given dimension. I would like to know how is the correct syntax for this command to do the following:

List: 2,3,4,5,9

expression: cumSum({a,b,c...})

result: 2,5,9,14,23

Thanks!

Views: 1866

Replies to This Discussion

Thanks Marcus, big help!!

Cheers!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service