Python function to find a point of an equilateral triangle
In order to get the third vertex, you could just rotate the point (x2, y2,...) by 60 degrees around point (x1, y1,...). The other admissible solution would be obtained with a rotation by -60 degrees, i.e., in the opposite direction.
So just rotate y around x by 60/-60 degrees and you have your 3rd co-ordinate.
I am trying to write a function equilateral(x, y): that takes two np.ndarrays of shape (N,)   , where x and y are natural numbers and returns a point z an np.ndarray of shape (N,) such that (x, y, z) are are the vertices of an equilateral triangle.
Any one please suggest.