English.
Hi all!
I created .ghx for Parametric Design of Bottle. I defined profile curves giving control points with slider, definition of hight, shifting, and offset based on referenced…
e
7. True
8. True <-- this one
9. True
10. False
11. True
12. False
13. True
14. True <-- this one
15. True
16. False
17. True
18. False
19. True
20. True <-- this one
21. True
22. False
23. True
24. False
25. True
26. True <-- this one
27. True
28. False
29. True
30. False
31. True
32. True <-- this one
33. True
Any idea how I can solve this?
Thanks!…
N = 100}
{2} {N = 100}
....
{60} {N = 100}
The numbers of list are 0 or 1 depending on a previous calculation. The majority of values are always equal to 1.
I would like to add the number of branches where some of their values are equal to 0.
For example:
{0} {1,1,1,1,1,1,1,1,1,...,1} ''All numbers are 1. Nothing
{1} {1,1,1,1,1, 0 ,1,1,....,1} ''There is one 0. Add
{2} {1,1,1,1,1, 0 ,1,1,.....1} ''There is one 0. Add
{3} {1,1,1,1,1,1,1,1,1,...,1} ''All numbers are 1. Nothing
{4} {1,1,1,1,1, 0 ,1,1,.....1} ''There is one 0. Add
The total number is 3.
Thanks.
Marc…
This must be a bug because its true for dividing by all odd numbers:
(i-1)/3
(i-2)/5
(i-3)/7
(i-4)/9
(i-5)/11
....
(i-n)/2n+1
And you can't make it work for even numbers
Added by Danny Boyes at 5:06pm on January 13, 2010
w list should contain a smallest value of the values with the same index. I should keep order of the indexes.
For example, item [21] of the 1st branch = 1, item [21] of the 2nd branch = 2, so item [21] in the resulting list = 1.
Any advise?…
t subset would be rounded down to 50, the next to 75, and the next to 100? I've been trying to figure out how to split a list into three or more equal parts but with no success so far.…