Is there a numpy equivalent to Mma's CoordinateBounds command?
http://reference.wolfram.com/language/ref/CoordinateBounds.html
Thanks,
Alan Isaac
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-
On Sat, Aug 20, 2016 at 9:16 PM, Alan Isaac wrote:
>
> Is there a numpy equivalent to Mma's CoordinateBounds command?
> http://reference.wolfram.com/language/ref/CoordinateBounds.html
The first signature can be computed like so:
np.transpose([coords.min(axis=0), coords.max(axis=0)])
--
Robert