An efficient implementation of LU decomposition in C

Alan Meyer
{"title":"An efficient implementation of LU decomposition in C","authors":"Alan Meyer","doi":"10.1016/0141-1195(88)90011-3","DOIUrl":null,"url":null,"abstract":"<div><p>An implementation of the well-known LU decomposition method for solving systems of linear equations is presented. Operation counts typically stated for this method are derived from a theoretical analysis of the algorithm and ignore the practical aspects of the implementation. The overhead associated with assessing elements of the two-dimensional coefficient array are explored herein, and seen to be substantial. This overhead is incorporated into the analysis of LU decomposition and new operation counts are developed. By exploiting the addressing capabilities of C the cost of array access is significantly reduced, resulting in an efficient implementation. The techniques employed here can be applied to a wide variety of C programs which utilize multi-dimensional arrays.</p></div>","PeriodicalId":100043,"journal":{"name":"Advances in Engineering Software (1978)","volume":"10 3","pages":"Pages 123-130"},"PeriodicalIF":0.0000,"publicationDate":"1988-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0141-1195(88)90011-3","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in Engineering Software (1978)","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0141119588900113","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

An implementation of the well-known LU decomposition method for solving systems of linear equations is presented. Operation counts typically stated for this method are derived from a theoretical analysis of the algorithm and ignore the practical aspects of the implementation. The overhead associated with assessing elements of the two-dimensional coefficient array are explored herein, and seen to be substantial. This overhead is incorporated into the analysis of LU decomposition and new operation counts are developed. By exploiting the addressing capabilities of C the cost of array access is significantly reduced, resulting in an efficient implementation. The techniques employed here can be applied to a wide variety of C programs which utilize multi-dimensional arrays.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在C语言中有效实现LU分解
给出了求解线性方程组的LU分解方法的一个实现。这种方法的典型操作计数是从算法的理论分析中得出的,而忽略了实现的实际方面。与计算二维系数数组的元素相关的开销在这里进行了探讨,并且被认为是实质性的。这种开销被纳入到对LU分解的分析中,并开发了新的操作计数。通过利用C的寻址功能,数组访问的成本大大降低,从而实现了高效的实现。这里使用的技术可以应用于各种使用多维数组的C程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Structural design language for coupled knowledge-based systems Interactive design optimization of dynamic systems On the computation of integral properties of objects A FORTRAN program for calculating the thermodynamic and transport properties of diesel fuel An improved algorithm for profile minimisation of sparse systems of equations
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1