pmhobson at gmail.com
Sun Jan 28 01:28:06 EST 2018
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 and Y[-1],
Is the second part of your question just a dot product?
On Sat, Jan 27, 2018 at 10:07 PM, Vincent Douce Mathoscope <
mathoscope at netcourrier.com> wrote:
> i have 2 questions
> - i have a parametric plot :
> 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) i dont see how to do that
> is there something simple like "first(X)" and "last(X)"
> - i have a function :
> rotation(vect,theta) which takes vect=[a,b] and theta-rotates it by a
> how to use this function or such a function to rotate a tuple (X,Y) with
> X,Y as described above in this message ?
> Vincent Douce
> :=: Mathoscope :=:
> Bagnères de Bigorre 65200
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion