Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have seen some of the related posts, which ask about doing matrix calculation on tensors unknown dimensions. One of the posts mentioned that version 9 has some capability, but it was concerned about simple matrix algebra, but not calculus.

I would specifically like to know if with the addition of Tensor package in version 9, if the following is possible:

$a, \lambda \in R^n$, and $C\in R^{n\times n}$ Here $n$ is unknown/symbolic variable.

I am trying to find derivative of expressions which involve matrix-vector products such as (to give a simple example) $f(a,\lambda)=\dfrac{\lambda^T Ca}{\sqrt{a^T C a}}$

I would like to know if using Mathematica we can find expressions of $\dfrac{\partial f}{\partial a}$ etc.

Thanks.

share|improve this question
    
version 9? That's almost 2 years old now... did you mean 10? –  rm -rf Jul 28 at 17:45
    
I mention version 9 since it seems to me thats when the Tensor package was added. I don't know if 10 adds anything more to this functionality. –  nonlinearism Jul 28 at 17:48
    
AFAIK these things are not possible, not out of the box. See also mathematica.stackexchange.com/questions/52213/… –  Teake Nutma Jul 28 at 19:45
    
Thats disappointing, if true. –  nonlinearism Jul 28 at 21:15
    
A similar question was asked at mathematica.stackexchange.com/questions/3242/… regarding purely symbolic computations of vector derivatives of matrix/vector expressions of unspecified rank. AFAIK it's not straightforward to do, unfortunately. –  DumpsterDoofus Jul 28 at 23:53

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.