Menu

#9 fromfunction not correct

open
nobody
Fatal error (2)
5
2002-11-05
2002-11-05
fxj
No

>>> a=fromfunction(lambda x,y,z:x,(5,5,5))
# works
correctly
>>> a=fromfunction(lambda
x,y,z:x,(5,5,6))
Traceback (innermost last):
File
"<console>", line 1, in ?
ValueError: matrices not
alligned

Discussion


Log in to post a comment.

MongoDB Logo MongoDB