---
title: "project(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/project(_:_:)-1uuxo"
---

# project(_:_:)

Returns the first vector projected onto the second vector.

## Declaration

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

## See Also

### Geometry Functions

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