combine/icombine - Maple Programming Help

Home : Support : Online Help : Mathematics : Algebra : Expression Manipulation : Combining : combine/icombine

combine/icombine

combine integer powers in a product

 Calling Sequence combine(e, 'icombine')

Parameters

 e - expression

Description

 • The combine(e,'icombine') function tries to combine products of powers of integers in such a way that the bases of the powers in a given product have no common factors. It does not, however, rewrite a product of integer powers as a product of prime powers.

Examples

 > $\mathrm{combine}\left({2}^{a}{2}^{b},'\mathrm{power}'\right)$
 ${{2}}^{{a}{+}{b}}$ (1)
 > $\mathrm{combine}\left({2}^{a}{2}^{b},'\mathrm{icombine}'\right)$
 ${{2}}^{{a}{+}{b}}$ (2)
 > $\mathrm{combine}\left({4}^{a}{6}^{b}{12}^{c}{5}^{d},'\mathrm{power}'\right)$
 ${{4}}^{{a}}{}{{6}}^{{b}}{}{{12}}^{{c}}{}{{5}}^{{d}}$ (3)
 > $\mathrm{combine}\left({4}^{a}{6}^{b}{12}^{c}{5}^{d},'\mathrm{icombine}'\right)$
 ${{2}}^{{2}{}{a}{+}{b}{+}{2}{}{c}}{}{{3}}^{{c}{+}{b}}{}{{5}}^{{d}}$ (4)
 > $\mathrm{combine}\left({4}^{a}{6}^{b}{12}^{c}{5}^{d}F\left({4}^{a}{12}^{c}{7}^{e}\right),'\mathrm{icombine}'\right)$
 ${{2}}^{{2}{}{a}{+}{b}{+}{2}{}{c}}{}{{3}}^{{c}{+}{b}}{}{{5}}^{{d}}{}{F}{}\left({{3}}^{{c}}{}{{4}}^{{a}{+}{c}}{}{{7}}^{{e}}\right)$ (5)