It seems there are no logical operation on matrix or vec.
The following does AND and OR, while NOT etc. would be just subtracting from a bvec of ones.
bvec b = "1 0 1 0"; cout << b + b << endl; cout << elem_mult(b, b) << endl;
HTH.
Kumar
Log in to post a comment.
It seems there are no logical operation on matrix or vec.
The following does AND and OR, while NOT etc. would be just subtracting from a bvec of ones.
HTH.
Kumar