Main > Programming > Libraries >

Number::WithError 0.08

Number::WithError 0.08

Sponsored Links

Number::WithError 0.08 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.027 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 842
Date added: 2007-07-05
Publisher: Steffen Mueller

Number::WithError 0.08 description

Number::WithError is a Perl module that contains numbers with error propagation and scientific rounding.

SYNOPSIS

use Number::WithError;

my $num = Number::WithError->new(5.647, 0.31);
print $num . "n";
# prints 5.65e+00 +/- 3.1e-01
# (I.e. it automatically does scientific rounding)

my $another = $num * 3;
print $another . "n";
# propagates the error assuming gaussian errors
# prints 1.69e+01 +/- 9.3e-01

# trigonometric functions also work:
print sin($another) . "n";
# prints -9.4e-01 +/- 3.1e-01

my $third = $another ** $num;
print $third. "n";
# propagates both errors into one.
# prints 8.7e+06 +/- 8.1e+06

# shortcut for the constructor:
use Number::WithError witherror;
$num = witherror(0.00032678, [2.5e-5, 3e-5], 5e-6);
# can deal with any number of errors, even with asymmetric errors
print $num . "n";
# prints 3.268e-04 + 2.5e-05 - 3.00e-05 +/- 5.0e-06
# Note: It may be annyoing that they dont all have the same
# exponent, but they *do* all have the sam significant digit!

This class is a container class for numbers with a number of associated symmetric and asymmetric errors. It overloads practically all common arithmetic operations and trigonometric functions to propagate the errors. It can do proper scientific rounding (as explained in more detail below in the documentation of the significant_digit() method).

You can use Math::BigFloat objects as the internal representation of numbers in order to support arbitrary precision calculations.

Errors are propagated using Gaussian error propagation.

With a notable exception, the test suite covers way over ninety percent of the code. The remaining holes are mostly difficult-to-test corner cases and sanity tests. The comparison routines are the exception for which there will be more extensive tests in a future release.

Number::WithError 0.08 Screenshot

Advertisements

Number::WithError 0.08 Keywords

Bookmark Number::WithError 0.08

Hyperlink code:
Link for forum:

Number::WithError 0.08 Copyright

WareSeeker periodically updates pricing and software information of Number::WithError 0.08 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Number::WithError 0.08 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Number::Interval is a Perl module that can implement a representation of a numeric interval. Free Download
Number::Encode is a Perl module to encode bit strings into digit strings. Free Download
Net::Milter provides a masquerade as the MTA to communicate with email filters through a milter interface. Free Download
Algorithm::Merge is a Perl module package that provides three-way merge and diff. Free Download
Net::DBus::Error is a Perl module with error details for remote method invocation. Free Download
Convert::Number::Digits is a Perl module that convert Digits Between the Scripts of Unicode. Free Download
Convert::AcrossLite is a Perl module to convert binary AcrossLite puzzle files to text. Free Download
Scalar::Number is a Perl module with numeric aspects of scalars. Free Download