[a, b].interlace; even better. thanks! -j On Jun 6, 2006, at 8:38 PM, christian hresko wrote: C99 is the C programming language standard, 1999.
To answer the question below:
a = [0, 1, 2]; b = [12, 11, 10];
[a, b].interlace;
On Jun 6, 2006, at 4:38 PM, Jeremy Zuckerman wrote: what's C99?
On Jun 6, 2006, at 1:52 AM, John Nowak wrote:
On Jun 6, 2006, at 3:33 AM, Jeremy Zuckerman wrote:
hi, how could i get c = [0, 12, 1, 11, 2, 10];
from a = [0, 1, 2]; b = [12, 11, 10];
In pseudocode (okay, it's C99):
for(int i = 0; i < size_of_c; i++) { if(i % 2) c[i] = b[i / 2]; else c[i] = a[i / 2]; }
- John _______________________________________________ sc-users mailing list
_______________________________________________ sc-users mailing list
_______________________________________________ sc-users mailing list |