Is there a method to transform

(a1 * a2) ** (b1 * b2)


(a1 ** b1) * (a2 ** b2)

I am trying to transform non-commutative products based on the number at the end of the variable in order to replace it with a NCReplace (from the NCAlgebra package) later.

Thread[(a1*a2) ** (b1*b2), Times]

a1 ** b1 a2 ** b2


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.