Manifolds.jl: An Extensible Julia Framework for Data Analysis on Manifolds
Abstract
We present the Julia package Manifoldsjl, providing a fast and easy-to-use library of Riemannian manifolds and Lie groups. This package enables working with data defined on a Riemannian manifold, such as the circle, the sphere, symmetric positive definite matrices, or one of the models for hyperbolic spaces. We introduce a common interface, available in ManifoldsBasejl, with which new manifolds, applications, and algorithms can be implemented. We demonstrate the utility of Manifoldsjl using B\'ezier splines, an optimization task on manifolds, and principal component analysis on nonlinear data. In a benchmark, Manifoldsjl outperforms all comparable packages for low-dimensional manifolds in speed; over Python and Matlab packages, the improvement is often several orders of magnitude, while over C/C++ packages, the improvement is two-fold. For high-dimensional manifolds, it outperforms all packages except for Tensorflow-Riemopt, which is specifically tailored for high-dimensional manifolds.
Keywords
Cite
@article{arxiv.2106.08777,
title = {Manifolds.jl: An Extensible Julia Framework for Data Analysis on Manifolds},
author = {Seth D. Axen and Mateusz Baran and Ronny Bergmann and Krzysztof Rzecki},
journal= {arXiv preprint arXiv:2106.08777},
year = {2025}
}