Clean up code

This commit is contained in:
Janita Willumsen 2023-09-25 13:16:27 +02:00
parent 6f5b947239
commit 16bcbc3ecc

View File

@ -19,22 +19,6 @@
#include "matrix.hpp" #include "matrix.hpp"
#include "jacobi.hpp" #include "jacobi.hpp"
// void analytical_eigenvec(arma::mat &analytic, int N)
// {
// arma::vec analytic_vec = arma::vec(N);
// for (int i=0; i < N; i++) {
// for (int j=0; j < N; j++) {
// analytic_vec(j) = std::sin(((j+1.)*(i+1.)*M_PI) / (N+1.));
// }
// analytic_vec = arma::normalise(analytic_vec);
// // Flip the sign of the analytic vector if they are different
// if (analytic_vec(0)*v(0) < 0.) {
// analytic_vec *= -1;
// }
// }
// }
void write_transformation_dense(int N) void write_transformation_dense(int N)
{ {