共轭梯度法的MATLAB实现程序 %conjugate gradient methods%method:FR,PRP,HS,DY,CD,WYL,LS%精确线搜索,梯度终止准则function [ m,k,d,a,X,g1,fv] = conjgradme( G,b,c,X,e,method)if nargin<6error('输入参数必须为6');endn=length(G);if n==2format long... 2023-06-13 matlab共轭梯度法程序文章软件开发开发环境