curl of a vector
curl(f, v, co)
list or vector of three expressions
list or vector of three variables
(optional), is either of type `=` or a list of three elements. This option is used to compute the curl in orthogonally curvilinear coordinate systems.
Important: The linalg package has been deprecated. Use the superseding command VectorCalculus[Curl], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
curl(f, v) computes the curl of f with respect to v, where f is a three-dimensional function of the three variables v. When the third argument is not given, the curl of f is computed in the Cartesian coordinate system.
If the optional third argument co is of the form coords = coords_name or coords = coords_name([const]), curl will operate on commonly used orthogonally curvilinear coordinate systems. See ?coords for the list of the coordinate systems supported by Maple.
For orthogonally curvilinear coordinates v, v, v
with unit vectors a, a, a, and scale factors
h, h, h:
Let the rectangular coordinates x, y, z be defined in terms of the
specified orthogonally curvilinear coordinates. We have:
h[n]^2 = [diff(x,v[n])^2 + diff(y,v[n])^2 + diff(z,v[n])^2], n=1,2,3.
The formula for the curl of f is:
curl(f) = [1/(h*h)*(diff(h*f,v)-diff(h*f,v)),
If co is a list of three elements which specify the scale factors, curl will operate on orthogonally curvilinear coordinate systems.
To compute the curl in other orthogonally curvilinear coordinate systems, use the addcoords routine.
The command with(linalg,curl) allows the use of the abbreviated form of this command.
define the scale factors in cylindrical coordinates
Download Help Document
What kind of issue would you like to report? (Optional)