Changeset 2467
 Timestamp:
 Feb 22, 2013, 2:19:19 PM (6 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test/math/remez.cpp
r2297 r2467 2 2 // Lol Engine  Sample math program: Chebyshev polynomials 3 3 // 4 // Copyright: (c) 2005201 1Sam Hocevar <sam@hocevar.net>4 // Copyright: (c) 20052013 Sam Hocevar <sam@hocevar.net> 5 5 // This program is free software; you can redistribute it and/or 6 6 // modify it under the terms of the Do What The Fuck You Want To … … 15 15 #include "core.h" 16 16 17 #include "lol/math/real.h"18 #include "lol/math/remez.h"17 #include <lol/math/real.h> 18 #include <lol/math/remez.h> 19 19 20 20 using lol::real; … … 22 22 23 23 /* See the tutorial at http://lol.zoy.org/wiki/doc/maths/remez */ 24 real f(real const &x) { return exp(x); } 25 real g(real const &x) { return exp(x); } 24 real f(real const &x) 25 { 26 return exp(x); 27 } 28 29 real g(real const &x) 30 { 31 return exp(x); 32 } 26 33 27 34 int main(int argc, char **argv)
Note: See TracChangeset
for help on using the changeset viewer.