numerical recipes in C source codes

源代码在线查看: cholsl.c

软件大小: 737 K
上传用户: xhaibo
关键词: numerical recipes source codes
下载地址: 免注册下载 普通下载 VIP

相关代码

				void cholsl(float **a, int n, float p[], float b[], float x[])
				{
					int i,k;
					float sum;
				
					for (i=1;i						for (sum=b[i],k=i-1;k>=1;k--) sum -= a[i][k]*x[k];
						x[i]=sum/p[i];
					}
					for (i=n;i>=1;i--) {
						for (sum=x[i],k=i+1;k						x[i]=sum/p[i];
					}
				}
				/* (C) Copr. 1986-92 Numerical Recipes Software "U,6VV'. */
							

相关资源