{"title":"模算法在矩阵计算中的应用","authors":"V. Kuchukov, M. Babenko","doi":"10.1109/ISPRAS47671.2019.00013","DOIUrl":null,"url":null,"abstract":"The article considers the application of the Residue Number System (RNS) for matrix calculations. This can be useful to improve the performance and reliability of calculations in digital signal processing and artificial neural networks. We have reviewed the algorithms for calculating the scalar product. Their modeling and comparison with the standard means of the NumPy library of the Python are carried out. Methods of translation between the positional numeral system and RNS are described and simulated. Conclusions about the applicability of methods for calculations on Python are made. We have present the fault-tolerant scheme for error detection and correction. The examples of error occurrence and their correction by the presented scheme are considered.","PeriodicalId":154688,"journal":{"name":"2019 Ivannikov Ispras Open Conference (ISPRAS)","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"The Application of Modular Arithmetic for Matrix Calculations\",\"authors\":\"V. Kuchukov, M. Babenko\",\"doi\":\"10.1109/ISPRAS47671.2019.00013\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The article considers the application of the Residue Number System (RNS) for matrix calculations. This can be useful to improve the performance and reliability of calculations in digital signal processing and artificial neural networks. We have reviewed the algorithms for calculating the scalar product. Their modeling and comparison with the standard means of the NumPy library of the Python are carried out. Methods of translation between the positional numeral system and RNS are described and simulated. Conclusions about the applicability of methods for calculations on Python are made. We have present the fault-tolerant scheme for error detection and correction. The examples of error occurrence and their correction by the presented scheme are considered.\",\"PeriodicalId\":154688,\"journal\":{\"name\":\"2019 Ivannikov Ispras Open Conference (ISPRAS)\",\"volume\":\"40 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 Ivannikov Ispras Open Conference (ISPRAS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISPRAS47671.2019.00013\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 Ivannikov Ispras Open Conference (ISPRAS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPRAS47671.2019.00013","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
The Application of Modular Arithmetic for Matrix Calculations
The article considers the application of the Residue Number System (RNS) for matrix calculations. This can be useful to improve the performance and reliability of calculations in digital signal processing and artificial neural networks. We have reviewed the algorithms for calculating the scalar product. Their modeling and comparison with the standard means of the NumPy library of the Python are carried out. Methods of translation between the positional numeral system and RNS are described and simulated. Conclusions about the applicability of methods for calculations on Python are made. We have present the fault-tolerant scheme for error detection and correction. The examples of error occurrence and their correction by the presented scheme are considered.