Array of same value
I 'm busy with calculate the intersections of two lines as done here.

I think the variable y2 is currently the problem because it is a single value. In python(with numpy) i'm able to create a ones(length) array. How do i create a array (arbritrary length) where all values are the same?



