
数值分析
gouki04
面向兴趣编程
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
求解线性方程组--高斯消去法
源代码用C++实现~~这里采用的是数值分析里的算法 代码在VC6.0下编译通过,经测试没大问题。 /* 求解线性方程组--高斯消去法 */ #include <iostream> using namespace std; /* 二维数组动态分配模板 */ template <class T> T** Allocation2D(int m, int n) { ...原创 2009-08-27 09:05:00 · 1263 阅读 · 0 评论 -
求解线性方程组--主元消去法
源代码用C++实现~~这里采用的是数值分析里的算法。 代码在VC6.0下编译通过,经测试没大问题。 /* 求解线性方程组--主元消去法 */ #include <iostream> using namespace std; /* 二维数组动态分配模板 */ template <class T> T** Allocation2D(int m, int n) { ...原创 2009-08-27 09:28:00 · 1255 阅读 · 0 评论 -
求解线性方程组--全主元消去法
求解线性方程组--全主元消去法。 源代码用C++实现~~这里采用的是数值分析里的算法。 代码在VC6.0下编译通过,经测试没大问题。 /* 求解线性方程组--全主元消去法 */ #include <iostream> using namespace std; /* 二维数组动态分配模板 */ template <class T> T** Allocation2D...原创 2009-08-27 09:48:00 · 3029 阅读 · 0 评论 -
求解线性方程组--Doolittle分解法
求解线性方程组--Doolittle分解法。 源代码用C++实现~~这里采用的是数值分析里的算法。 代码在VC6.0下编译通过,经测试没大问题。 /* 求解线性方程组--Doolittle分解法 */ #include <iostream> using namespace std; /* 二维数组动态分配模板 */ template <class T> T**...原创 2009-08-27 09:57:00 · 6779 阅读 · 0 评论 -
求解线性方程组--Cholesky分解法
求解线性方程组--Cholesky分解法。 源代码用C++实现~~这里采用的是数值分析里的算法。 代码在VC6.0下编译通过,经测试没大问题。 /* 求解线性方程组--Cholesky分解法 */ //#################################### //# 本分解法仅适用于当 # //# 系数矩阵为对称正定阵的情况 # /...原创 2009-08-27 10:07:00 · 5651 阅读 · 0 评论 -
求解线性方程组--追赶法
求解线性方程组--追赶法 /* 求解线性方程组--追赶法 */ //#################################### //# 本分解法仅适用于当 # //# 系数矩阵为三对角形阵的情况 # //#################################### #include <iostream> ...原创 2009-08-27 15:41:00 · 3204 阅读 · 0 评论 -
求解线性方程组--Jacobi迭代法
求解线性方程组--Jacobi迭代法 /* 求解线性方程组--Jacobi迭代法 */ #include <iostream> #include <cmath> using namespace std; /* 二维数组动态分配模板 */ template <class T> T** Allocation2D(int m, int n) { T *...原创 2009-08-27 16:01:00 · 1687 阅读 · 0 评论 -
求解线性方程组--Gauss-Seidel迭代法
求解线性方程组--Gauss-Seidel迭代法 /* 求解线性方程组--Gauss-Seidel迭代法 */ #include <iostream> #include <cmath> using namespace std; /* 二维数组动态分配模板 */ template <class T> T** Allocation2D(int m, int ...原创 2009-08-27 16:13:00 · 2848 阅读 · 0 评论