NCAlgebra version 6.0.2 fails to compute the gradient of the trace of a quadratic product. Works fine in version 5.0.6final. Am I missing something?

Mathematica 13.3.1 Kernel for Linux x86 (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.
<< NC`
<< NCAlgebra`
<< NCDiff`

NCGrad[tr[x**tp[x]], x]

NCPolynomial::NotPolynomial: Expression is not an nc polynomial.
NCGrad::Failed: Do not know how to calculate NCGrad. Expression tr[x ** tp[x]] is most likely not rational or invalid.

1 Answer 1


This has been fixed in v6.0.3.

  • $\begingroup$ Thank you so much for your effort and contribution. $\endgroup$
    – Drmanifold
    Nov 4, 2023 at 16:57
  • $\begingroup$ My pleasure. There was a minor glitch in the packaging so you might want to download the latest v6.0.3 version just to be sure you get the full functionality. $\endgroup$ Nov 4, 2023 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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