---
title: "init(count:data:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/densevector_double/init(count:data:)"
---

# init(count:data:)

Creates a new vector of double-precision values.

## Declaration

```swift
init(count: Int32, data: UnsafeMutablePointer<Double>)
```

## Parameters

- `count`: The number of items in the vector.
- `data`: The array of double-precision, floating-point values.
