---
title: "vcosf(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vcosf(_:)"
---

# vcosf(_:)

For each vector element, calculates the cosine.

## Declaration

```swift
func vcosf(_: vFloat) -> vFloat
```

## See Also

### Trigonometric Functions (from vfp.h)

- [vsinf(_:)](accelerate/vsinf(_:).md)
- [vsincosf(_:_:)](accelerate/vsincosf(_:_:).md)
- [vtanf(_:)](accelerate/vtanf(_:).md)
- [vasinf(_:)](accelerate/vasinf(_:).md)
- [vacosf(_:)](accelerate/vacosf(_:).md)
- [vatanf(_:)](accelerate/vatanf(_:).md)
- [vatan2f(_:_:)](accelerate/vatan2f(_:_:).md)
- [vvcbrt(_:_:_:)](accelerate/vvcbrt(_:_:_:).md)
- [vvcbrtf(_:_:_:)](accelerate/vvcbrtf(_:_:_:).md)
