C++:实现共轭梯度 (CG) 方法求解 对称正定(SPD)稀疏线性系统A*x=b test.hpp test.cpp test.hpp int cg_rc ( int n, double b[], double x[], double r[],