Changes between Version 2 and Version 3 of doc/maths/remez/tutorial-exponential


Ignore:
Timestamp:
Dec 28, 2011, 11:29:53 PM (9 years ago)
Author:
sam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/maths/remez/tutorial-exponential

    v2 v3  
    11= Remez tutorial first example: exp(x) =
     2
     3This is a hands-on example of the Lol Remez toolkit.
    24
    35In this section we are going to approximate the ''exp(x)'' function using a polynomial.
    46
    5 This should be a hands-on example of the Lol Remez toolkit.
     7== Getting started ==
     8
     9If you do not have the full Lol Engine source code, download and unpack the latest [/raw-attachment/wiki/oss/lolremez/ LolRemez] tarball.
     10
     11The file you should edit is `remez.cpp`.
    612
    713== Source code ==
     
    8389[[Image(fastexp.png, nolink)]]
    8490
     91The curves are undistinguishable. Actually they differ by no more than 5.462772e-4, which is the value the `./remez` output gave.
     92
     93It can be verified on the following error curve:
     94
     95[[Image(fastexp-error.png, nolink)]]
     96
     97== Conclusion ==
     98
     99You should now be all set up for your own minimax polynomial computation!
     100
     101Please 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/tutorial-relative-error switching to relative error].