Elementary.Soft Threshold Method
Reduces the magnitude of a number towards zero.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
value reduced in magnitude by threshold, or zero if the magnitude of value is less than threshold.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.