Contents

clamp(_:min:max:)

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

Declaration

func clamp(_ x: SIMD2<Double>, min: SIMD2<Double>, max: SIMD2<Double>) -> SIMD2<Double>

See Also

Common Functions