# Hi all, # I have a table of length N. It consists of numbers between 0 and 1. I want to apply a threshold to it. ie. assign 0 to numbers below the thresh and assign 1 to numbers above the thresh. Can I do this using vmap? (I did not understand well the info on the manual.) If I prepare another table of length N2, consists of 0 zeros up to index L and 1 after that index. How can I map these tables? # More generally, this second table can be any function of which domain is the range of the first table. And it can be used for diverse operations other than thresholding. -ugur guney-