walks = np. zeros ((num_walks, N+1)) # Positions of each walk walks [: ,0] = x0 ... We need the np. cumsum function for this, with the argument axis=1 for ...
確定! 回上一頁