This MQL differenciates any discrete function by smoothing by the discrete cosine transformation.