|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
Central difference approximation of the first derivative.
| T | Sample type |
| history | Buffer with capacity >= 3 |
| dt | Elapsed time between consecutive samples |
Second-order accurate versus the first-order accurate backward difference used by velocity(). Costs one extra sample of lag since the estimate is centered on history[1], not history[0].
Definition at line 117 of file Differential.hpp.
Referenced by central_first_derivative().
Here is the caller graph for this function: