Should allclose() be commutative, so as to prevent the following:
x = 1.1001
allclose(x,1), allclose(1,x)
(False, True)
There is some discussion here which provides two possible solutions:
On Sat, Jan 26, 2008 at 5:49 AM, Travis E. Oliphant
[EMAIL PROTECTED] wrote:
Tom Johnson wrote:
Hi, I'm having some troubles with long.
from numpy import log
log(8463186938969424928L)
43.5822574833
log(10454852688145851272L)
type 'exceptions.AttributeError
Hi, I'm having some troubles with long.
from numpy import log
log(8463186938969424928L)
43.5822574833
log(10454852688145851272L)
type 'exceptions.AttributeError': 'long' object has no attribute 'log'
Thoughts?
___
Numpy-discussion mailing list
What is the meaning of numpy's maximum on a complex-valued array?
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On Dec 6, 2007 3:23 PM, Robert Kern [EMAIL PROTECTED] wrote:
Tom Johnson wrote:
What is the meaning of numpy's maximum on a complex-valued array?
We impose a lexicographical ordering on the complex space.
Good to know, but is this documented somewhere. a.max? does not mention