ply one value = 3. Just go direct from Sort A to list item L. I obviously had an error in the version I posted above, sorry, look to the original to see the correct sequence.…
t;double> Result = new List<double>();
for (int i = 0; i < L.Count; i++) {
if (i == 0) {
Result.Add(L[i]);
} else {
Result.Add(L[i] + Result[i - 1]);
}
}
A = Result;
}
Remember to set the input L as list of double.
…
Added by June-Hao Hou at 5:34am on January 13, 2011
0;0}, {1;1,0;0}, {2;1,0;0} .... {n;1,0;0}, {0;2,0;0}..... l
i tried to put it in a loop and copy but i get it {0;0,0;0}, {0;1,0;0}, {0;2,0;0} .... {0;n,0;0}, {1;0,0;0}, {1;1,0;0}, {1;2,0;0} .... {1;n,0;0}, {2;0,0;0}..... like #2 in image.
i tried to reorder it and got #3 but that way i have to copy it 'n' times which is not possible.
anyone can enlighten me how it can make work?
thanks in adv…
Added by deli dumrul at 2:01am on November 30, 2016