Table of Contents

Method GetStep

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

GetStep<T>(float, T, T)

Gets the step response that returns y0 for all inputs less than x, and y1 for all inputs greater than or equal to x.

public static StepResponse<T> GetStep<T>(float x, T y0, T y1)

Parameters

x float

The x.

y0 T

The y0.

y1 T

The y1.

Returns

StepResponse<T>

StepResponse.

Type Parameters

T