arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.10451cs.MS
收藏

The Willing Kingdon Clifford 代数库

The Willing Kingdon Clifford Algebra Library

Martin Roelfs

AI总结:

本文介绍开源 Python 库 Kingdon,通过输入类型无关设计、符号优化与即时编译,将几何代数高效集成到 PyTorch、NumPy、SymPy 等现有工作流中,并支持 Jupyter 可视化快速原型开发。

摘要:

Kingdon 是一个开源 Python 包,旨在将几何代数(GA)无缝集成到现有工作流中。与以往的 GA 库不同,kingdon 与输入类型无关,因此支持例如 PyTorch 张量、NumPy 数组或 SymPy 符号表达式等上的几何代数。尽管拒绝专门化,它仍通过对算子进行符号优化并利用输入稀疏性进行即时编译表达式来提供高性能。此外,它在 Jupyter notebook 中使用 ganja 的可视化能力与科学研究中常见的快速原型工作流相契合。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑