Internal indeed means the prototype of this function might to change in future versions. the LDLT::compute() method is a good example about how to use it:
Transpositions<Dynamic> T(mat.cols());
VectorXd temp(mat.cols());
int sign;
Eigen::internal::ldlt_inplace<Eigen::Lower>::unblocked(mat, T, temp, &sign);
EDIT
In Eigen 3.3, you can use LDLT<Ref<MatrixXd> >
:
MatrixXd A;
LDLT<Ref<MatrixXd> > ldlt(A);
ldlt
will then factorize A
within A
itself. See the doc for details.