student(deprecated)/Point - Help

type/Point

check for type Point

 Calling Sequence type(P,Point) type(P,student/Point)

Parameters

 P - any algebraic expression

Description

 • Important: The student package has been deprecated. Use the superseding package Student instead.
 • A Point is defined as a list of coordinate values (such as $\left[a,b,c\right]$). The length of the list determines the dimension of the space.
 • Objects of type Point differ from objects of Maple type point (such as $\left\{x=a,y=b,z=c\right\}$ ) in that the coordinates are defined by position in the list rather than by equations.  The substitution $\mathrm{subs}\left(\left\{x=a,y=b,z=c\right\},\left[x,y,z\right]\right)$ converts a point $\left\{x=a,y=b,z=c\right\}$ to the Point $\left[a,b,c\right]$.
 • The short form of this type check is only available for interactive use. It is made available through use of an alias which is defined during the initialization of the student package (that is, by performing the command with(student)). Procedures  which make use of this type check must make direct use of the full type name student/Point.

Examples

Important: The student package has been deprecated. Use the superseding package Student instead.

 > $\mathrm{with}\left(\mathrm{student}\right):$
 > $\mathrm{type}\left(a,\mathrm{Point}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{type}\left(\left[a\right],\mathrm{Point}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{type}\left(\left[a+4,b\right],\mathrm{Point}\right)$
 ${\mathrm{true}}$ (3)
 > $\mathrm{type}\left(\left[a+4,b\right],\mathrm{student/Point}\right)$
 ${\mathrm{true}}$ (4)