3 cout <<
"Here is a random symmetric 5x5 matrix:" << endl <<
A << endl << endl;
10 cout <<
"The orthogonal matrix Q is:" << endl <<
A << endl;
11 cout <<
"The diagonal of the tridiagonal matrix T is:" << endl << diag << endl;
12 cout <<
"The subdiagonal of the tridiagonal matrix T is:" << endl << subdiag << endl;
Matrix< double, Dynamic, 1 > VectorXd
DynamicĂ—1 vector of type double.
Matrix< double, Dynamic, Dynamic > MatrixXd
DynamicĂ—Dynamic matrix of type double.
void tridiagonalization_inplace(MatrixType &matA, CoeffVectorType &hCoeffs)