[Numpy-discussion] array.T.max() vs array.max(axis=0) performance difference

2025-04-04 Thread George Tsiamasiotis via NumPy-Discussion
Hello NumPy community! I was writing a function that calculates the bounding box of a polygon (the smallest rectangle that fully contains the polygon, and who's sides are parallel to the x and y axes). The input is a (N,2) array containing the vertices of the polygon, and the output is a 4-tuple c

[Numpy-discussion] Re: array.T.max() vs array.max(axis=0) performance difference

2025-03-22 Thread George Tsiamasiotis via NumPy-Discussion
Very interesting! Thanks for the quick response! ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member