Details of the VectorCalculus package - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Vector Calculus : VectorCalculus/Details

Details of the VectorCalculus package

 

Description

Accessing VectorCalculus Package Commands

List of VectorCalculus Package Commands

Vectors and Vector Fields

Examples

Description

• 

This help page contains detailed information about the VectorCalculus package. For basic information on this package, see the Overview of the VectorCalculus Package help page.

• 

The VectorCalculus package comes with a large set of predefined coordinate systems, and all computations in the package can be carried out in any of these coordinate systems. For a complete list of the predefined coordinate systems, see Coordinates.  There is also a facility for adding your own coordinate system and using that new coordinate system for your computations (see AddCoordinates).

• 

For examples using the VectorCalculus package, see the VectorCalculus Example Worksheet.

• 

The VectorCalculus and LinearAlgebra packages supersede the deprecated linalg package. For information on migrating linalg code to the new packages, see the LinearAlgebra Migration Worksheet.

Accessing VectorCalculus Package Commands

• 

Each command in the VectorCalculus package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

  

As the underlying implementation of the VectorCalculus package is a module, it is also possible to use the form VectorCalculus:-command to access a command from the package. For more information,  see Module Members.

List of VectorCalculus Package Commands

  

The following is a list of available commands.

*

+

About

AddCoordinates

ArcLength

BasisFormat

Binormal

ConvertVector

Coordinates

CrossProduct

Curl

Curvature

D

Del

diff

DirectionalDiff

Divergence

DotProduct

eval

evalVF

Flux

GetCoordinateParameters

GetCoordinates

GetPVDescription

GetRootPoint

GetSpace

Gradient

Hessian

int

IsPositionVector

IsRootedVector

IsVectorField

Jacobian

Laplacian

limit

LineInt

MapToBasis

Nabla

Norm

Normalize

PathInt

PlotPositionVector

PlotVector

PositionVector

PrincipalNormal

RadiusOfCurvature

RootedVector

ScalarPotential

series

SetCoordinateParameters

SetCoordinates

SpaceCurve

SurfaceInt

TangentLine

TangentPlane

TangentVector

TNBFrame

Torsion

Vector

VectorField

VectorPotential

VectorSpace

Wronskian

 

  

To display the help page for a particular VectorCalculus command, see Getting Help with a Command in a Package.

Vectors and Vector Fields

  

The basic objects on which the commands in the VectorCalculus package operate are the four principal Vector data structures, including vector fields (or Vector-valued procedures), and scalar functions.

  

Maple distinguishes between four different types of Vector data structures: free Vectors, position Vectors, rooted Vectors and vector fields:

  

- Free Vectors carry a coordinate system attribute and a set of coordinates, which define the tip of the vector when based at the origin. They are generally used to represent points, curves and surfaces. These Vectors are constructed using the Vector command.

  

- Position Vectors carry a coordinate system attribute and a list of components. The components of a position Vector are interpreted using transformations to Cartesian coordinates. Position Vectors are Cartesian Vectors rooted at the origin. These Vectors are constructed using the PositionVector command.

  

- Rooted Vectors carry a space attribute which equates to a VectorSpace module. This module defines the coordinate system and the base point (or root point) of the Vector. The components of a rooted Vector are coefficients to the unit vectors, which are obtained by differentiating the coordinate transformation equations. Rooted Vectors are used to represent direction and magnitude. These Vectors are constructed using the RootedVector command.

  

- Vector fields carry a coordinate system and a vectorfield attribute. This should be interpreted as a function that assigns a vector to each possible set of input parameters. Most routines in the VectorCalculus package that operate on vector fields also accept a Vector-valued operator; in this case, the output is generally an operator. Vector fields are constructed using the VectorField command.

  

In Cartesian coordinates, free Vectors, position Vectors, and rooted Vectors can be used interchangeably in most situations.

  

Note: Free Vectors, position Vectors, and rooted Vectors are never interpreted as constant vector fields by the VectorCalculus package commands. Vector fields and the other Vectors cannot be used interchangeably.

  

For more information on coordinates, see VectorCalculus[Coordinates]. For more information about operations with Vectors, see LinearAlgebra.

  

By default, Vectors and vector fields created by commands from the VectorCalculus package are displayed using basis format, that is, as a sum of scalar multiples of basis vectors.  Vector fields are visually distinguished in this format by displaying an overbar above each basis vector. For more information on Vector display formats, see BasisFormat.

Examples

withVectorCalculus:

TangentVectort,t2,t3,t

12t3t2

(1)

ArcLength2cost,2sint,t=0..2π

4π

(2)

SetCoordinatescartesianx,y,z

cartesianx,y,z

(3)

FVectorFieldxx2+y2+z2,yx2+y2+z2,zx2+y2+z2

Fxx2+y2+z2e_x+yx2+y2+z2e_y+zx2+y2+z2e_z

(4)

ScalarPotentialF

12lnx2+y2+z2

(5)

See Also

examples,VectorCalculus

module

UsingPackages

with