Download GPUmat User Guide
Transcript
CHAPTER 6. Function Reference 6.2. OPERATORS 6.2.1 A & B and - Logical AND SYNTAX R R A B R = = - A & B and(A,B) GPUsingle, GPUdouble GPUsingle, GPUdouble GPUsingle, GPUdouble DESCRIPTION A & B performs a logical AND of arrays A and B and returns an array containing elements set to either logical 1 (TRUE) or logical 0 (FALSE). Compilation supported EXAMPLE A = GPUsingle([1 3 0 4]); B = GPUsingle([0 1 10 2]); R = A & B; single(R) 69 GPUmat Guide Version 0.27. Copyright gp-you.org.