I feel really stupid like this should be obvious, but I can't figure out how to do it.
v = vector([1,2,3])
2^v
shouldn't this give me
[2, 4, 8]
I can't find any other way to do this without writing a function.
| 1 | initial version |
I feel really stupid like this should be obvious, but I can't figure out how to do it.
v = vector([1,2,3])
2^v
shouldn't this give me
[2, 4, 8]
I can't find any other way to do this without writing a function.
| 2 | No.2 Revision |
I feel really stupid like this should be obvious, but I can't figure out how to do it.
v = vector([1,2,3])
2^v
shouldn't this should give me
[2, 4, 8]
I can't find any other way to do this without writing a function.
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.