I have a list y={{a,b},{c,d},...} of dimension {10^5, 2}, and number x. I want to divide only the second part of each element of the list by x, and have as result a new list {{a,b/x},{c,d/x},...}. What is the fastest/best way to do it? This is what I have done:
{#[[1]], Divide[#[[2]], x]} & /@y
Thanks
y[[All, 2]] /= x; y– Kuba Jan 16 '15 at 10:20