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_double2x2, _ __y: simd_double2x2, _ __tol: Double) -> simd_bool

See Also

Equality Functions

func simd_equal(simd_double2x2, simd_double2x2) -> 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_double2x2, simd_double2x2, Double) -> simd_bool

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