linalg(deprecated)/normalize - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

normalize

  

normalize a vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

normalize(A)

Parameters

A

-

vector

Description

• 

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

  

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

• 

The normalize function normalizes the specified vector with the 2-norm.

• 

Use map(linalg[normalize], linalg[GramSchmidt]({v1, v2, .., vk}), to compute the orthonormal basis for a set v1,v2,vk,.. of vectors.

• 

This function is part of the linalg package, and so can be used in the form normalize(..) only after performing the command with(linalg) or with(linalg, normalize).  The function can always be accessed in the long form linalg[normalize](..).

Examples

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

withlinalg:

normalizearray1,I

22I22

(1)

norm,2

1

(2)

normalizearray1,2,2

132323

(3)

norm,2

1

(4)

See Also

linalg(deprecated)[GramSchmidt]

linalg(deprecated)[norm]

LinearAlgebra