| 1 | initial version |
Maybe what you are looking for is
(vec1[0])^Binv[0][0].lift()
which lifts Binv[0][0] to an integer before exponentiating.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.