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 a,b,c). The length of the list determines the dimension of the space.
Objects of type Point differ from objects of Maple type point (such as x=a,y=b,z=c ) in that the coordinates are defined by position in the list rather than by equations. The substitution subs⁡x=a,y=b,z=c,x,y,z converts a point x=a,y=b,z=c to the Point a,b,c.
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`.
with⁡student:
type⁡a,Point
false
true
type⁡a+4,b,Point
type⁡a+4,b,`student/Point`
See Also
Student
student(deprecated)[distance]
student(deprecated)[midpoint]
student(deprecated)[slope]
type[point]
Download Help Document