Calcualtes vector of doubles with speeds

calculate_speeds(distances, timestamps)

Arguments

distances

distance measures in any unit

timestamps

timestamps of the distance measurements

Value

vector of immediate speeds in given unit per second