student(deprecated)/Point - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/Point

type/Point

check for type Point

 

Calling Sequence

Parameters

Description

Examples

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 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 subsx=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`.

Examples

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

withstudent:

typea,Point

false

(1)

typea,Point

true

(2)

typea+4,b,Point

true

(3)

typea+4,b,`student/Point`

true

(4)

See Also

Student

student(deprecated)[distance]

student(deprecated)[midpoint]

student(deprecated)[slope]

type[point]