4
$\begingroup$

Is there a method to transform

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

into

(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.

$\endgroup$
3
$\begingroup$
Thread[(a1*a2) ** (b1*b2), Times]

a1 ** b1 a2 ** b2

|improve this answer|||||
$\endgroup$

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.