Contents

clamp(_:min:max:)

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

Declaration

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

See Also

Common Functions