Software for symbolic matrix calculus? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-24T14:33:38Z http://mathoverflow.net/feeds/question/90009 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/90009/software-for-symbolic-matrix-calculus Software for symbolic matrix calculus? R Hahn 2012-03-02T01:43:39Z 2012-03-02T14:03:04Z <p>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 <a href="http://www.colorado.edu/engineering/CAS/courses.d/IFEM.d/IFEM.AppD.d/IFEM.AppD.pdf" rel="nofollow">here</a> for example.</p> <p>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 <a href="http://www.varioustopics.com/math-symbolic/761236-vector-matrix-calculus-software.html" rel="nofollow">this</a> or <a href="http://forums.wolfram.com/mathgroup/archive/2000/Feb/msg00451.html" rel="nofollow">this</a> or <a href="http://forums.wolfram.com/mathgroup/archive/2001/Nov/msg00054.html" rel="nofollow">this</a>).</p> <p>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. </p> <p>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).</p> http://mathoverflow.net/questions/90009/software-for-symbolic-matrix-calculus/90040#90040 Answer by Noah Stein for Software for symbolic matrix calculus? Noah Stein 2012-03-02T14:03:04Z 2012-03-02T14:03:04Z <p>I have not used it, but the <a href="http://math.ucsd.edu/~ncalg/" rel="nofollow">NCAlgebra</a> (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.</p>