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

# tanh(_:)

Returns the hyperbolic tangent of each element in a vector.

## Declaration

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

## See Also

### Hyperbolic Functions

- [acosh(_:)](simd/acosh(_:)-1e4qf.md)
- [asinh(_:)](simd/asinh(_:)-8b3vg.md)
- [atanh(_:)](simd/atanh(_:)-7z6qz.md)
- [cosh(_:)](simd/cosh(_:)-6f3bc.md)
- [sinh(_:)](simd/sinh(_:)-6glq8.md)
