# Clipping, Limit, and Threshold Operations

No overview available.

## Topics

### Clipping Operations

The functions in this group restrict the values in a vector so that they fall within a given range or invert values outside a given range.

`vDSP_vclip`

Calculates the elements of a single-precision vector clipped to the specified range using the specified stride.

`vDSP_vclipD`

Calculates the elements of a double-precision vector clipped to the specified range using the specified stride.

`vDSP_vclipc`

Calculates and counts the elements of a single-precision vector clipped to the specified range.

`vDSP_vclipcD`

Calculates and counts the elements of a double-precision vector clipped to the specified range.

`vDSP_viclip`

Calculates the elements of a single-precision vector inverted-clipped to the specified range using the specified stride.

`vDSP_viclipD`

Calculates the elements of a double-precision vector inverted-clipped to the specified range using the specified stride.

`vDSP_vthr`

Calculates single-precision vector threshold to the specified range.

`vDSP_vthrD`

Calculates double-precision vector threshold to the specified range.

### Limit Operations

`vDSP_vlim`

Calculates the single-precision vector test limit using the specified stride.

`vDSP_vlimD`

Calculates the double-precision vector test limit using the specified stride.

### Threshold Operations

`vDSP_vthres`

Calculates single-precision vector threshold with zero fill to the specified range.

`vDSP_vthresD`

Calculates double-precision vector threshold with zero fill to the specified range.

`vDSP_vthrsc`

Calculates single-precision vector threshold with signed constant to the specified range.

`vDSP_vthrscD`

Calculates double-precision vector threshold with signed constant to the specified range.