[in,out] | objective_new | On entry: objective at the full‐step a (must satisfy objective_new < objective_old). On exit: best objective found. |
[in,out] | a | On entry: candidate parameter vector. On exit: updated to the step achieving the lowest objective. |
[in,out] | theta | On entry: Σ·a for the initial candidate. On exit: Σ·a for the accepted best step. |
[in,out] | a_prev | On entry: previous parameter vector, with objective objective_old . On exit: rolled forward to each newly accepted step. |
[in] | ll_fun | Callable that computes the log‐likelihood given (theta, ll_args, msgs) . |
[in] | ll_args | Arguments forwarded to ll_fun at each evaluation. |
[in] | covariance | Covariance matrix Σ used to compute theta = Σ·a . |
[in] | max_steps_line_search | Maximum number of iterations. |
[in] | objective_old | Objective value at the initial a_prev (used as f₀ for the first pass). |
[in] | tolerance | Minimum tolerance to accept a step |
[in,out] | msgs | Pointer to a diagnostics container; may be used by ll_fun to record warnings. |