5.15.6. minimizer.linmin_test¶
- eminus.minimizer.linmin_test(g, d)[source]¶
Do the line minimization test.
Calculate the cosine of the angle between g and d.
Reference: https://trond.hjorteland.com/thesis/node26.html
- Parameters:
g – Current gradient.
d – Previous search direction.
- Returns:
Linmin angle.