fix various typos

This commit is contained in:
sciencewhiz
2021-09-22 16:15:06 +00:00
committed by Antonio Sánchez
parent 3753e6a2b3
commit 4b6036e276
32 changed files with 43 additions and 43 deletions

View File

@@ -3,7 +3,7 @@ MatrixXd A = X + X.transpose();
cout << "Here is a random symmetric matrix, A:" << endl << A << endl;
X = MatrixXd::Random(5,5);
MatrixXd B = X * X.transpose();
cout << "and a random postive-definite matrix, B:" << endl << B << endl << endl;
cout << "and a random positive-definite matrix, B:" << endl << B << endl << endl;
GeneralizedSelfAdjointEigenSolver<MatrixXd> es(A,B);
cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl;