Grading - Maple Programming Help

 GetDomain

 Calling Sequence GetDomain(obj)

Parameters

 obj - a Grading object

Description

 • If the Grading object obj had been constructed with a limited domain specified, then this is returned. Otherwise, NULL is returned.

Examples

 > $\mathrm{with}\left(\mathrm{Grading}\right):$
 > $Q≔\mathrm{QuadraticFunction}\left({x}^{2}-4x+4,'\mathrm{domain}'=\mathrm{RealRange}\left(-\mathrm{\infty },-2\right)\right)$
 ${Q}{≔}{\mathrm{<< QuadraticFunction: x^2-4*x+4>>}}$ (1)
 > $\mathrm{GetDomain}\left(Q\right)$
 $\left({-}{\mathrm{\infty }}{,}{-2}\right]$ (2)

Compatibility

 • The Grading:-GetDomain command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.