Student[LinearAlgebra] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Linear Algebra : Computation : Standard : Student/LinearAlgebra/Normalize

Student[LinearAlgebra]

 Normalize
 normalize a Vector

 Calling Sequence Normalize(V, p, options)

Parameters

 V - Vector p - (optional) non-negative number, infinity, Euclidean, or Frobenius; norm selector options - (optional) parameters; for a complete list, see LinearAlgebra[Normalize]

Description

 • The Normalize(V) command returns a Vector in which each component of V has been divided by the Euclidean (2)-norm of V.
 Note: The default norm in the top-level LinearAlgebra package is the infinity norm.
 An alternate norm can be selected by using the Normalize(V, p) form of the calling sequence.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{LinearAlgebra}\right]\right):$
 > $\mathrm{Normalize}\left(⟨3,0,4⟩\right)$
 $\left[\begin{array}{c}\frac{{3}}{{5}}\\ {0}\\ \frac{{4}}{{5}}\end{array}\right]$ (1)
 > $V≔⟨1.55|1.56|1.53⟩$
 ${V}{≔}\left[\begin{array}{ccc}{1.55}& {1.56}& {1.53}\end{array}\right]$ (2)
 > $\mathrm{Normalize}\left(V,1\right)$
 $\left[\begin{array}{ccc}{0.3340517242}& {0.3362068966}& {0.3297413793}\end{array}\right]$ (3)