---
title: vDSP_vclrD
framework: Accelerate
role: symbol
role_heading: Function
platforms: [iOS 4.0+, iPadOS 4.0+, Mac Catalyst 13.1+, macOS 10.4+, visionOS 1.0+, watchOS 2.0+]
path: accelerate/vdsp_vclrd
---

# vDSP_vclrD

Populates a double-precision vector with zeros.

## Declaration

```occ
extern void vDSP_vclrD(double *__C, vDSP_Stride __IC, vDSP_Length __N);
```

## Parameters

- `__C`: Double-precision real output vector.
- `__IC`: Address stride for C.
- `__N`: The number of elements to process.

## Discussion

Discussion The vDSP_vclr and vDSP_vclrD functions populate a vector with zeros. The following code shows how to clear the array c, setting the value of each element to zero:

## See Also

### Clearing Vectors

- [vDSP_vclr](accelerate/vdsp_vclr.md)
