Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

Is it possible to get widely available math software (Maple/Matlab/Mathematica, etc) to symbolically differentiate vector and scalar functions of matrices, returning the result in terms of the original matrices and vectors involved? I have in mind the simple sort of rules collected here for example.

On a few separate occasions I've scoured around the internet for such a thing and only turned up a bunch of incomplete threads of various vintage (like this or this or this).

So my main question is if I am missing the right keywords to find what is obvious to people who use this sort of functionality all the time, and what platform it is available on if so.

If in fact this sort of functionality is not available in any of the commonly used software my question is if this is because of some sort of practical obstruction I am not seeing or simply because the problems for which it would be useful are simple enough to be done by hand (which is what I've ended up doing after I spend 4 hours searching for the "easy" way).

share|improve this question
1  
You might find the following software useful: inp.demokritos.gr/~sbonano/EDC –  Suvrit Mar 2 '12 at 5:33
2  
I would also be interested in a package implementing basic matrix algebra only --- you know, dealing with non-commuting symbols and applying automatically simple stuff like $(AB)^*=B^*A^*$. Is there a good one around? –  Federico Poloni Mar 2 '12 at 8:19
    
It seems as though Mathematica has some functionality for this: forums.wolfram.com/mathgroup/archive/2000/Feb/msg00451.html I don't know about general functions though, but it seems like it can handle it. –  Pádraig Ó Conbhuí Mar 26 '12 at 3:50

1 Answer 1

I have not used it, but the NCAlgebra (NC for noncommutative) extension for Mathematica does do directional derivatives at least. It is aimed mostly at algebra involving noncommutative variables and their adjoints, however, so that may or may not be sufficient for your needs.

share|improve this answer
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.