Norm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[VectorCalculus]

  

Norm

  

compute the norm of a Vector or vector field

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Norm(f, p)

Parameters

f

-

Vector; specify the Vector or vector field

p

-

(optional) non-negative number, infinity, or Euclidean; specify the norm

Description

• 

The Norm(f, p) calling sequence computes the p-norm of the Vector or vector field f. If p is omitted, it defaults to 2.

  

Note: If the current coordinate system (see SetCoordinates) is not cartesian, the Vector is transformed to Cartesian coordinates before the norm is computed (see MapToBasis).

• 

If f is a vector field, the result is a procedure that, at any point (Vector) v, evaluates to the p-norm of the value of f at v.

• 

The Norm(f,Euclidean) calling sequence is equivalent to Norm(f,2).

• 

If 0<=p<1 the value computed by this command defines a metric, but not a norm. For more information, see LinearAlgebra[Norm].

• 

Note: If the Norm command is applied to a vector field, vf, using the context menu, the result will be Norm(Vector(vf)) rather than Norm(vf), as this results in a more readable expression.

Examples

withStudentVectorCalculus&colon;

Norm3&comma;4

5

(1)

Norm3&comma;4&comma;1.5

5.584250376

(2)

For vector fields, the Norm command returns a procedure.

nNormVectorFieldxy&comma;xy&comma;3&colon;

n2&comma;3

2730133

(3)

Norm2&comma;0&comma;3&comma;0

2

(4)

SetCoordinatessphericalr,φ,θ

sphericalr,φ,θ

(5)

Norm1&comma;π2&comma;π3&comma;Euclidean

1

(6)

Norm2&comma;π3&comma;π4&comma;

62

(7)

See Also

LinearAlgebra[Norm]

Student[VectorCalculus]

Student[VectorCalculus][MapToBasis]

Student[VectorCalculus][Normalize]

Student[VectorCalculus][SetCoordinates]

Student[VectorCalculus][Vector]

Student[VectorCalculus][VectorField]