Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ block_matrix_chol_L()

template<typename WRootMat >
void stan::math::internal::block_matrix_chol_L ( WRootMat &  W_root,
const Eigen::SparseMatrix< double > &  W,
const Eigen::Index  block_size 
)
inline

Performs a Cholesky decomposition on a block diagonal matrix.

Template Parameters
WRootMatA type inheriting from Eigen::EigenBase.
Parameters
W_rootThe output matrix to store the square root.
WThe input block diagonal matrix.
block_sizeThe size of each block in the block diagonal matrix.

Definition at line 169 of file laplace_marginal_density.hpp.