Normalize - 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]

  

Normalize

  

normalize a Vector or vector field

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Normalize(f, p)

Parameters

f

-

Vector; specify the Vector or vector field

p

-

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

Description

• 

The Normalize(f, p) calling sequence normalizes the Vector or vector field f with respect to the p-norm. If p is omitted, it defaults to 2.  Note that if the current coordinate system (see SetCoordinates) is not cartesian, the Vector will be transformed to cartesian coordinates before the normalization is computed (see MapToBasis), and then the result will be mapped back to its original coordinate system.

• 

If f is a vector field, the result is again a vector field that, at any point (Vector) v, evaluates to the normalized (with respect to the {p}-norm) value of f at v.

• 

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

Examples

withStudentVectorCalculus:

Normalize3,4

Normalize3,4,1.5

Normalize3,4,0

For vector fields, the Normalize command returns a vector field.

nNormalizeVectorFieldxy,xy,3:

evalVFn,2,3

97302373073023730

(1)

SetCoordinatessphericalr,φ,θ

sphericalr,φ,θ

(2)

pRootedVector1,1,2,root=1,π2,π3

p112

(3)

Normalizep,Euclidean

666663

(4)

Normalizep,

12121

(5)

See Also

LinearAlgebra[Normalize]

Student[VectorCalculus]

Student[VectorCalculus][MapToBasis]

Student[VectorCalculus][Norm]

Student[VectorCalculus][SetCoordinates]

Student[VectorCalculus][Vector]

Student[VectorCalculus][VectorField]