# Distances and norms

We provide functions for computing norms and distances.

`HomotopyContinuation.euclidean_distance`

— Function.`euclidean_distance(u, v)`

Compute ||u-v||₂.

`HomotopyContinuation.euclidean_norm`

— Function.`euclidean_norm(u)`

Compute ||u||₂.

`HomotopyContinuation.infinity_distance`

— Function.`infinity_distance(u, v)`

Compute the ∞-norm of `u-v`

.

`HomotopyContinuation.infinity_norm`

— Function.`infinity_norm(z)`

Compute the ∞-norm of `z`

. If `z`

is a complex vector this is more efficient than `norm(z, Inf)`

.

`HomotopyContinuation.fubini_study`

— Function.`fubini_study(x::PVector, y::PVector)`

Computes the Fubini-Study distance between `x`

and `y`

.