I want to create a vertical array according to the following
import numpy as np
L = 2**15
dx = 0.1
x = np.arange(-L/2,L/2)*dx
x=x.reshape((L,1))
This creates an array of dimension L,1 which is fine but is there a cleaner way to do this? I feel my solution is clunky