I have an array populated with the same value, however, I want this value to incrementally decrease by a value of 0.025 with each row. It currently looks like this:
import numpy as np
vp_ref = 30
surf_lay = np.ones(([1000,10000]), dtype=np.float32);
gvp_ref = vp_ref * surf_lay
So the array is filled with 30s. I want the first row to be 30, decrease to 29.975 in the next row, and keep going until the bottom. How would I do this?