This commit is contained in:
Jitse Niesen 2010-12-12 21:24:24 +00:00
commit f2c18f2e37
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ MatrixXcd A = X + X.adjoint();
cout << "Here is a random self-adjoint 4x4 matrix:" << endl << A << endl << endl;
Tridiagonalization<MatrixXcd> triOfA(A);
MatrixXcd T = triOfA.matrixT();
MatrixXd T = triOfA.matrixT();
cout << "The tridiagonal matrix T is:" << endl << triOfA.matrixT() << endl << endl;
cout << "We can also extract the diagonals of T directly ..." << endl;

View File

@ -108,7 +108,7 @@ namespace internal {
{
typedef double scalar_type;
typedef fftw_complex complex_type;
fftw_plan m_plan;
::fftw_plan m_plan;
fftw_plan() :m_plan(NULL) {}
~fftw_plan() {if (m_plan) fftw_destroy_plan(m_plan);}