Computes for each array element whether an element is infinite.