Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ build_result()

template<typename NewtonStateT >
auto stan::math::internal::CholeskyWSolverDiag::build_result ( NewtonStateT &  state,
double  log_det 
)
inline

Build the final result structure.

Template Parameters
NewtonStateTType of the Newton state
Parameters
[in]stateNewton state containing converged values
[in]log_detLog determinant from compute_log_determinant()
Returns
laplace_density_estimates with solver_used = 1

Definition at line 555 of file laplace_marginal_density_estimator.hpp.