equationlist - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

type/equationlist

check for a list of equations

type/equationset

check for a set of equations

 Calling Sequence type(e, 'equationlist')

Parameters

 e - any expression

Description

 • The expression type(e, 'equationlist') returns the value true if the expression e is a list of equations, and returns the value false otherwise. It is a synonym for list(equation).
 • The expression type(e, 'equationset') returns the value true if the expression e is a set of equations, and returns the value false otherwise. It is a synonym for set(equation).

Supertypes

 • type/list is supertype of equationlist
 • type/set is supertype of equationset

Examples

 > $T≔\mathrm{table}\left(\left[\mathrm{color}=\mathrm{red},\mathrm{surfacearea}=4\mathrm{Pi}{r}^{2},\mathrm{volume}=\frac{4\mathrm{Pi}{r}^{3}}{3}\right]\right)$
 ${T}{≔}{table}{}\left(\left[{\mathrm{surfacearea}}{=}{4}{}{\mathrm{\pi }}{}{{r}}^{{2}}{,}{\mathrm{volume}}{=}\frac{{4}{}{\mathrm{\pi }}{}{{r}}^{{3}}}{{3}}{,}{\mathrm{color}}{=}{\mathrm{red}}\right]\right)$ (1)
 > $L≔\mathrm{convert}\left(T,'\mathrm{equationlist}'\right)$
 ${L}{≔}\left[{\mathrm{color}}{=}{\mathrm{red}}{,}{\mathrm{volume}}{=}\frac{{4}{}{\mathrm{\pi }}{}{{r}}^{{3}}}{{3}}{,}{\mathrm{surfacearea}}{=}{4}{}{\mathrm{\pi }}{}{{r}}^{{2}}\right]$ (2)
 > $\mathrm{type}\left(L,'\mathrm{equationlist}'\right)$
 ${\mathrm{true}}$ (3)
 > $S≔\mathrm{convert}\left(T,'\mathrm{equationset}'\right)$
 ${S}{≔}\left\{{\mathrm{color}}{=}{\mathrm{red}}{,}{\mathrm{volume}}{=}\frac{{4}{}{\mathrm{\pi }}{}{{r}}^{{3}}}{{3}}{,}{\mathrm{surfacearea}}{=}{4}{}{\mathrm{\pi }}{}{{r}}^{{2}}\right\}$ (4)
 > $\mathrm{type}\left(S,'\mathrm{equationset}'\right)$
 ${\mathrm{true}}$ (5)

Compatibility

 • The type/equationlist and type/equationset commands were introduced in Maple 2022.
 • For more information on Maple 2022 changes, see Updates in Maple 2022.