共轭梯度法 function f=conjugate_grad_2d(x0,t) %please input this:conjugate_grad_2d([2,2],0.05) x=x0; syms xi yi a f=xi^2-xi*yi+3*yi^2; fx=diff(f,xi); fy=diff(f,yi);
wenwen.sogou.com