English

The Willing Kingdon Clifford Algebra Library

Mathematical Software 2025-03-14 v1

Abstract

Kingdon is an open-source Python package designed to seamlessly integrate Geometric Algebra (GA) into existing workflows. Unlike previous GA libraries, kingdon is input-type-agnostic, and hence supports GA's over e.g. PyTorch tensors, NumPy arrays, or SymPy symbolic expressions, to name but a few. Despite this refusal to specialize, it delivers high performance by symbolically optimizing operators and leveraging input sparsity for Just-In-Time compiled expressions. Additionally, its visualization capabilities in Jupyter notebooks using ganja align with the rapid prototyping workflow common to scientific research.

Keywords

Cite

@article{arxiv.2503.10451,
  title  = {The Willing Kingdon Clifford Algebra Library},
  author = {Martin Roelfs},
  journal= {arXiv preprint arXiv:2503.10451},
  year   = {2025}
}

Comments

13 pages, 4 figures

R2 v1 2026-06-28T22:19:11.131Z