Math::BaseArith 1.00
Sponsored Links
Math::BaseArith 1.00 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
826
Date added:
2007-07-20
Publisher:
Gary Puckering
Math::BaseArith 1.00 description
Math::BaseArith is a Perl extension for mixed-base number representation (like APL encode/decode).
SYNOPSIS
use Math::BaseArith;
encode( value, base_list );
decode( representation_list, base_list );
The inspiration for this module is a pair of functions in the APL programming language called encode (a.k.a. "representation") and decode (a.k.a. base-value). Their principal use is to convert numbers from one number base to another. Mixed number bases are permitted.
In this perl implementation, the representation of a number in a particular number base consists of a list whose elements are the digit values in that base. For example, the decimal number 31 would be expressed in binary as a list of five ones with any number of leading zeros: [0, 0, 0, 1, 1, 1, 1, 1]. The same number expressed as three hexadecimal (base 16) digits would be [0, 1, 15], while in base 10 it would be [0, 3, 1]. Fifty-one inches would be expressed in yards, feet, inches as [1, 1, 3], an example of a mixed number base.
In the following description of encode and decode, Q will mean an abstract value or quantity, R will be its representation and B will define the number base. Q will be a perl scalar; R and B are perl lists. The values in R correspond to the radix values in B.
In the examples below, assume the output of print has been altered by setting $, = and that => is your shell prompt.
SYNOPSIS
use Math::BaseArith;
encode( value, base_list );
decode( representation_list, base_list );
The inspiration for this module is a pair of functions in the APL programming language called encode (a.k.a. "representation") and decode (a.k.a. base-value). Their principal use is to convert numbers from one number base to another. Mixed number bases are permitted.
In this perl implementation, the representation of a number in a particular number base consists of a list whose elements are the digit values in that base. For example, the decimal number 31 would be expressed in binary as a list of five ones with any number of leading zeros: [0, 0, 0, 1, 1, 1, 1, 1]. The same number expressed as three hexadecimal (base 16) digits would be [0, 1, 15], while in base 10 it would be [0, 3, 1]. Fifty-one inches would be expressed in yards, feet, inches as [1, 1, 3], an example of a mixed number base.
In the following description of encode and decode, Q will mean an abstract value or quantity, R will be its representation and B will define the number base. Q will be a perl scalar; R and B are perl lists. The values in R correspond to the radix values in B.
In the examples below, assume the output of print has been altered by setting $, = and that => is your shell prompt.
Math::BaseArith 1.00 Screenshot
Math::BaseArith 1.00 Keywords
BaseArith
APL
BaseArith 1.00
would be
perl extension
number representation
Number base
mixed-base number
number
base
1
representation
Perl
list
Math::BaseArith
MathBaseArith
Bookmark Math::BaseArith 1.00
Math::BaseArith 1.00 Copyright
WareSeeker periodically updates pricing and software information of Math::BaseArith 1.00 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 Math::BaseArith 1.00 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
numbersusa
representational painting
phone numbers
taxation without representation
number 23
representational difference analysis
representational art
baseball world series schedule 2007
numbers
number games
proportional representation
reverse number lookup
fantasy baseball
representation and the media
fax numbers
number 1
what is statutory representation
perl extension implementing
Related Software
Math::BaseCalc is a Perl module that can convert numbers between various bases. Free Download
Math::Pari is a Perl interface to PARI. Free Download
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. Free Download
Math::NoCarry is a Perl extension for no carry arithmetic. Free Download
Math::BaseCnv is a fast functions to convert between number bases. Free Download
Math::Symbolic::Base is a case class for symbols in symbolic calculations. Free Download
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. Free Download
List::Search is a Perl module for fast searching of sorted lists. Free Download
Latest Software
Popular Software
Favourite Software