Symmetric Matrices

$$\operatorname{Sym}(n)$$ is the vector space of symmetric matrices:

$\operatorname{Sym}(n) = \{X \in \mathbb{R}^{n \times n}\:\mid\: X^\intercal = X \}$
class geotorch.Symmetric(lower=True)[source]

Vector space of symmetric matrices, parametrized in terms of the upper or lower triangular part of a matrix.

Parameters
• size (torch.size) – Size of the tensor to be parametrized

• lower (bool) – Optional. Uses the lower triangular part of the matrix to parametrize the matrix. Default: True

static in_manifold(X, eps=1e-06)[source]