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
<https://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html>) i
dont see how to do that automatically
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 matrix
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 :=:
http://mathoscope.xyz <http://mathoscope.xyz/>
06°13°11°07°26
Bagnères de Bigorre 65200
_______________________________________________
NumPy-Discussion mailing list
[email protected]
https://mail.python.org/mailman/listinfo/numpy-discussion