> !!!本程序适用于求解形如f(x)=1/2*x'Ax+bx+c二次函数的稳定点;) f# S4 C3 k; e) u
,allocatable::x,gradt,dir,b ,s,y,gradt1,x1
,allocatable::hessin ,B1 ,G,G1! V4 Q3 C( j% z$ P
> do i=1,n
> !!!子程序,返回函数值
,intent(in)::x,b! t- k( q% R% S2 w4 ^
,intent(in)::A
,intent(in)::p r& a* e# B+ j" D( S' I2 s
,intent(out)::G) y$ S% a7 Y* `4 Z6 p
=p(i)*p {$ O- O8 `$ Q+ N( \
,intent(in)::x,d
,intent(in)::b
,intent(in)::A) C$ F' T! ~$ o
> " _% @( c" G0 J# Y
>本程序用Fortran 90编写,在Virual Fortran 5上编译通过,本程序由沙沙提供!</P>| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |