We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original ticket http://projects.scipy.org/numpy/ticket/1307 on 2009-11-28 by @thouis, assigned to unknown.
from numpy import * version '1.3.0.dev5934' q = matrix(arange(9).reshape((3,3))) take(q, matrix([[0]]), axis=0) matrix([[0, 1, 2]]) take(q, matrix([[0]]), axis=1) matrix([[0, 3, 6]])
Expected behavior for the last expression:
take(q, [0], axis=1) matrix([[0], [3], [6]])
The text was updated successfully, but these errors were encountered:
@thouis wrote on 2009-11-28
Sorry, forgot to quote...
>>> from numpy import * >>> q = matrix(arange(9).reshape((3,3))) >>> take(q, matrix([[0]]), axis=0) matrix([[0, 1, 2]]) >>> take(q, matrix([[0]]), axis=1) matrix([[0, 3, 6]]) Expected behavior for the last expression: >>> take(q, [0], axis=1) matrix([[0], [3], [6]])
Sorry, something went wrong.
@mwiebe wrote on 2011-03-25
Matrix does have some odd behaviors, not sure what a good way to fix it is though.
Milestone changed to Unscheduled by @mwiebe on 2011-03-25
Unscheduled
BUG: ticket numpy#1905, explicitly check for NaNs in allclose().
b397dde
Also clean up the logic behind handling infs. Squashed backport of 3503c5f..aea76b8.
No branches or pull requests
Original ticket http://projects.scipy.org/numpy/ticket/1307 on 2009-11-28 by @thouis, assigned to unknown.
Expected behavior for the last expression:
The text was updated successfully, but these errors were encountered: