1
$\begingroup$

I want to use the JacobianMatrix function in package VectorAnalysis, but I get the following warning message after running the following code.

Needs["VectorAnalysis`"]
JacobianMatrix[{Rr, Ttheta, Zz}, Cylindrical]
General::obspkg: VectorAnalysis` is now obsolete. The legacy version being loaded may conflict with current functionality. See the Compatibility Guide for updating information.

But I didn't find the same function in the built-in functions. What should I do to reproduce this function.

I want to reproduce the function in various common coordinate systems.

$\endgroup$
3
  • 1
    $\begingroup$ Search JacobianMatrix in the document and the solution is in VectorAnalysis` Compatibility Information. (The first link in v9 and the second link in v12.1. ) $\endgroup$
    – xzczd
    Apr 5, 2020 at 10:01
  • 3
    $\begingroup$ While this can be done with built-in tools (see kglr's answer), why don't you just use D[{r Cos[\[Theta]], r Sin[\[Theta]], z}, {{r, \[Theta], z}, 1}]? It is unambiguous, concise, and universally applicable (i.e., not limited to a few hard-coded transformations). $\endgroup$ Apr 5, 2020 at 10:08
  • 1
    $\begingroup$ Possible duplicate of mathematica.stackexchange.com/q/146849/1871 $\endgroup$
    – xzczd
    Apr 5, 2020 at 10:25

0

Your Answer

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