Jagged non-zero submatrix data structure

On the basis of C language matrix having rows of different length, we havedeveloped a new storage format for rectangular matrix. It stores non-zero entries, their column indices and is called jagged non-zero sub-matrix data structure or simply jnz-format.In case of simple applications, when the only...

Full description

Bibliographic Details
Main Authors: Giga Chalauri, Vakhtang Laluashvili, Koba Gelashvili
Format: Article
Language:English
Published: Elsevier 2018-04-01
Series:Transactions of A. Razmadze Mathematical Institute
Online Access:http://www.sciencedirect.com/science/article/pii/S2346809217300727
id doaj-8faa5084dc3b46fe9ad3e8d648778d6a
record_format Article
spelling doaj-8faa5084dc3b46fe9ad3e8d648778d6a2020-11-24T21:17:41ZengElsevierTransactions of A. Razmadze Mathematical Institute2346-80922018-04-011721714Jagged non-zero submatrix data structureGiga Chalauri0Vakhtang Laluashvili1Koba Gelashvili2LUXOFT Poland, Regular Java developer, Krakowska 280, 32-080 Zabierzów, Krakow, PolandPublic Service Development Agency, Junior Programmer, 67a Tsereteli Avenue, 0154, Tbilisi, GeorgiaDepartment of Computer Science, Tbilisi State University, TSU Building/Block 11, 13 University Str., 0186 Tbilisi, Georgia; Corresponding author.On the basis of C language matrix having rows of different length, we havedeveloped a new storage format for rectangular matrix. It stores non-zero entries, their column indices and is called jagged non-zero sub-matrix data structure or simply jnz-format.In case of simple applications, when the only requirement from the format is to ensure the serial algorithm of multiplying matrix by vector (e.g. conjugate gradient (CG) method), two following issues are experimentally studied: • For what amount of zero-entries do we accept the rectangular matrix as sparse, with respect to used memory and speed; • What should the jnz-format’s interface look like. Determining the interface is comparatively laborious; jnz-format is compared to two approved formats—CRS and Mapped Matrix. In comparisons, CRS format is considered by using two different implementations, whilst jnz and Mapped Matrix —by using one. In comparisons, we use jnz and CRS formats with our own simple interface implementations and CRS and Mapped Matrix with boost’s library interfaces and implementations. Experiments’ results show jnz format’s prospect and visible advantage of the relatively easy interface.All the material regarding experiments can be seen at https://github.com/vakho10/Sparse-Storage-Formats. Keywords: Sparse matrix, Mapped matrix, Compressed matrix, Compressed sparse row, Java sparse array, jnz-format, GitHub, Boost library, Conjugate gradient methodhttp://www.sciencedirect.com/science/article/pii/S2346809217300727
collection DOAJ
language English
format Article
sources DOAJ
author Giga Chalauri
Vakhtang Laluashvili
Koba Gelashvili
spellingShingle Giga Chalauri
Vakhtang Laluashvili
Koba Gelashvili
Jagged non-zero submatrix data structure
Transactions of A. Razmadze Mathematical Institute
author_facet Giga Chalauri
Vakhtang Laluashvili
Koba Gelashvili
author_sort Giga Chalauri
title Jagged non-zero submatrix data structure
title_short Jagged non-zero submatrix data structure
title_full Jagged non-zero submatrix data structure
title_fullStr Jagged non-zero submatrix data structure
title_full_unstemmed Jagged non-zero submatrix data structure
title_sort jagged non-zero submatrix data structure
publisher Elsevier
series Transactions of A. Razmadze Mathematical Institute
issn 2346-8092
publishDate 2018-04-01
description On the basis of C language matrix having rows of different length, we havedeveloped a new storage format for rectangular matrix. It stores non-zero entries, their column indices and is called jagged non-zero sub-matrix data structure or simply jnz-format.In case of simple applications, when the only requirement from the format is to ensure the serial algorithm of multiplying matrix by vector (e.g. conjugate gradient (CG) method), two following issues are experimentally studied: • For what amount of zero-entries do we accept the rectangular matrix as sparse, with respect to used memory and speed; • What should the jnz-format’s interface look like. Determining the interface is comparatively laborious; jnz-format is compared to two approved formats—CRS and Mapped Matrix. In comparisons, CRS format is considered by using two different implementations, whilst jnz and Mapped Matrix —by using one. In comparisons, we use jnz and CRS formats with our own simple interface implementations and CRS and Mapped Matrix with boost’s library interfaces and implementations. Experiments’ results show jnz format’s prospect and visible advantage of the relatively easy interface.All the material regarding experiments can be seen at https://github.com/vakho10/Sparse-Storage-Formats. Keywords: Sparse matrix, Mapped matrix, Compressed matrix, Compressed sparse row, Java sparse array, jnz-format, GitHub, Boost library, Conjugate gradient method
url http://www.sciencedirect.com/science/article/pii/S2346809217300727
work_keys_str_mv AT gigachalauri jaggednonzerosubmatrixdatastructure
AT vakhtanglaluashvili jaggednonzerosubmatrixdatastructure
AT kobagelashvili jaggednonzerosubmatrixdatastructure
_version_ 1726012737252753408