[pypy-issue] [issue1706] numpy: numpy.searchsorted missing
Christoph Reiter
tracker at bugs.pypy.org
Mon Mar 10 14:04:15 CET 2014
New submission from Christoph Reiter <reiter.christoph at gmail.com>:
This is needed for matplotlib
##############
import numpy
assert numpy.searchsorted([1,2,3,4,5], 3) == 2
assert numpy.searchsorted([1,2,3,4,5], 3, side='right') == 3
assert numpy.array_equal(
numpy.searchsorted([1,2,3,4,5], [-10, 10, 2, 3]),
numpy.array([0, 5, 1, 2]))
##############
----------
messages: 6590
nosy: lazka, pypy-issue
priority: feature
status: unread
title: numpy: numpy.searchsorted missing
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1706>
________________________________________
More information about the pypy-issue
mailing list