---
title: Vector distance and Pythagorean computation
framework: accelerate
role: collectionGroup
role_heading: API Collection
path: accelerate/vector-distance-and-pythagorean-computation
---

# Vector distance and Pythagorean computation

Calculate distance and hypotenuse of vectors.

## Topics

### Vector hypotenuse computation

- [hypot(_:_:)](accelerate/vdsp/hypot(_:_:)-5grex.md)
- [hypot(_:_:)](accelerate/vdsp/hypot(_:_:)-7ku7m.md)
- [hypot(_:_:result:)](accelerate/vdsp/hypot(_:_:result:)-5d8pw.md)
- [hypot(_:_:result:)](accelerate/vdsp/hypot(_:_:result:)-1z10j.md)
- [hypot(x0:x1:y0:y1:)](accelerate/vdsp/hypot(x0:x1:y0:y1:)-15wy5.md)
- [hypot(x0:x1:y0:y1:)](accelerate/vdsp/hypot(x0:x1:y0:y1:)-12d4r.md)
- [hypot(x0:x1:y0:y1:result:)](accelerate/vdsp/hypot(x0:x1:y0:y1:result:)-7ksm.md)
- [hypot(x0:x1:y0:y1:result:)](accelerate/vdsp/hypot(x0:x1:y0:y1:result:)-4pizr.md)

### Vector distance computation

- [distanceSquared(_:_:)](accelerate/vdsp/distancesquared(_:_:)-2dvb6.md)
- [distanceSquared(_:_:)](accelerate/vdsp/distancesquared(_:_:)-3oub3.md)

## See Also

### Vector geometry functions

- [Dot product calculation](accelerate/dot-product-calculation.md)
