I commented on that issue. That result is actually correct.

The problem I have with the matrix cookbook is that it's just a list of results, with no explanation on how each are derived. I've never found a good reference for this in general. If someone knows of one, I'd appreciate it.

I think the latest version of the cookbook is slightly newer because equation 61 doesn't match with the specific issue anymore.

Cheers,

Tim.

On 3 May 2014, at 14:47, Aaron Meurer wrote:

I think it's all explained in the matrix cookbook. See
https://github.com/sympy/sympy/issues/5858. The question I have
regarding the cookbook is, what is the minimum set of rules that need
to be implemented from which the rest can be derived?

Aaron Meurer

On Mon, Apr 28, 2014 at 11:46 PM, Tim Lahey <[email protected]> wrote:
I know how to handle x.T*A and A*x, but I'm not sure how to handle the
derivative if it appears in the middle of an term. It probably can be
handled, but I think that case would get a bit messy.

Cheers,

Tim.


On 29 Apr 2014, at 0:01, Matthew Rocklin wrote:

I'd love to have someone implement matrix derivative. This shouldn't be
hard for someone who understands them well.


On Mon, Apr 28, 2014 at 7:37 PM, Aaron Meurer <[email protected]> wrote:

These little issues with the transpose are the reason this isn't
implemented yet.

Aaron Meurer

On Mon, Apr 28, 2014 at 2:18 PM, Tim Lahey <[email protected]> wrote:

It's only 2*A*x is A is symmetric (A.T = A). Otherwise it's (A.T + A).

That said, I don't think Matrix Expressions support derivatives at the
moment.


Cheers,

Tim.

On 2014-04-28, at 1:27 PM, Gustavo <[email protected]> wrote:

Can I have matrices and vectors A and x with compatible but unspecified

dimensions. And get diff(x.T * A * x , x) return 2*A*x ?


Thanks,
Gustavo


--
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/340D188D-2402-47E1-829B-1E42297C89BD%40gmail.com
.

For more options, visit https://groups.google.com/d/optout.


--
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/CAKgW%3D6L4S-R2fdWrgo%2ByUO9QJKgpaj7icrpRgw08%3DjXTGXM8zQ%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.


--
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/CAJ8oX-Hfp90LqkHcdW5TzcrTqxvV4yCMj5ZOCkN64JKGSps1Kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
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/56371E44-E58D-49BA-AFEA-B2782D64E596%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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/CAKgW%3D6%2BbpuP1Km2j5sSY5NkUSuJrg3Yjz87Cp_XZ-9%2BxirSatA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/E3B791F1-F116-4C61-9D14-A05B8FE3FF24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to