| 1 | initial version |
vdelecroix's answer is perfectly fine. I just wanted to add that if you insist on being able to use 2**v then maybe you will like numpy. See here for an example.
However, what seems a bit strange is that if you try using that method through sage you will get an error, see here. Is this a bug or a feature?
| 2 | No.2 Revision |
vdelecroix's answer is perfectly fine. I just wanted to add that if you insist on being able to use 2**v then maybe you will like numpy. See here for an example.
However, what seems Update: It is possible to use 2.^v from within sage if v is a bit strange is that if you try using that method through sage you will get an error, see here. Is this a bug or a feature?numpy array (see link above).
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.