/// <summary> /// Applies jitter to the <see cref="input" /> using the settings set in the constructor. /// </summary> /// <param name="input">A double you want to apply jitter to.</param> /// <returns>A random number between <see cref="input" /> +/- percentage.</returns> public double Apply(double input) { return(Jitter.Apply(input, Settings)); }
/// <summary> /// Applies jitter to the <see cref="input" /> using the settings set in the constructor. /// </summary> /// <param name="input">A double you want to apply jitter to.</param> /// <returns>A random number between <see cref="input" /> +/- percentage.</returns> public int Apply(int input) { return(Jitter.Apply(input, Settings)); }