Algorithm 898: efficient multiplication of dense matrices over GF(2). We describe an efficient implementation of a hierarchy of algorithms for multiplication of dense matrices over the field with two elements (𝔽 2 ). In particular we present our implementation – in the M4RI library – of Strassen-Winograd matrix multiplication and the “Method of the Four Russians for Multiplication” (M4RM) and compare it against other available implementations. Good performance is demonstrated on AMD’s Opteron processor and particulary good performance on Intel’s Core 2 Duo processor. The open-source M4RI library is available as a stand-alone package as well as part of the Sage mathematics system. In machine terms, addition in 𝔽 2 is logical-XOR, and multiplication is logical-AND, thus a machine word of 64 bits allows one to operate on 64 elements of 𝔽 2 in parallel: at most one CPU cycle for 64 parallel additions or multiplications. As such, element-wise operations over 𝔽 2 are relatively cheap. In fact, in this paper, we conclude that the actual bottlenecks are memory reads and writes and issues of data locality. We present our empirical findings in relation to minimizing these and give an analysis thereof.
Keywords for this software
References in zbMATH (referenced in 4 articles , 1 standard article )
Showing results 1 to 4 of 4.
- Cannon, John J.; Steel, Allan K.; Unger, William R.: Construction of the irreducible modular representations of a finite group (2020)
- Cenk, Murat; Hasan, M. Anwar: On the arithmetic complexity of Strassen-like matrix multiplications (2017)
- Bertolazzi, Enrico; Rimoldi, Anna: Fast matrix decomposition in (\mathbbF_2) (2014)
- Albrecht, Martin; Bard, Gregory; Hart, William: Algorithm 898: Efficient multiplication of dense matrices over GF(2) (2010)