Next: NCStrongCollect[expr, aListOfVariables]
Up: Manipulating an expression
Previous: ExpandNonCommutativeMultiply[expr]
  Contents
  Index
- Aliases: NCC
- Description:
collects terms
of expression
according to the
elements of
and attempts to combine them using
a particular list of rules called
.
NCCollect is weaker than NCStrongCollect in that
first-order and second-order terms are not collected together.
NCCollect uses
NCDecompose, and then NCStrongCollect, and then NCCompose.
- Arguments:
is an algebraic expression.
is a list of variables.
- Comments / Limitations: While
always returns mathematically correct expressions,
it may not collect
from as many terms as it should. If
has been expanded in the previous step, the problem does not arise.
If not, the pattern match behind NCCollect may not get entirely
inside of every factor where
appears.
NCAlgebra Project
2002-09-09