Function

simd_almost_equal_elements(_:_:_:)

Returns true if every element in a matrix is within a specified tolerance to the corresponding element in a second matrix.

Declaration

func simd_almost_equal_elements(_ __x: simd_float2x2, _ __y: simd_float2x2, _ __tol: Float) -> simd_bool

See Also

Equality Functions

func simd_equal(simd_float2x2, simd_float2x2) -> simd_bool

Returns true if every element in a matrix is exactly equal to the corresponding element in a second matrix.

func simd_almost_equal_elements_relative(simd_float2x2, simd_float2x2, Float) -> simd_bool

Returns true if every element in a matrix is within a specified single-precision relative tolerance to the corresponding element in a second matrix.