GetDimension - Maple Help

Student[MultivariateCalculus]

 GetDimension
 determine whether a Line, plane, or point object is in two- or three-dimensional space

 Calling Sequence GetDimension(pl)

Parameters

 pl - Line, Plane, list ; Line or Plane defined by Student[MultivariateCalculus] or a point

Description

 • The GetDimension command finds out if a line, plane or point object is in two-dimensional or three-dimensional space.
 • A point, by definition, has dimension zero; a line has dimension one; and a plane has dimension two. But the space in which these objects live has a different dimension (two or three, for the Student[MultivariateCalculus] package). It is this dimension that the GetDimension command returns.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{MultivariateCalculus}\right]\right):$
 > $\mathrm{l1}≔\mathrm{Line}\left(\left[0,4,2\right],⟨1,1,1⟩\right):$
 > $\mathrm{GetDimension}\left(\mathrm{l1}\right)$
 ${3}$ (1)
 > $\mathrm{p1}≔\mathrm{Plane}\left(\left[0,4,2\right],\left[5,9,7\right],\left[-1,6,3\right]\right):$
 > $\mathrm{GetDimension}\left(\mathrm{p1}\right)$
 ${3}$ (2)
 > $\mathrm{l2}≔\mathrm{Line}\left(\left[0,2\right],\left[0,1\right]\right):$
 > $\mathrm{GetDimension}\left(\mathrm{l2}\right)$
 ${2}$ (3)
 > $\mathrm{GetDimension}\left(\left[3,2,1\right]\right)$
 ${3}$ (4)

Compatibility

 • The Student[MultivariateCalculus][GetDimension] command was introduced in Maple 17.