t;();
for (int i = 1; i < 11; i++){ num.Add(i);}
List<Point3d> pnt = new List<Point3d>();
for (int i = 0; i < 10; i++){ Point3d point = new Point3d (i, i, i); pnt.Add(point);}DA.SetDataList(0, num);
DA.SetDataList(1, pnt);
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
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
here are 11 numbers (0 to 10), and a 'step' of 42 (0 to 42 to 84), and I need to be able to 'cap' the number of times the 11 numbers are added, for example 3 for the list above.
I'm sure this is simple, and I'm kicking myself that I can't figure it out for myself, so any help would be greatly appreciated!…
ve a Vertex [V] connected to four other Vertexs [N1-N4].
Each of the has a Value:
V ... 1
N1 ... 5
N2 ... 3
N3 ... 8
N4 ... 11
The Average Filter would set the Value of [V] to
(1+5+3+8+11)/5 = 5,6
The Median Filter would Sort Values and pick the middle one
1,3, [5], 8, 11
Hope that helped...…
ues that cannot be divided to each other.
(I attached a pic with the lists)
I want to replace the zero "0" values with "1" so that I can have a valid division.
Could you help me ? Thank you .…