linalg[normalize] - normalize a vector
|
Calling Sequence
|
|
normalize(A)
|
|
Description
|
|
•
|
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 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](..).
|
|
|
Download Help Document
Was this information helpful?