
# The inner product on symmetric positive definite matrices

The affine invariant metric on the symmetric positive definite matrices is defined for $x\in\SPD{n}$ and $\xi,\nu\in T_x\SPD{n}$ as

where $\Tr$ is the trace of a matrix.

### Matlab Documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
% dot(x,xi,nu) inner product of two tangent vectors in TxP(m)
%
% INPUT
%     x  : a point(Set) in P(n)
%     xi : a first tangent vector( set) to (each) x
%     xu : a secod tangent vector( set) to (each) x
%
% OUTPUT
%     ds : the corresponding value(s) of the inner product of (each triple) V,W at X
%
% ---
% Manifold-Valued Image Restoration Toolbox 1.0
% R. Bergmann ~ 2015-01-29 | 2015-04-11