convert/equality - Maple Programming Help

Home : Support : Online Help : Programming : Logic : Relations : conversions : convert/equality

convert/equality

convert relations to equalities

convert/lessthan

converts relations to < form

convert/lessequal

converts relations to <= form

 Calling Sequence convert(relation, equality) convert(relation, lessthan) convert(relation, lessequal)

Parameters

 relation - relation

Description

 • The convert/equality function converts a relation to an equality, by replacing the relation with $=$.
 • The convert/lessthan function replaces the relation with $<$ and the convert/lessequal function replaces the relation with $<=$.
 • Note that the inequalities $>$ and $>=$ are automatically converted to $<$ and $<=$ by Maple.

Examples

 > $\mathrm{convert}\left(x<{y}^{2},\mathrm{equality}\right)$
 ${x}{=}{{y}}^{{2}}$ (1)
 > $\mathrm{convert}\left(x\le \mathrm{sin}\left(x\right),\mathrm{lessthan}\right)$
 ${x}{<}{\mathrm{sin}}{}\left({x}\right)$ (2)
 > $\mathrm{convert}\left(x=y,\mathrm{lessequal}\right)$
 ${x}{\le }{y}$ (3)