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$
0

1 Answer 1

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

a1 ** b1 a2 ** b2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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