节点文献
两种解线性方程组方法的C程序实现
C PROGRAM REALITION of TWO METHODS FOR SOVING LINER EQUATIONS
【摘要】 线性方程组的数值解法一般有两类:直接法和迭代法。直接法中的平方根法,就是利用对称正定矩阵的三角分解而得到的求解对称正定方程组的一种有效方法。迭代法中的雅克比迭代法是一种比较常用的方法,它公式简单,每迭代一次只需计算一次矩阵和向量乘法。本文通过示例介绍了这两种解线性方程组的方法的C程序实现。
【Abstract】 There are usually two kids of numerical methods for solving liner equations,direct method and iteration method.Square root method is one of direct methods,which is an effective method for the solution of symmetrical positive liner equations through triangle decomposition of symmetrical positive matrix.Yacobi method belongs to iteration methods,and is widely used.It has simple formula,which needs only time multiplication of matrix and rector for one iteration.The C program realization of the two methods is shown by the demonstrations in this paper.
【关键词】 数值分析;
直接法;
迭代法;
C程序;
【Key words】 numerical analysis; direct method; iteration method; C program;
【Key words】 numerical analysis; direct method; iteration method; C program;
- 【文献出处】 电脑知识与技术 ,Computer Knowledge and Technology , 编辑部邮箱 ,2005年24期
- 【分类号】TP311.11
- 【被引频次】1
- 【下载频次】435