linalg(deprecated)/potential - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

potential

  

compute the potential of a vector field

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

potential(f, var, 'V')

Parameters

f

-

vector field

var

-

list of variables

'V'

-

name in which the 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 potential determines whether a given vector function is derivable from a scalar potential, and determines that potential if it exists.

• 

The function returns true if the function f has a scalar potential, and false if it does not.

• 

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

• 

The command with(linalg,potential) 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:

f2xy+y3,x2+3xy2

fy3+2xy,3xy2+x2

(1)

potentialf,x,y,'F'

true

(2)

F

xy3+x2y

(3)

g2x,2y,2z

g2x,2y,2z

(4)

potentialg,x,y,z,'G'

true

(5)

G

x2+y2+z2

(6)

See Also

linalg(deprecated)[grad]

linalg(deprecated)[vecpotent]

LinearAlgebra

VectorCalculus[ScalarPotential]