Math 236  •  Spring 2001

Auxiliary function booleanSelect 
for columnSpace

Version 1.0:  28 March 2001

The function

booleanSelect[v_List,  b_List]  :=  
      Cases[Thread[{v,  b}],  {val_,  1}  :>  
          val]

Example

booleanSelect[{2, 5, 3, 4, 9, 6}, {1, 0, 1, 0, 0, 1}]