锯齿状非零子矩阵数据结构

IF 0.3 Q4 MATHEMATICS
Giga Chalauri , Vakhtang Laluashvili , Koba Gelashvili
{"title":"锯齿状非零子矩阵数据结构","authors":"Giga Chalauri ,&nbsp;Vakhtang Laluashvili ,&nbsp;Koba Gelashvili","doi":"10.1016/j.trmi.2017.10.002","DOIUrl":null,"url":null,"abstract":"<div><p>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 <em>jnz-format</em>.</p><p>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: </p><ul><li><span>•</span><span><p>For what amount of zero-entries do we accept the rectangular matrix as sparse, with respect to used memory and speed;</p></span></li><li><span>•</span><span><p>What should the <em>jnz-format</em>’s interface look like.</p></span></li></ul>Determining the interface is comparatively laborious; <em>jnz-format</em> is compared to two approved formats—CRS and <em>Mapped Matrix</em>. In comparisons, CRS format is considered by using two different implementations, whilst <em>jnz</em> and <em>Mapped Matrix</em> —by using one. In comparisons, we use <em>jnz</em> and CRS formats with our own simple interface implementations and CRS and <em>Mapped Matrix</em> with <em>boost</em>’s library interfaces and implementations. Experiments’ results show <em>jnz</em> format’s prospect and visible advantage of the relatively easy interface.<p>All the material regarding experiments can be seen at <span>https://github.com/vakho10/Sparse-Storage-Formats</span><svg><path></path></svg>.</p></div>","PeriodicalId":43623,"journal":{"name":"Transactions of A Razmadze Mathematical Institute","volume":"172 1","pages":"Pages 7-14"},"PeriodicalIF":0.3000,"publicationDate":"2018-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.trmi.2017.10.002","citationCount":"2","resultStr":"{\"title\":\"Jagged non-zero submatrix data structure\",\"authors\":\"Giga Chalauri ,&nbsp;Vakhtang Laluashvili ,&nbsp;Koba Gelashvili\",\"doi\":\"10.1016/j.trmi.2017.10.002\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>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 <em>jnz-format</em>.</p><p>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: </p><ul><li><span>•</span><span><p>For what amount of zero-entries do we accept the rectangular matrix as sparse, with respect to used memory and speed;</p></span></li><li><span>•</span><span><p>What should the <em>jnz-format</em>’s interface look like.</p></span></li></ul>Determining the interface is comparatively laborious; <em>jnz-format</em> is compared to two approved formats—CRS and <em>Mapped Matrix</em>. In comparisons, CRS format is considered by using two different implementations, whilst <em>jnz</em> and <em>Mapped Matrix</em> —by using one. In comparisons, we use <em>jnz</em> and CRS formats with our own simple interface implementations and CRS and <em>Mapped Matrix</em> with <em>boost</em>’s library interfaces and implementations. Experiments’ results show <em>jnz</em> format’s prospect and visible advantage of the relatively easy interface.<p>All the material regarding experiments can be seen at <span>https://github.com/vakho10/Sparse-Storage-Formats</span><svg><path></path></svg>.</p></div>\",\"PeriodicalId\":43623,\"journal\":{\"name\":\"Transactions of A Razmadze Mathematical Institute\",\"volume\":\"172 1\",\"pages\":\"Pages 7-14\"},\"PeriodicalIF\":0.3000,\"publicationDate\":\"2018-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1016/j.trmi.2017.10.002\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Transactions of A Razmadze Mathematical Institute\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2346809217300727\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"MATHEMATICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Transactions of A Razmadze Mathematical Institute","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2346809217300727","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 2

摘要

在C语言矩阵具有不同行长度的基础上,我们开发了一种新的矩形矩阵存储格式。它存储非零条目及其列索引,称为锯齿非零子矩阵数据结构或简称为jnz格式。在简单的应用中,当格式的唯一要求是确保矩阵乘以向量的串行算法(例如共轭梯度(CG)方法)时,实验研究了以下两个问题:•对于多少个零项,我们接受矩形矩阵为稀疏,相对于使用的内存和速度;•jnz格式的接口应该是什么样子的。确定接口比较费力;将jnz格式与两种已批准的格式crs和Mapped Matrix进行比较。在比较中,CRS格式是通过使用两个不同的实现来考虑的,而jnz和Mapped Matrix是通过使用一个实现来考虑的。在比较中,我们使用jnz和CRS格式与我们自己的简单接口实现,使用CRS和Mapped Matrix与boost的库接口和实现。实验结果显示了jnz格式的应用前景和相对简单的界面优势。所有关于实验的材料都可以在https://github.com/vakho10/Sparse-Storage-Formats上看到。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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 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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
0.50
自引率
50.00%
发文量
0
审稿时长
22 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信