Changes between Version 2 and Version 3 of doc/maths/remez/tutorialexponential
 Timestamp:
 Dec 28, 2011, 11:29:53 PM (11 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

doc/maths/remez/tutorialexponential
v2 v3 1 1 = Remez tutorial first example: exp(x) = 2 3 This is a handson example of the Lol Remez toolkit. 2 4 3 5 In this section we are going to approximate the ''exp(x)'' function using a polynomial. 4 6 5 This should be a handson example of the Lol Remez toolkit. 7 == Getting started == 8 9 If you do not have the full Lol Engine source code, download and unpack the latest [/rawattachment/wiki/oss/lolremez/ LolRemez] tarball. 10 11 The file you should edit is `remez.cpp`. 6 12 7 13 == Source code == … … 83 89 [[Image(fastexp.png, nolink)]] 84 90 91 The curves are undistinguishable. Actually they differ by no more than 5.462772e4, which is the value the `./remez` output gave. 92 93 It can be verified on the following error curve: 94 95 [[Image(fastexperror.png, nolink)]] 96 97 == Conclusion == 98 99 You should now be all set up for your own minimax polynomial computation! 100 101 Please report any trouble you may have had with this document to [sam@hocevar.net]. You may then carry on to the next section: [wiki:doc/maths/remez/tutorialrelativeerror switching to relative error].