[Numpy-discussion] Proposal for matrix_rank function in numpy

Alan G Isaac aisaac@american....
Tue Dec 15 12:47:50 CST 2009


On 12/15/2009 1:39 PM, Bruce Southey wrote:
> +1 for the function but we can not shorten the name because of existing
> numpy.rank() function.

1. Is it a rule that there cannot be a name duplication
in this different namespace?
2. Is there a commitment to keeping both np.rank and np.ndim?
(I.e., can np.rank never be deprecated?)

If the answers are both 'yes',
then perhaps linalg.rank2d is a possible shorter name.

Alan Isaac


More information about the NumPy-Discussion mailing list