Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.541.849 Times

Number::WithError 0.08

  Date Added: April 19, 2010  |  Visits: 568


Report Broken Link
Printer Friendly Version

Product Homepage
Download (72 downloads)

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..

Requirements: No special requirements
Platforms: Linux
Keyword: Error Error Propagation Errors Libraries Num Numbers Numberwitherror Perl Module Prints Programming Scientific Witherror
Users rating: 0/10

License: Freeware Size: 27.65 KB
More Reviews or Write Review

Libraries  -  Mac::Errors 1.13
Mac::Errors is a Perl module with constants for Mac error codes. SYNOPSIS use Mac::Errors qw(openErr); if( $value == openErr ) { ... } my $error = $MacErrors{ $symbol }; # -- OR -- my $error = $MacErrors{ $number }; my $symbol =...
54.27 KB  
Libraries  -  Net::DBus::Error 0.33.4
Net::DBus::Error is a Perl module with error details for remote method invocation. SYNOPSIS package Music::Player::UnknownFormat; use base qw(Net::DBus::Error); # Define an error type for unknown track encoding type # for a music player...
94.21 KB  
Libraries  -  Apache::ErrorControl 1.026
Apache::ErrorControl Perl module is an Apache Handler for Templating Apache Error Documents. This mod_perl content handler will make templating your ErrorDocument pages easy. Basically you add a couple of entries to your httpd.conf file restart...
10.24 KB  
Libraries  -  Text::NSP::Measures::2D::MI 1.03
Text::NSP::Measures::2D::MI is a Perl module that provides error checks for Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson-Stirling Measure. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::ll; my...
952.32 KB  
Libraries  -  Text::NSP::Measures::3D::MI 1.03
Text::NSP::Measures::3D::MI is a Perl module that provides error checks and framework to implement Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson Stirling Measure for trigrams. SYNOPSIS Basic Usage use...
952.32 KB  
Libraries  -  Math::Numbers 0.000000001
Math::Numbers is a Perl module that contains methods for mathematical approaches of concepts of the number theory. SYNOPSIS use Math::Numbers; my $a = 123; my $b = 34; my $numbers = Math::Numbers->new($a, $b [, ...]); print "They are...
4.1 KB  
Libraries  -  Lingua::ZH::Currency::UpperCase 0.01
Lingua::ZH::Currency::UpperCase is a Perl module to convert Currency Numbers to Chinese UpperCase Format. SYNOPSIS use Lingua::ZH::Currency::UpperCase; print chinese_currency_uc( 2504.39 ); The main subroutine get a number and give a...
3.07 KB  
Libraries  -  Test::Number::Delta 1.03
Test::Number::Delta is a Perl module to compare the difference between numbers against a given tolerance. SYNOPSIS # Import test functions use Test::Number::Delta; # Equality test with default tolerance delta_ok( 1e-5, 2e-5, values within...
18.43 KB  
Libraries  -  Math::BaseCalc 1.011
Math::BaseCalc is a Perl module that can convert numbers between various bases. SYNOPSIS use Math::BaseCalc; my $calc = new Math::BaseCalc(digits => [0,1]); #Binary my $bin_string = $calc->to_base(465); # Convert 465 to binary...
4.1 KB  
Libraries  -  Text::Roman 3.01
Text::Roman is a Perl module that converts roman algarism in integer numbers and the contrary, recognize algarisms. SYNOPSIS use Text::Roman; print roman(123); Text::Roman::roman() is a very simple algarism converter. It converts a single...
3.07 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB