The data exported is composed of two arrays. The first array is an array of x coordinated in the [0;1] range, these values are needed to determine the index of the polynomial to be used for a
given
x. The second array is an array of arrays of coefficients of polynomials of order 3 in ascending order. As such the first element of the first array is the
constant part of the first polynomial.
live_helpProbability Export help
This exports as if the curve were the function of density of a probability. The data exported is composed of one array of doubles. To get the generated value, generate unformly in [0;1[, then
iterate over the array until the iterated number is greater than the generated number, the index is the random number in the range of [0; array.length[.