 type/point - Maple Programming Help

Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/point

type/point

check for a point

 Calling Sequence type(P, point)

Parameters

 P - any algebraic expression

Description

 • This function returns true if and only if P is an equation or set of equations, each of which are of the form $x=e$ where $x$ is a name that is not a constant, and $e$ is an algebraic expression that does not contain $x$.
 • The names $x$ are intended to define the coordinate space, and the expressions $e$ are the corresponding coordinate values.
 • Objects of type point differ from objects of type Point in the (now deprecated) student package in that the coordinates are defined by names rather than by position in a list.

Examples

 > $\mathrm{type}\left(a=4,\mathrm{point}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\left\{a=4,b=2\right\},\mathrm{point}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{type}\left(\left\{d=3,a+b=c\right\},\mathrm{point}\right)$
 ${\mathrm{false}}$ (3)