linalg(deprecated)/jacobian - Help

Home : Support : Online Help : linalg(deprecated)/jacobian

linalg(deprecated)

 jacobian
 compute the Jacobian matrix of a vector function

 Calling Sequence jacobian(f, v)

Parameters

 f - vector or list of expressions v - vector or list of variables

Description

 • Important: The linalg package has been deprecated. Use the superseding command, VectorCalculus[Jacobian], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The procedure jacobian(f, v) computes the Jacobian matrix of f with respect to v. The (i,j)th entry of the matrix result is $\frac{\partial }{\partial {v}_{j}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}_{i}$.
 • The command with(linalg,jacobian) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command, VectorCalculus[Jacobian], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{vector}\left(\left[{x}^{2},xy,xz\right]\right)$
 ${A}{≔}\left[\begin{array}{ccc}{{x}}^{{2}}& {x}{}{y}& {x}{}{z}\end{array}\right]$ (1)
 > $\mathrm{jacobian}\left(A,\left[x,y,z\right]\right)$
 $\left[\begin{array}{ccc}{2}{}{x}& {0}& {0}\\ {y}& {x}& {0}\\ {z}& {0}& {x}\end{array}\right]$ (2)