Question: Expanding non-commutative products

Hi,

 

I need to expand a function of the form {[1]}.{[2]}.({[2, 3]}-{[3, 2]}).({[1, 3]}-{[3, 1]}), where '.' is for non-commutative multiplication. I need to get  {[1]}.{[2]}.{[2,3]}.{[1,3]} - {[1]}.{[2]}.{[2,3]}.{[3,1]} - ... (the order of matters).

 

Maple has a command 'expand', but that only works for normal products. eg. {[1]}*{[2]}*({[2, 3]}-{[3, 2]})*({[1, 3]}-{[3, 1]}).

 

Any help appreciated!

Thanks

Please Wait...