Function

simd_step(_:_:)

Returns zero for each element in a vector less than a specified edge; one otherwise.

Declaration

func simd_step(_ edge: simd_double4, _ x: simd_double4) -> simd_double4

See Also

Common Functions

func simd_abs(simd_double4) -> simd_double4

Returns the absolute value of each element in a vector.

func simd_clamp(simd_double4, simd_double4, simd_double4) -> simd_double4

Returns each element in a vector clamped to a specified range.

func simd_sign(simd_double4) -> simd_double4

Returns the sign of each element in a vector.

func simd_fract(simd_double4) -> simd_double4

Returns the fractional part of each element in a vector.

func simd_equal(simd_double4, simd_double4) -> simd_bool

Returns true if all elements of a vector are equal; false otherwise.