[Numpy-svn] [numpy/numpy] 313fe4: ENH: Add 'sorter' argument to searchsorted.

GitHub noreply@github....
Wed Apr 4 11:37:24 CDT 2012

  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 313fe46046a7192cbdba2e679a104777301bc7cf
  Author: Bryan Van de Ven <bryan@laptop.local>
  Date:   2012-04-04 (Wed, 04 Apr 2012)

  Changed paths:
    M doc/release/2.0.0-notes.rst
  M numpy/add_newdocs.py
  M numpy/core/fromnumeric.py
  M numpy/core/src/multiarray/item_selection.c
  M numpy/core/src/multiarray/methods.c
  M numpy/core/tests/test_multiarray.py

  Log Message:
  ENH: Add 'sorter' argument to searchsorted.

The new argument allows one to search an argsorted array by passing
in the result of argsorting the array as the 'sorter' argument. For

    searchsorted(a, sorter=a.argsort)

More information about the Numpy-svn mailing list