Centered matrices

Manifolds.CenteredMatrices โ€” Type
CenteredMatrices{๐”ฝ,T} <: AbstractDecoratorManifold{๐”ฝ}

The manifold of $mร—n$ real-valued or complex-valued matrices whose columns sum to zero, i.e.

\[\bigl\{ p โˆˆ ๐”ฝ^{mร—n}\ \big|\ [1 โ€ฆ 1] * p = [0 โ€ฆ 0] \bigr\},\]

where $๐”ฝ โˆˆ \{โ„,โ„‚\}$.

Constructor

CenteredMatrices(m, n[, field=โ„]; parameter::Symbol=:type)

Generate the manifold of m-by-n (field-valued) matrices whose columns sum to zero.

parameter: whether a type parameter should be used to store m and n. By default size is stored in type. Value can either be :field or :type.

source
ManifoldsBase.project โ€” Method
project(M::CenteredMatrices, p, X)

Project the matrix X onto the tangent space at p on the CenteredMatrices M, i.e.

\[\operatorname{proj}_p(X) = X - \begin{bmatrix} 1\\ โ‹ฎ\\ 1 \end{bmatrix} * [c_1 \dots c_n],\]

where $c_i = \frac{1}{m}\sum_{j=1}^m x_{j,i}$ for $i = 1, \dots, n$.

source
ManifoldsBase.project โ€” Method
project(M::CenteredMatrices, p)

Projects p from the embedding onto the CenteredMatrices M, i.e.

\[\operatorname{proj}_{\mathcal M}(p) = p - \begin{bmatrix} 1\\ โ‹ฎ\\ 1 \end{bmatrix} * [c_1 \dots c_n],\]

where $c_i = \frac{1}{m}\sum_{j=1}^m p_{j,i}$ for $i = 1, \dots, n$.

source