Math-Erf-Approx

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


  Testing
    It is possible to run a small test suite on this module using:

     use Math::Erf::Approx;
     Math::Erf::Approx->run_tests;

BENCHMARKS
    Benchmarking against Games::Go::Erf (on a fairly underpowered netbook)...

     Benchmark: timing 100000 iterations of GGE, MEA...
       GGE:  6 wallclock secs ( 6.34 usr +  0.01 sys =  6.35 CPU) @ 15748.03/s (n=100000)
       MEA:  3 wallclock secs ( 2.71 usr +  0.00 sys =  2.71 CPU) @ 36900.37/s (n=100000)

    There are considerations other than raw speed though...

    *   Games::Go::Erf provides much more accurate results

    *   ... and it can calculate inverses

    *   ... but it has a dependency on Tk

lib/Math/Erf/Approx.pm  view on Meta::CPAN


It is possible to run a small test suite on this module using:

 use Math::Erf::Approx;
 Math::Erf::Approx->run_tests;
 
=head1 BENCHMARKS

Benchmarking against L<Games::Go::Erf> (on a fairly underpowered netbook)...

 Benchmark: timing 100000 iterations of GGE, MEA...
   GGE:  6 wallclock secs ( 6.34 usr +  0.01 sys =  6.35 CPU) @ 15748.03/s (n=100000)
   MEA:  3 wallclock secs ( 2.71 usr +  0.00 sys =  2.71 CPU) @ 36900.37/s (n=100000)

There are considerations other than raw speed though...

=over

=item * Games::Go::Erf provides much more accurate results

=item * ... and it can calculate inverses



( run in 1.748 second using v1.01-cache-2.11-cpan-71847e10f99 )