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

◆ cholesky_corr_position()

template<CorrOrder Order>
Eigen::Index stan::math::internal::cholesky_corr_position ( Eigen::Index  row,
Eigen::Index  col,
Eigen::Index  K 
)
inline

Return the position in the unconstrained vector of the partial correlation for element (row, col), col < row, of the Cholesky factor.

Template Parameters
Orderorder of the partial correlations in the vector
Parameters
rowrow
colcolumn
Knumber of rows
Returns
position in the unconstrained vector

Definition at line 38 of file cholesky_corr_constrain.hpp.