A C program for solving banded, symetric, positive definite systems

Author:

Branham Richard L.1

Affiliation:

1. Centro Regional de Investigaciones, Cientificas y Tecnológicas, Mendoza, Argentina

Abstract

Banded, symmetric, positive definite systems occur frequently. Although they can be solved by any program that incorporates Cholesky decomposition, or even LU decomposition, for greatest efficiency account should taken of the specialized nature of banded, symmetric, positive definite systems: elements outside the band need not be stored; because of symmetry nearly half of the non-null elements are superfluous and likewise need not be stored; positive definiteness obviates row and column interchanging. A C program, employing square root-free Cholesky decomposition, is given for solving such systems. For sparse matrix processing C offers advantages over FORTRAN: when the two-dimensional array is represented by a vector, C's conditional operator permits a compact way to index elements in the vector; the vector itself may be allocated dynamically and stores no null elements; divisions by powers of two may be replaced by bit shifts to the right; and preprocessor macros, substituting in-line code for subroutine calls, implement functions. An example, a 40 x 40 pentadiagonal system, illustrates use of the program. In this example the C code for banded, symmetric, positive definite systems is four hundred times faster than code for general Cholesky decomposition. Although accumulation of matrix inner products to high precision is usually not required for banded systems, a function subroutine is nevertheless presented to sum floating-point numbers with cascaded accumulators.

Publisher

Association for Computing Machinery (ACM)

Reference4 articles.

1. Martin R. S. and J. H. Wilkinson Num. Math. 7 355. (1965). Martin R. S. and J. H. Wilkinson Num. Math. 7 355. (1965).

2. A program for total (orthogonal) least squares in compact storage mode

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3