ApasScript.

Vector Calculus

partial

The partial derivative of an expression with respect to one variable.

gradient

The gradient of a scalar expression as a list of partial derivatives. The list can be passed to divergence() or curl().

jacobian

The Jacobian matrix of a list of expressions, as a list of rows.

hessian

The Hessian matrix (all second partial derivatives) of an expression, as a list of rows.

divergence

The divergence of a vector field in Cartesian coordinates.

curl

The curl of a 3D vector field in Cartesian coordinates.

laplacian

The Laplacian of a scalar expression in Cartesian coordinates.

cylGradient

The gradient of a scalar in cylindrical coordinates (r, theta, z).

cylDivergence

The divergence of a vector field in cylindrical coordinates.

cylCurl

The curl of a vector field in cylindrical coordinates.

cylLaplacian

The Laplacian of a scalar in cylindrical coordinates.

cylVectorLaplacian

The vector Laplacian of a field in cylindrical coordinates.

stokesTheorem

Both sides of Stokes' theorem: the line integral of F around a closed boundary curve, and the flux of curl F through a surface it bounds. The curve must be oriented with the surface's normal.

divergenceTheorem

Both sides of the divergence theorem: the integral of div F over a parameterized volume, and the outward flux through its boundary patches, each [[x, y, z], u, u0, u1, v, v0, v1].