月度归档: 2020年9月

1 篇文章

数值分析Jacobi迭代法c/c++实现
matlab还没学精通,正好好久没写代码了,借此温习温习。 //Jacobi.cpp #include "Jacobi.h" #include <iostream> #include <vector> #include <stdlib.h> using namespace std; using std::vector; vector<double> matrix_A; vector<double> vector_b; Jacobi::Jacobi() { cout << "输入方阵维数:"; cin >> order; std::cout <&l…