• v0.1.0 634c6bbf4d

    pycdloop - v0.1.0
    All checks were successful
    CI / Python 3.13 (macos-latest) (push) Has been skipped
    CI / Python 3.12 (windows-latest) (push) Has been skipped
    Release / Wheels (macos-15-intel) (push) Has been skipped
    Release / Wheels (macos-latest) (push) Has been skipped
    Release / Wheels (ubuntu-24.04-arm) (push) Has been skipped
    Release / Wheels (ubuntu-latest) (push) Has been skipped
    Release / Wheels (windows-latest) (push) Has been skipped
    Release / Source distribution (push) Has been skipped
    Release / Publish to TestPyPI (push) Has been skipped
    Release / Publish to PyPI (push) Has been skipped
    CI / Operation counts and archives (push) Successful in 29s
    CI / Python 3.14 / numpy (ubuntu-latest) (push) Successful in 3m54s
    CI / Source distribution and installed wheel (push) Successful in 4m0s
    CI / Python 3.12 / numpy (ubuntu-latest) (push) Successful in 4m5s
    CI / Python 3.10 / numpy==1.26.* (ubuntu-latest) (push) Successful in 4m18s
    Stable

    algebraity released this 2026-11-15 11:50:21 -05:00 | 0 commits to main since this release

    pycdloop

    pycdloop - v0.1.0

    This is the first public release of pycdloop, a Python package for arithmetic in Cayley–Dickson loops, their central products, and the loop algebras of both over the real numbers, the complex numbers, and finite fields. It is built on pyfastcd,
    the Python interface of fastCD, andho need fast, exact, or
    well-characterized arithmetic in thge of pycdloop is that it implementsquasilinear multiplication in Cayley–Dickson loop algebras: a product in the loop algebra of Q_n, of dimension 2N, takes O(N log N) operations instead of the O(N^2) of the definition. The same decomposition gives a fast product for central products Q_n * Q_m, and products over the
    fields of characteristic 2 are compteristic.

    This is a pre-release. The algorithms are those of the forthcoming paper Quasilinear multiplication in Cayley–Dickson loop algebras (H. Lemley). Version 0.1.0 will become v1.0.0 when that paper is released and added to the repository as a reference. Until then, a minor release may change public behavior, and every such change is recorded in the changelog.

    pycdloop may not be completely suitable for every application, but it is licensed under the MIT License so that it may be improved upon and adapted to the user's needs completely, with no questions asked.

    Installation

    From PyPI

    Run

    pip install pycdloop
    

    Prebuilt wheels are provided for CPython 3.10 through 3.14 on Linux (x86-64 and ARM64), macOS (Intel and Apple silicon), and Windows (x64). Requires NumPy 1.26+ and pyfastcd 1.4.0+, which pip installs.

    From source

    Run

    python -m pip install .
    

    from a checkout or

    pip install git+https://git.tanuki-cd.com/algebraity/pycdloop@v0.1.0
    

    Requires CPython 3.10+, NumPy 1.26+, pyfastcd 1.4.0+, a C11 compiler, and the Python development headers.

    What this release contains

    • CDLoop and CentralProduct: thal products, with sign functions,substructure, and export to GAP.
    • LoopAlgebra, with elements, batches, and a split form in which products need no transform, over
      R, C, and the finite fields F_(p^d)
    • Three multiplication algorithms, split, table, and lift, with the default chosen from measured timings.
    • Powers, inverses, zero-divisor tests, minimal polynomials, annihilators, and the center, wherever they are defined.
    • pycdloop.linalg and pycdloop.codes, for linear algebra over the coefficient fields and for ideals as linear codes, with export to GAP and SageMath.

    See the README for anoverview, the documentation for the quick start, the API reference, and the mathematical conventions, and CHANGELOG.md for the full list of what this release contehind the default algorithm choices,and the accuracy study against an exact reference, are in benchmark-results/.

    Downloads