next up previous contents index
Next: Simplification Up: Manipulating an expression Previous: NCMonomial[expr]   Contents   Index

NCUnMonomial[expr]

Aliases: None
Description: NCUnMonomial reverses what NCMonomial does. NCUnMonomial changes the look of an expression by replacing a product of $ n$ copies of $ x$ with $ x^n$. For example, $ NCUnMonomial[2 x ** x + 5 x ** x ** x ** x]$ evaluates to $ 2 x^2 + 5 x^4$ and $ NCUnMonomial[x ** x ** z ** x]$ evaluates to $ (x^2) ** z ** x$.
Arguments: Any noncommutative expression.
Comments / Limitations: See NCMonomial. NCAlgebra does not effectively manipulate expressions involving powers (such as $ (x^2)$)



NCAlgebra Project 2002-09-09