cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Bitvecs.xmcd

AlisdairMacdona
1-Newbie

Bitvecs.xmcd

These are functions for converting integers into bit vectors and back. bitvec(A,S) converts (the least significant S bits of) a positive integer to an S-bit vector and dbitvec(A,S) takes an S-bit vector A and returns an integer. The usefulness of these is that bitwise logic operations can be performed using Mathcads vectorise operator - on AND in the example. This is in Mathcad 15 format

0 REPLIES 0
Top Tags