---
title: "dot(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/dot(_:_:)-5ifd"
---

# dot(_:_:)

Returns the dot product of two vectors.

## Declaration

```swift
func dot(_ x: SIMD4<Double>, _ y: SIMD4<Double>) -> Double
```

## See Also

### Geometry Functions

- [normalize(_:)](simd/normalize(_:)-3lhrd.md)
- [project(_:_:)](simd/project(_:_:)-1uuxo.md)
- [reflect(_:n:)](simd/reflect(_:n:)-1nabs.md)
- [refract(_:n:eta:)](simd/refract(_:n:eta:)-2macj.md)
