---
title: "tanh(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/tanh(_:)-4rx8s"
---

# tanh(_:)

Returns the hyperbolic tangent of each element in a vector.

## Declaration

```swift
func tanh(_ x: simd_float3) -> simd_float3
```

## See Also

### Hyperbolic Functions

- [acosh(_:)](simd/acosh(_:)-48wtu.md)
- [asinh(_:)](simd/asinh(_:)-5c50h.md)
- [atanh(_:)](simd/atanh(_:)-1y6z5.md)
- [cosh(_:)](simd/cosh(_:)-4k02l.md)
- [sinh(_:)](simd/sinh(_:)-15g8v.md)
