Elementary.Soft Threshold Method
Reduces the magnitude of a number towards zero.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
value reduced in magnitude by threshold, or zero if the magnitude of value is less than threshold.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double SoftThreshold(
double value,
double threshold
)
Parameters
Return Value
Doublevalue reduced in magnitude by threshold, or zero if the magnitude of value is less than threshold.