Click or drag to resize
DigitalRuneMatrix33FClampToZero Method (Matrix33F, Single)
Returns a matrix with the matrix elements clamped to the range [min, max].

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static Matrix33F ClampToZero(
	Matrix33F matrix,
	float epsilon
)

Parameters

matrix
Type: DigitalRune.Mathematics.AlgebraMatrix33F
The matrix.
epsilon
Type: SystemSingle
The tolerance value.

Return Value

Type: Matrix33F
The matrix with small elements clamped to zero.
Remarks
Each matrix element is compared to zero. If it is in the interval [-epsilon, +epsilon] it is set to zero, otherwise it remains unchanged.
See Also