|
Computational Methods in Discrete Mathematics
Computation of a determinant and a matrix product in cellular automata
V. S. Kozhevnikova, I. V. Matyushkinb a Moscow Institute of Physics and Technology, Dolgoprudny, Russia
b National Research University of Electronic Technology, Moscow, Russia
Abstract:
In the paper, possible implementations in cellular automata of
matrix–vector multiplication, matrix multiplication, and determinant computation are described. The algorithms are formalised in terms of a cellular automaton model using a two-dimensional field with closed boundaries and von Neumann neighbourhood. The proposed algorithms are notable for isolated calculations (meaning that no data is entered during the computation process), which is a feature of a classical cellular automaton as opposed to a systolic array. Matrix multiplication is implemented for two square matrices as well as specifically for a matrix and a column vector, the latter implementation using less control flag states and therefore less additional memory. The matrix multiplication algorithm adapts Katona's scheme for matrix multiplication in a systolic array to an isolated cellular automaton. For calculation of a determinant, two algorithms based on Gaussian elimination are proposed. One has linear complexity and uses a control flag with only 5 states, being, however, inapplicable to an arbitrary matrix. The other one is modified to seek the largest leading element during row reduction, which makes its complexity quadratic and its control flags assume 11 states but allows the algorithm to be applied to an arbitrary matrix and be more numerically stable.
Keywords:
cellular automaton, determinant, matrix multiplication, parallel computing.
Citation:
V. S. Kozhevnikov, I. V. Matyushkin, “Computation of a determinant and a matrix product in cellular automata”, Prikl. Diskr. Mat., 2019, no. 46, 88–107
Linking options:
https://www.mathnet.ru/eng/pdm687 https://www.mathnet.ru/eng/pdm/y2019/i4/p88
|
Statistics & downloads: |
Abstract page: | 186 | Full-text PDF : | 234 | References: | 17 |
|