Skip to main content
. Author manuscript; available in PMC: 2017 Jan 7.
Published in final edited form as: Phys Med Biol. 2015 Dec 1;61(1):169–182. doi: 10.1088/0031-9155/61/1/169
Initialize α = [α(1), α(2)], convergence threshold ε, maximum number of iteration N.
Set j = 1. Set mean square error D0 and difference between iterations d to be sufficiently large.
while d >ε and j<N
v1 = + α(1)m1, v2 = + α(2)m1, T1 = B(v1) and, T2 = B(v2)
If D(T1(A), M) > D(T2(A), M)
  α =[(α(1) + α(2))/2, α(2)]
else
  α =[α(1), (α(1) + α(2))/2]
end
  d = D0 – min (D(T1(A), M), D(T2(A), M))
  D0 = min (D(T1(A), M), D(T2(A), M))
  j = j + 1
end
if D(T1(A), M) > D(T2(A), M)
  output α(2)
else
  output α(1)
end