ddt_nonuniform()#
- ddt_nonuniform(states, t)[source]#
Second-order finite differences for estimating the first derivative.
- Parameters:
- states(r, k) ndarray
State snapshots:
states[:, j]
is the state at time \(t_j\).- t(k,) ndarray
Time domain corresponding to the state snapshots.
- Returns:
- ddts(r, k) ndarray
Time derivative estimates corresponding to the state snapshots.