Maplets[Examples][LinearAlgebra] - Maple Help

Maplets[Examples][LinearAlgebra]

 VectorNorm
 display a graphic interface to the VectorNorm function

 Calling Sequence VectorNorm(V)

Parameters

 V - Vector

Description

 • The VectorNorm(V) calling sequence displays a Maplet application that returns the vector norm of V.
 • A definition of the vector norm is given in the Maplet application.
 • By using the Norm (Select from list or enter non-negative number) combo box, control the vector norm returned.
 • By using the Vector has real values check box, control the algorithm used to calculate the vector norm. If the vector has real entries, a faster algorithm can be used. The default value is determined by using the value of $\mathrm{has}\left(V,I\right)$, which returns true if V has complex entries. That is, it is selected, by default, only if V has no complex entries.
 Note: If Vector has real values is selected and the vector has any complex entries, an incorrect result may be returned.
 • By using the Evaluate result check box, control whether the Maplet application returns the vector norm of V or the calling sequence required to calculate the vector norm in the worksheet. The default behavior is to evaluate the result, that is, return the norm.
 • The VectorNorm sample Maplet worksheet demonstrates how to write a Maplet application that functions similarly to the Maplet application displayed by this routine.

Examples

 > $\mathrm{with}\left({\mathrm{Maplets}[\mathrm{Examples}]}_{\mathrm{LinearAlgebra}}\right):$
 > $\mathrm{VectorNorm}\left(⟨1,3,2,5⟩\right)$