Grasshopper

algorithmic modeling for Rhino

Hello,

could you suggest how to insert data to Σ (sigma) function?

Normally the n-ary summation symbol is described by N (range) above and i (the initial value) below. In the grasshopper function Σ there is a space in parentheses after the symbol Σ. How should we understand it?

In attachement the expression which I would like to integrate to my gh script.

Views: 2249

Attachments:

Replies to This Discussion

Hi,

Has anyone figured this out already? I have encountered the same problem. I want to sum the multiplication of two lists of values within an expression, but all it seems to do is multiply the entries which have the same index and return a list of values.

Attachments:

Hi Edward, I think you might want to use [Mass Addition] (in the Maths > Operators tab)

Yes that also works, thanks for your reply!

Still wondering though how the summation demands its input for it to work properly.

∑(1,2,3,4,5,6,7)

would be 28

"Also"?? ;)
Notice that the second use of the ∑ in your expression is superfluous: you cannot sum a single value.

Okay so I should split my list into separate indices for the summation to work.

@Pieter: Yes you are correct. The second ∑ in the formula is for possible changes in the design due to which there might be more values to add.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service