Message Boards Message Boards

1
|
760 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Can we do fully symbolic matrix calculus in Wolfram Mathematica?

Posted 3 months ago

Can Mathematica do symbolic matrix calculus? This is such an important notation and almost all the Statistics, Machine Learning and Deep Learning literature uses this notation.

Precisely, can we define functions of symbolic vectors and matrices, take derivatives with respect to vectors, matrices and have the final result be also expressed in the same form? For example, differentiating A*x with respect to x should yield A where A is a matrix and x is a vector. This is a very simple function, but it illustrates the idea.

I found an online tool which can do it, so Mathematica should in principle be also able to do it. This is the link to the tool.

https://www.matrixcalculus.org/

POSTED BY: Hashir Omer
2 Replies

Hi, In 2009 I posted this about SuMoPack:

https://groups.google.com/g/comp.soft-sys.math.mathematica/c/Blgt6-1fgwo

and just now located its present home: http://mayekawa.in.coocan.jp/titech/docs/docs.html from the homepage of its author Shin-ichi Mayekawa: http://mayekawa.in.coocan.jp/

However, these links appear to be busted. I am trying to determine how to upload my copy of the original ZIP file of the package (Community no longer allows ZIP files). . Meanwhile, attached is a PDF of its demo notebook, illustrating its capabilities. If these are appealing to anyone, I might be motivated to convert into and share as a Paclet (on the Paclet Repository).

Regards, Frank

Attachments:
POSTED BY: Frank Iannarilli
Posted 3 months ago
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract