Quasilinear multiplication in the real Cayley--Dickson tower
Abstract: Direct evaluation of the defining product in the real Cayley--Dickson algebra , of dimension , has quadratic arithmetic complexity. This paper gives a uniform algorithm for multiplication using real arithmetic operations and 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 , the resulting bilinear algorithm uses at most input-dependent real multiplications, and for , the specified arithmetic schedule uses real operations in total. Under this counting convention, the quasilinear schedule uses fewer operations than direct multiplication for and than the uniform Cariow--Cariowa method for . 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 , for both single and batched products, and was roughly $16$ times faster than direct multiplication at .
Paper Prompts
Sign up for free to create and run prompts on this paper.