embedded_axis - Maple Help

type/embedded_real

check for an object of type embedded_real

type/embedded_imaginary

check for an object of type embedded_imaginary

type/embedded_axis

check for an object of type embedded_axis

 Calling Sequence type(x, embedded_real) type(x, embedded_real(d)) type(x, embedded_imaginary) type(x, embedded_imaginary(d)) type(x, embedded_axis) type(x, embedded_axis(d))

Parameters

 x - any expression d - any numeric type

Description

 • The type(x, embedded_real) function returns true if x is of type complex(extended_numeric) and $\mathrm{\Im }\left(x\right)=0$.
 The type(x, embedded_real(d)) function is the same as type(x, embedded_real) and type(Re(x), d).
 • The type(x, embedded_imaginary) function returns true if x is of type nonreal and $\mathrm{\Re }\left(x\right)=0$.
 The type(x, embedded_imaginary(d)) function is the same as type(x, embedded_imaginary) and type(Im(x), d).
 • The type(x, embedded_axis) function returns true if x is either an embedded_real or an embedded_imaginary.
 The type(x, embedded_axis(d)) function is the same as type(x, embedded_real(d)) or type(x, embedded_imaginary(d)).
 • Each of the structured types (where d is given) returns false if d is not a numeric type.

Examples

 > $\mathrm{type}\left(3,\mathrm{embedded_real}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\mathrm{∞},\mathrm{embedded_real}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{type}\left(3.4+0.0I,\mathrm{embedded_real}\left(\mathrm{float}\right)\right)$
 ${\mathrm{true}}$ (3)
 > $\mathrm{type}\left(3.4+0.0I,\mathrm{embedded_real}\left(\mathrm{integer}\right)\right)$
 ${\mathrm{false}}$ (4)
 > $\mathrm{type}\left(-0.0+\mathrm{undefined}I,\mathrm{embedded_imaginary}\right)$
 ${\mathrm{true}}$ (5)
 > $\mathrm{type}\left(3+\mathrm{∞}I,\mathrm{embedded_axis}\right)$
 ${\mathrm{false}}$ (6)
 > $\mathrm{type}\left(a+bI,\mathrm{embedded_axis}\left(\mathrm{name}\right)\right)$
 ${\mathrm{false}}$ (7)
 > $\mathrm{type}\left(\mathrm{∞}I,\mathrm{embedded_axis}\right)$
 ${\mathrm{true}}$ (8)