bit level access to vector elements?

Hello

Odd question, I have a vector and I'm wondering if theres a easy way to get bit level access (to specific bits) on the elements.

I guess I could have a vectors inside of vectors but it seems wasteful since I also have other operations that arnt at the bit level.

Thanks

alec's picture

GetBits

GetBits in Bits package (in Maple 12.)

Alec

Anything for 11 anychance?

Anything for 11 anychance? Not sure if Ill be upgrading anytime soon...

Thanks again

alec's picture

irem

irem, probably, could be used, or convert(n,base,2). Also, you might look for other than Maple interpreter - Python, for instance (and it's free.)

Alec

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}