Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
merge p0 result.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofcotton authored Nov 19, 2024
1 parent 6488a2e commit da6f30c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lieonn.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2810,7 +2810,7 @@ template <typename T> static inline SimpleVector<T> taylor(const int& size, cons
#pragma omp parallel for schedule(static, 1)
#endif
for(int i = 0; i < res.rows(); i ++)
res.row(i) *= exp(complex<T>(T(int(0)), T(int(2)) * Pi * T(i) / T(res.rows()) ));
res.row(i) *= exp(complex<T>(T(int(0)), - T(int(2)) * Pi * T(i) / T(res.rows()) ));
return (res.transpose() * dft<T>(- size).row(step0)).template real<T>();
/*
SimpleVector<T> res(size);
Expand Down Expand Up @@ -3384,7 +3384,7 @@ template <typename T> const SimpleMatrix<complex<T> >& dftcache(const int& size)
return cidft[abs(size)] = dft<T>(size);
}

template <typename T, int r = 4> class P0 {
template <typename T, int r = 8> class P0 {
public:
inline P0(const int& step = 1) {
this->step = step;
Expand Down

0 comments on commit da6f30c

Please sign in to comment.