| @@ -20,8 +20,10 @@ | |||||
| #include "core.h" | #include "core.h" | ||||
| using namespace lol; | |||||
| using namespace std; | |||||
| using std::printf; | |||||
| using std::sqrt; | |||||
| using lol::real; | |||||
| int main(int argc, char **argv) | int main(int argc, char **argv) | ||||
| { | { | ||||
| @@ -80,6 +80,8 @@ template<int N> struct Matrix | |||||
| void print() const | void print() const | ||||
| { | { | ||||
| using std::printf; | |||||
| for (int j = 0; j < N; j++) | for (int j = 0; j < N; j++) | ||||
| { | { | ||||
| for (int i = 0; i < N; i++) | for (int i = 0; i < N; i++) | ||||
| @@ -258,6 +258,8 @@ public: | |||||
| void PrintPoly() | void PrintPoly() | ||||
| { | { | ||||
| using std::printf; | |||||
| /* Transform Chebyshev polynomial weights into powers of X^i | /* Transform Chebyshev polynomial weights into powers of X^i | ||||
| * in the [-1..1] range. */ | * in the [-1..1] range. */ | ||||
| real bn[ORDER + 1]; | real bn[ORDER + 1]; | ||||
| @@ -21,8 +21,7 @@ | |||||
| #include "core.h" | #include "core.h" | ||||
| using namespace lol; | |||||
| using namespace std; | |||||
| using lol::real; | |||||
| #include "remez-matrix.h" | #include "remez-matrix.h" | ||||
| #include "remez-solver.h" | #include "remez-solver.h" | ||||