Grasshopper

algorithmic modeling for Rhino

Hello,

i have list of numbers for example 1,3,5,7,9 i want to add them in all possible permutations such that i get 1+3, 1+5, 1+7, 1+9, 3+5, 3+7, 3+9, 5+7, 5+9 and 7+9

How do i get this result?

Thanks

AB

Views: 397

Replies to This Discussion

maybe i got this wrong. you want lets say after 1 is added to be removed from the rest additions?

Thanks A lot Alex, I had simplified the the problem. I have list of random numbers (areas of rooms). However, i worked it out just now :-)...using cross reference - lower triangle strict.

Thanks again

AB

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service