Ask Your Question

Revision history [back]

Maybe what you are looking for is

(vec1[0])^Binv[0][0].lift()

which lifts Binv[0][0] to an integer before exponentiating.