English

A new quadratic-time number-theoretic algorithm to solve matrix multiplication problem

Data Structures and Algorithms 2019-01-30 v4

Abstract

There have been several algorithms designed to optimise matrix multiplication. From schoolbook method with complexity O(n3)O(n^3) to advanced tensor-based tools with time complexity O(n2.3728639)O(n^{2.3728639}) (lowest possible bound achieved), a lot of work has been done to reduce the steps used in the recursive version. Some group-theoretic and computer algebraic estimations also conjecture the existence of an O(n2)O(n^2) algorithm. This article discusses a quadratic-time number-theoretic approach that converts large vectors in the operands to a single large entity and combines them to make the dot-product. For two n×nn \times n matrices, this dot-product is iteratively used for each such vector. Preprocessing and computation makes it a quadratic time algorithm with a considerable constant of proportionality. Special strategies for integers, floating point numbers and complex numbers are also discussed, with a theoretical estimation of time and space complexity.

Keywords

Cite

@article{arxiv.1806.03701,
  title  = {A new quadratic-time number-theoretic algorithm to solve matrix multiplication problem},
  author = {Shrohan Mohapatra},
  journal= {arXiv preprint arXiv:1806.03701},
  year   = {2019}
}
R2 v1 2026-06-23T02:25:05.698Z