Re: [Numpy-discussion] linspaces

2018-01-27 Thread Paul Hobson
I'm not sure I understand the question, but in python, you can get the first and elements of most types of sequences with e.g., X[0] and Y[-1], respectively. Is the second part of your question just a dot product? On Sat, Jan 27, 2018 at 10:07 PM, Vincent Douce Mathoscope < mathosc...@netcourrie

[Numpy-discussion] linspaces

2018-01-27 Thread Vincent Douce Mathoscope
hi i have 2 questions - i have a parametric plot : T=np.linespace(things) X=f(T)*np.cos(T) Y=f(T)*np.sin(T) i would like to get the first and the last point of this polar curve in the specs of "linspace" (https://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html