![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
|
inline |
Perform one Newton step using LU decomposition solver.
Computes the full Hessian, forms B = I + Sigma * W, performs LU decomposition, and solves for the new a vector.
| NewtonStateT | Type of the Newton state |
| LLFun | Type of the log-likelihood functor |
| LLTupleArgs | Type of the likelihood arguments tuple |
| CovarMat | Type of the covariance matrix |
| [in,out] | state | Shared Newton state (modified: b, curr().a()) |
| [in] | ll_fun | Log-likelihood functor |
| [in,out] | ll_args | Additional arguments for the likelihood |
| [in] | covariance | Prior covariance matrix Sigma |
| [in] | hessian_block_size | Size of each Hessian block |
| [in,out] | msgs | Output stream for diagnostic messages (may be nullptr) |
Definition at line 847 of file laplace_marginal_density_estimator.hpp.