Oh no!, Sorry! it should be with MatAdd.
So, they become as follows
Let X = Matrix([[1, 2, 3]]*3),
Y = MatrixSymbol('Y', 3, 3)
q = MatAdd(X, 2*X, Y, -3*Y)
1. Adjoint(q), Trace(q), Transpose(q)
2. The above calls with .doit(deep = False)
3. The above calls with .doit(deep = True)
On Wednesday, February 25, 2015 at 5:17:23 PM UTC, Lokesh Sharma wrote:
>
> Please suggest something about these ideas:
>
> 1. doit(deep = False)
> 2. doit(deep = True)
> 3. Function call with no doit()
>
> Specifically, what should be the output of the following:
>
> Let X = Matrix([[1, 2, 3]]*3),
> Y = MatrixSymbol('Y', 3, 3)
>
> 1. Adjoint(X, 2*X, Y, -3*Y), Trace(X, 2*X, Y, -3*Y), Transpose(X, 2*X, Y,
> -3*Y)
> 2. The above calls with .doit(deep = False)
> 3. The above calls with .doit(deep = True)
>
>
> This is necessary in order to solve an issue I am having on implementation
> of Trace function over here:
> https://github.com/sympy/sympy/pull/9031#issuecomment-74974127
>
> Thanks!
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/86131065-3843-46a6-a03b-faf29bd158d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.