Suppose arr is a two dimensional numarray array. Suppose we do the following:

def rowsort(arr):
    a = arr.tolist()
    a.sort()
    return numarray.array(a)

Can this sort be done efficiently in numarray? This function is called "rowsort" in MatLab.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to