Operations with logical vectors , Gilberto E.  Urroz, Utah State University