Table of Contents

Class Differentiator

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

Represents a differentiator that calculates the difference between two consecutive float values.

[Version(4, 1, 0)]
public sealed class Differentiator : ValueSnapshot<float>
Inheritance
Differentiator
Inherited Members
Extension Methods

Remarks

The differentiator assumes a constant sample rate. Therefore, while technically the derivative requires division by time, this constant can be absorbed by PidController, allowing the differentiator to focus solely on the difference between values.

Constructors

Differentiator()

Initializes a new instance of the Differentiator class.

Properties

Difference

Gets the difference between the current and previous value of this Differentiator.

Value

Gets or sets the value of this Differentiator.