
# The distance on the hyperpolic space

The distance on the sphere $\mathbb H^n$ is defined for any $x,y\in\mathbb S^n$ by

where $\langle\cdot,\cdot\rangle_M$ denotes the Minkowski metric.

### Matlab Documentation

1
2
3
4
5
6
7
8
9
10
% d = dist(x,y) distance between points x and y on Hn
%
% INPUT
%   x,y : two points or sets of points on Hn
%
% OUTPUT
%     d : resulting distances of each pair of points of p,q.
% ---
% Manifold-Valued Image Restoration Toolbox 1.1
% R. Bergmann ~ 2014-10-19 | 2015-04-11