Elementary.SoftThreshold 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#
public static double SoftThreshold(
	double value,
	double threshold
)

Parameters

value  Double
The value to reduce.
threshold  Double

Return Value

Double
value reduced in magnitude by threshold, or zero if the magnitude of value is less than threshold.

See Also