This change implements the following three logical vector operations: