linalg(deprecated)/vecpotent - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

vecpotent

  

compute the vector potential

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

vecpotent(f, var, 'V')

Parameters

f

-

vector function of length three

var

-

list of three variables

V

-

name in which the vector potential is returned

Description

• 

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

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The function vecpotent determines whether a given vector function has a vector potential, and determines that vector potential if it exists.

• 

The function returns true if the function f has a vector potential, and false if it does not.  The vector potential exists if and only if the divergence of f is zero.

• 

If a vector potential for f exists, it will be assigned to the name given in the third argument V.  If vecpotent returns true, then V will be assigned a vector function such that curl V = f.

• 

The command with(linalg,vecpotent) allows the use of the abbreviated form of this command.

Examples

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

withlinalg:

fx2y,1xy22,xyz

fx2y,xy22,xyz

(1)

vecpotentf,x,y,z,'V'

true

(2)

printV

xy2z2x2yz0

(3)

gx2,y2,z2

gx2,y2,z2

(4)

vecpotentg,x,y,z,'G'

false

(5)

See Also

linalg(deprecated)[potential]

LinearAlgebra

VectorCalculus[VectorPotential]