 equationlist - Maple Help

convert/equationlist

convert to list of equations

convert/equationset

convert to set of equations Calling Sequence convert(expr, equationlist) convert(expr, equationset) Parameters

 expr - list, rtable, set, table, or python; expression to convert Description

 • convert(expr, equationlist) takes a string or container object and produces a list of equations with content equivalent to the input.
 • convert(expr, equationset) takes a string or container object and produces a set of equations with content equivalent to the input.
 • If expr is a rtable or table, it is converted to a list or set of equations whose LHS is the index of expr and RHS is the elements of expr.
 • If expr is a list or set, it is converted to a list or set of equations whose LHS is the index of expr and RHS is the elements of expr. Examples

 > $\mathrm{convert}\left(⟨⟨1,3,5⟩|⟨5,7,9⟩⟩,\mathrm{equationlist}\right)$
 $\left[\left({1}{,}{1}\right){=}{1}{,}\left({1}{,}{2}\right){=}{5}{,}\left({2}{,}{1}\right){=}{3}{,}\left({2}{,}{2}\right){=}{7}{,}\left({3}{,}{1}\right){=}{5}{,}\left({3}{,}{2}\right){=}{9}\right]$ (1)
 > $\mathrm{convert}\left(⟨⟨1,3,5⟩|⟨5,7,9⟩⟩,\mathrm{equationset}\right)$
 $\left\{\left({1}{,}{1}\right){=}{1}{,}\left({1}{,}{2}\right){=}{5}{,}\left({2}{,}{1}\right){=}{3}{,}\left({2}{,}{2}\right){=}{7}{,}\left({3}{,}{1}\right){=}{5}{,}\left({3}{,}{2}\right){=}{9}\right\}$ (2)
 > $\mathrm{convert}\left(\mathrm{table}\left(\left["a"=1,"b"=3,"b"=8\right]\right),\mathrm{equationlist}\right)$
 $\left[{"a"}{=}{1}{,}{"b"}{=}{8}\right]$ (3)
 > $\mathrm{convert}\left(\mathrm{table}\left(\left["a"=1,"b"=3,"b"=8\right]\right),\mathrm{equationset}\right)$
 $\left\{{"a"}{=}{1}{,}{"b"}{=}{8}\right\}$ (4) Compatibility

 • The convert/equationlist and convert/equationset commands were introduced in Maple 2022.