[SciPy-user] shape mismatch: objects cannot be broadcast to a single shape
nwagner at iam.uni-stuttgart.de
Thu Jun 22 08:58:24 CDT 2006
>>> k = arange(0,4)
>>> r = linspace(0,3,10)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: shape mismatch: objects cannot be broadcast to a single shape
It would be nice if special.jn(k,r) returns a two-dimensional array
corresponding to the length of k and r.
How can I resolve this problem ?
More information about the SciPy-user