Papers for

numerical computing developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Quasilinear algorithm speeds up real Cayley–Dickson multiplication

Quasilinear multiplication in the real Cayley--Dickson tower

Abstract: Direct evaluation of the defining product in the real Cayley--Dickson algebra $A_n$, of dimension $N=2^n$, has quadratic arithmetic complexity. This paper gives a uniform algorithm for multiplication using $O(N\log N)$ real arithmetic operations and $O(N)$ auxiliary storage. The algorithm reduces multiplication to the alternating product on the imaginary subspace, then evaluates that product by a two-call recursion over one fixed quadratic coefficient extension. For $n\ge1$, the resulting bilinear algorithm uses at most $(9n-15)2^{n-1}+10$ input-dependent real multiplications, and for $n\ge3$, the specified arithmetic schedule uses $(34n-83)2^{n-1}+50$ real operations in total. Under this counting convention, the quasilinear schedule uses fewer operations than direct multiplication for $N\ge16$ and than the uniform Cariow--Cariowa method for $N\ge32$. The algorithm is implemented in the MIT-licensed C11 library fastCD, with a NumPy-backed Python interface, and its results are checked against an independent implementation of the defining recursion. In single-core benchmarks against direct multiplication and the uniform Cariow--Cariowa method, the quasilinear implementation had the lowest mean time of the three at every tested dimension $N\ge32$, for both single and batched products, and was roughly $16$ times faster than direct multiplication at $N=1024$.

Thu 10 SeptSymbolic Computation
The gist
Multiplying numbers in the real Cayley–Dickson algebra usually takes a lot of time because the straightforward method scales quadratically with size. The authors provide a new algorithm that multiplies these numbers much faster, using fewer steps as the dimension grows. They also created and tested a software library implementing this method, showing it runs faster than older approaches for large sizes. This makes working with Cayley–Dickson algebras more efficient in practice.
Open → 2609.11588v1