> !!!本程序适用于求解形如f(x)=1/2*x'Ax+bx+c二次函数的稳定点;
,allocatable::x,gradt,dir,b ,s,y,p ,gradt1,x1
,allocatable::hessin ,H ,G ,U+ s: ~2 L: L5 D, m+ t2 R3 G8 a5 _
> do i=1,n( T( b! E! W/ K* U# x/ r$ w/ J
> !!!子程序,返回函数值
,intent(in)::x,b+ ^/ ^( U! A$ y7 L2 h" Y
,intent(in)::A
,intent(in)::p* E8 F7 D6 j' R
,intent(out)::G' ^% M. f5 i3 N/ T
,intent(in)::x,d
,intent(in)::b, } j* r; A: U+ q& `5 {; Q
,intent(in)::A' `- S o) H C. l2 f6 ^, S9 P* W
>!!!本程序适用于求解形如f(x)=1/2*x'Ax+bx+c二次函数的稳定点;
,allocatable::x,gradt,dir,b ,s,y,p ,gradt1,x1
,allocatable::hessin ,H ,G ,U$ r. `: M; a8 ?. J. U* C
> do i=1,n
> !!!子程序,返回函数值 1 W' ~; m9 k2 d8 S0 g9 F
,intent(in)::x,b& e5 c2 z$ v5 d* Y2 T* A6 l7 ?. ~
,intent(in)::A& v$ N s* Y: f! b
,intent(in)::p; F0 ~2 ?* @2 c7 O5 c2 t8 T
,intent(out)::G
,intent(in)::x,d* ]! Y8 y8 [+ o
,intent(in)::b* Q! m% {6 \: N' K
,intent(in)::A
>本程序由Fortran 90编写,在Visual Fortran 5上编译通过,本程序由沙沙提供!| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |