doit does nothing on a hadamard_product #8557

19 views
Skip to first unread message

Keyur Patel

unread,
Dec 8, 2014, 12:34:02 AM12/8/14
to sy...@googlegroups.com

I would expect doit() to do the elementwise multiplication and return a single matrix:

Issue #8557

I am new to Sympy community. I wanted to get started with this bug. Can anyone explain more about this bug ?

Thanks in Advamce.


In [15]: h = sympy.hadamard_product(sympy.Matrix([1, 1]), sympy.Matrix([2, 2]))

In [16]: h
Out[16]: 
Matrix([
[1],
[1]]).*Matrix([
[2],
[2]])

In [17]: h.doit()
Out[17]: 
Matrix([
[1],
[1]]).*Matrix([
[2],
[2]])

In [18]: sympy.__version__
Out[18]: '0.7.6-git'
Reply all
Reply to author
Forward
0 new messages