Generate an array of linearly spaced numbers.
The initial value of the linear space
The final value of the linear space
The number of values in the space
The linear space as an array of numbers
const space = SMath.linspace(1, 5, 6);// [ 1, 1.8, 2.6, 3.4, 4.2, 5 ] Copy
const space = SMath.linspace(1, 5, 6);// [ 1, 1.8, 2.6, 3.4, 4.2, 5 ]
Generate an array of linearly spaced numbers.