# Revision history [back]

### Vectorial division

If $\boldsymbol{D}$ isd a matrix. One can easily compute

r1=[(D[j+1]-D[j]) for j in range(D.nrows()-1)]


but is there a simple way to compute :

r1=[(D[j+1]-D[j]) /D[j] for j in range(D.nrows()-1)]


### Vectorial division

If $\boldsymbol{D}$ isd is a matrix. One can easily compute

r1=[(D[j+1]-D[j]) for j in range(D.nrows()-1)]


but is there a simple way to compute :

r1=[(D[j+1]-D[j]) /D[j] r1=[(D[j+1]-D[j])/D[j] for j in range(D.nrows()-1)]