Generate n evenly-spaced numbers from start to end (inclusive on both ends).
n
start
end
linspace(0, 1, 5); // [0, 0.25, 0.5, 0.75, 1]linspace(-675, 675, 3); // [-675, 0, 675] Copy
linspace(0, 1, 5); // [0, 0.25, 0.5, 0.75, 1]linspace(-675, 675, 3); // [-675, 0, 675]
Generate
nevenly-spaced numbers fromstarttoend(inclusive on both ends).