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

# dot(_:_:)

Returns the dot product of two vectors.

## Declaration

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

## See Also

### Geometry Functions

- [normalize(_:)](simd/normalize(_:)-6g9xc.md)
- [project(_:_:)](simd/project(_:_:)-pdsh.md)
- [reflect(_:n:)](simd/reflect(_:n:)-8i5cc.md)
- [refract(_:n:eta:)](simd/refract(_:n:eta:)-8qo9c.md)
