Navigation

Operators and Keywords

Function List:

C++ API

__doglegm__.m File Reference


Functions

 if (xn > delta) s
 if (sn > 0) s
 if (snm< delta) bn
1-snmd^2 sqrt ()

Variables

function x
 xn = norm (d .* x)
 sn = norm (s)
 tn = norm (r*s)
 snm = (sn / tn) / tn
 dxn = delta/xn
 snmd = snm/delta
 t = (bn/sn) * (bn/xn) * snmd
 alpha = dxn*(1-snmd^2) / t

Function Documentation

if (  ) 

if ( sn  ,
 
)

if ( xn  ,
delta   
)

1-snmd^2 sqrt (  )  [virtual]


Variable Documentation

endif else alpha = dxn*(1-snmd^2) / t

sn = norm (s)

snm = (sn / tn) / tn

t = (bn/sn) * (bn/xn) * snmd

tn = norm (r*s)

endif x

Initial value:

 __doglegm__ (r, g, d, delta)

  b = r' \ g

xn = norm (d .* x)