| Matrix33DClampToZero Method (Double) |
Clamps near-zero matrix elements to zero.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public void ClampToZero(
double epsilon
)
Public Sub ClampToZero (
epsilon As Double
)
public:
void ClampToZero(
double epsilon
)
member ClampToZero :
epsilon : float -> unit
Parameters
- epsilon
- Type: SystemDouble
The tolerance value.
Remarks
Each matrix element is compared to zero. If the element is in the interval
[-epsilon, +epsilon] it is set to zero, otherwise it
remains unchanged.
See Also