[Numpy-discussion] all and alltrue
Neil Crighton
neilcrighton@gmail....
Wed Jun 17 04:34:45 CDT 2009
Shivaraj M S <shivraj.ms <at> gmail.com> writes:
>
> Hello,I just came across 'all' and 'alltrue' functions in fromnumeric.py
> They are one and same.IMHO,alltrue = all would be
> sufficient.Regards_______________
> Shivaraj--
There are other duplications too:
np.all
np.alltrue
np.any
np.sometrue
np.deg2rad
np.radians
np.rad2deg
np.degrees
And maybe more I've missed.
Can we deprecate alltrue and sometrue, and either deg2rad/rad2deg, or
radians/degrees? They would be deprecated in 1.4 and presumably removed in 1.5.
Neil
More information about the Numpy-discussion
mailing list