type/Point
check for type Point
Calling Sequence
Parameters
Description
Examples
type(P,Point)
type(P,`student/Point`)
P

any algebraic expression
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`.
$\mathrm{with}\left(\mathrm{student}\right)\:$
$\mathrm{type}\left(a\,\mathrm{Point}\right)$
${\mathrm{false}}$
$\mathrm{type}\left(\left[a\right]\,\mathrm{Point}\right)$
${\mathrm{true}}$
$\mathrm{type}\left(\left[a+4\,b\right]\,\mathrm{Point}\right)$
$\mathrm{type}\left(\left[a+4\,b\right]\,\mathrm{`student/Point`}\right)$
See Also
Student
student(deprecated)[distance]
student(deprecated)[midpoint]
student(deprecated)[slope]
type[point]
Download Help Document
What kind of issue would you like to report? (Optional)