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.