Sorry for the second "intervention", of course I can get the "step" by dividing the max value to the totalValues and running a for from 1 to totalValues in which I add the "step" to the min value and keep increasing it by that, but that would not be very fast for totalValues equal to 10,000.
Is there such a Math function like MatLab's linespace or Python's inRange etc?
Yeah probably, that'll be the the way to go using a for loop. Flex doesn't have a built-in function that you want probably there's one at riaforge.org or at Google Code.
But I can garantee you that any library uses a loop to calculate the numbers. It's not magic, it's just math. A P4 can calculate 1.700 MIPS so I don't think a 10.000 times loop will be a problem.
I was looking for a binary-written function (so to speak), but I'll do this.
I'm glad that I was able to help you.