Applying a lower bound threshold on a list
Clash Royale CLAN TAG #URR8PPP up vote 3 down vote favorite Consider the following list list=0,0,0,10^-18,10^-15,10^-12,10^-10,1,1 How can I apply a threshold on the list that will give a lower bound for the values. For example ApplyThreshold[list,10^-12]; will yield an outcome of 10^-12,10^-12,10^-12,10^-12,10^-12,10^-12,10^-10,1,1 and ApplyThreshold[list,10^-9]; will yield an outcome of 10^-9,10^-9,10^-9,10^-9,10^-9,10^-9,10^-9,1,1 list-manipulation share | improve this question asked Aug 26 at 9:20 jarhead 689 4 12 add a comment  | up vote 3 down vote favorite Consider the following list list=0,0,0,10^-18,10^-15,10^-12,10^-10,1,1 How can I apply a threshold on the list that will give a lower bound for the values. For example ApplyThreshold[list,10^-12]; will yield an outcome of 10^-12,10^-12,10^-12,10^-12,10^-12,10^-12,10^-10,1,1 and ApplyThreshold[list,10^-9]; will yield an outcome of 10^-9,10^-9,1...