R
Rob
I have a binary array {0,0,1,1,0,0,1,1}
How can I efficently permutate the array?
e.g.,
{0,0,0,1,1,0,1,1,0}.
........
How can I efficently permutate the array?
e.g.,
{0,0,0,1,1,0,1,1,0}.
........
Rob said:I have a binary array {0,0,1,1,0,0,1,1}
How can I efficently permutate the array?
e.g.,
{0,0,0,1,1,0,1,1,0}.
.......
How can I efficently permutate the array?
It feels so good to know I am not the only obsessive compulsive disorder
around here![]()
Jeff said:I just have to interject: "permute," not "permutate."
Your interjectificationisationizing is noted.![]()
david said:Hi there,
How did you come up with the values:
0xe994
14
3
in the CountBits(int value) method.
They are hard coded and dont have any equation that can explain it.
If you can that would be excellent![]()