Student/VectorCalculus/IsPositionVector - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Student/VectorCalculus/IsPositionVector

Student[VectorCalculus]

 IsPositionVector
 determines if its argument is a position Vector

 Calling Sequence IsPositionVector(v)

Parameters

 v - Vector; Vector to be tested

Description

 • The IsPositionVector(v) command returns true if v is a position Vector (that is, if v was created by a call to the PositionVector command), and false otherwise.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{VectorCalculus}\right]\right):$
 > $v≔\mathrm{PositionVector}\left(\left[a,b\right]\right)$
 ${v}{≔}\left[\begin{array}{c}{a}\\ {b}\end{array}\right]$ (1)
 > $\mathrm{IsPositionVector}\left(v\right)$
 ${\mathrm{true}}$ (2)