Operations<T>.Clamp Method
Returns a number clamped by a maximum and minimum value.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static T Clamp(
T x,
T min,
T max
)