---
title: "tgamma(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/tgamma(_:)-8qiri"
---

# tgamma(_:)

Returns the gamma function for each element in a vector.

## Declaration

```swift
func tgamma(_ x: simd_double8) -> simd_double8
```

## See Also

### Math Functions

- [cbrt(_:)](simd/cbrt(_:)-9dsjc.md)
- [erf(_:)](simd/erf(_:)-293ey.md)
- [erfc(_:)](simd/erfc(_:)-vzkw.md)
- [fma(_:_:_:)](simd/fma(_:_:_:)-95vfo.md)
- [fmod(_:_:)](simd/fmod(_:_:)-7g7m.md)
- [hypot(_:_:)](simd/hypot(_:_:)-8vke8.md)
- [lgamma(_:)](simd/lgamma(_:)-7t6g8.md)
- [nextafter(_:_:)](simd/nextafter(_:_:)-2xerr.md)
- [pow(_:_:)](simd/pow(_:_:)-9xmzf.md)
- [remainder(_:_:)](simd/remainder(_:_:)-326ci.md)
- [round(_:)](simd/round(_:)-7t6q.md)
- [simd_muladd(_:_:_:)](simd/simd_muladd(_:_:_:)-2vs0c.md)
