Adding Fractions In Math
Math::CDF is a Perl module to generate probabilities and quantiles from several statistical probability functions. SYNOPSIS use Math::CDF; $prob = &Math::CDF::pnorm(1.96); if( not defined($z = &Math::CDF::qnorm(0.975)) ) { die "qnorm() failed"; } or use Math::CDF qw(:all); $prob =...
Platforms: *nix
License: Freeware | Size: 65.54 KB | Download (129): Math::CDF Download |
Math::Telephony::ErlangC is a Perl extension for Erlang C calculations. SYNOPSIS use Math::Telephony::ErlangC; # Evaluate probability that a service request will have to wait $wprob = wait_probability($traffic, $servers); # Probability that the wait time will be less than a fixed maximum...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (138): Math::Telephony::ErlangC Download |
Math::Telephony::ErlangB is a Perl extension for Erlang B calculations. SYNOPSIS use Math::Telephony::ErlangB qw( :all ); # Evaluate blocking probability $bprob = blocking_probability($traffic, $servers); $gos = gos($traffic, $servers); # Same result as above # Dimension minimum number...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (259): Math::Telephony::ErlangB Download |
Math::Expr is a Perl module that parses mathematical expressions. SYNOPSIS require Math::Expr; $p=new Math::Expr; $e=$p->Parse("a+4*b-d/log(s)+f(d,e)"); Parses mathematical expressions into a tree structure. The expressions may contain integers, real numbers, alphanumeric variable names,...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (99): Math::Expr Download |
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 $calc->digits(oct); # Octal my $number =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (93): Math::BaseCalc Download |
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...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (96): Math::BaseArith Download |
Math::Pari is a Perl interface to PARI. SYNOPSIS use Math::Pari; $a = PARI 2; print $a**10000; or use Math::Pari qw(Mod); $a = Mod(3,5); print $a**10000; This package is a Perl interface to famous library PARI for numerical/scientific/number-theoretic calculations. It allows use of...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (105): Math::Pari Download |
Math::Amoeba is a Multidimensional Function Minimization. SYNOPSIS use Math::Amoeba qw(ConstructVertices EvaluateVertices Amoeba MinimiseND); my ($vertice,$y)=MinimiseND(@guess,@scales,&func,$tol,$itmax,$verbose); my @vertices=ConstructVertices(@vector,@offsets); my...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (99): Math::Amoeba Download |
Math::Calc::Euro is a Perl module to convert between EUR and the old currencies. SYNOPSIS my $guildercalc = Math::Calc::Euro->new(NLG) print $guildercalc->to_euro(1), "n"; # 0.45378... print $guildercalc->from_national(1), "n"; # same print $guildercalc->to_national(1), "n"; # 2.20371...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (92): Math::Calc::Euro Download |
Math::Logic::Predicate is a Perl module to manage and query a predicate assertion database. SYNOPSIS use Math::Logic::Predicate; $db = new Math::Logic::Predicate; # Enter some predicates into the database $db->add(<
License: Freeware | Size: 17.41 KB | Download (99): Math::Logic::Predicate Download |
Math::Logic is a Perl module that provides pure 2, 3 or multi-value logic. SYNOPSIS use Math::Logic qw( $TRUE $FALSE $UNDEF $STR_TRUE $STR_FALSE $STR_UNDEF ) ; # 1 0 -1 TRUE FALSE UNDEF use Math::Logic :NUM ; # $TRUE $FALSE $UNDEF -- what you normally want use Math::Logic :ALL ; # All...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (104): Math::Logic Download |
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. SYNOPSIS use Math::RPN; $value=rpn(expr...); @array=rpn(expr...); expr... is one or more scalars or lists of scalars which contain RPN expressions. An RPN expression is a series of numbers and/or operators separated...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Math::RPN Download |
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. SYNOPSIS Provides support for big integer calculations. Not intended to be used by other modules. Other modules which sport the same functions can also be used to support Math::BigInt, like Math::BigInt::GMP or...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (102): Math::BigInt::Calc Download |
Math::BigInt is an arbitrary size integer/float math package. SYNOPSIS use Math::BigInt; # or make it faster: install (optional) Math::BigInt::GMP # and always use (it will fall back to pure Perl if the # GMP library is not installed): # will warn if Math::BigInt::GMP cannot be found...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (90): Math::BigInt Download |
Math::Group::Thompson Perl module contains OO methods that calculates the cardinality of the ball of radius n of Thompson group F. SYNOPSIS use Math::Group::Thompson; my $F = Math::Group::Thompson->new( VERBOSE => 0 ); my $card = $F->cardBn(3,); print "#B(3) = $cardn"; The...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (97): Math::Group::Thompson Download |
Math::Symbolic::MiscAlgebra contains miscellaneous algebra routines like det(). SYNOPSIS use Math::Symbolic qw/:all/; use Math::Symbolic::MiscAlgebra qw/:all/; # not loaded by Math::Symbolic @matrix = ([x*y, z*x, y*z],[x, z, z],[x, x, y]); $det = det @matrix; @vector = (x, y, z);...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (126): Math::Symbolic::MiscAlgebra Download |
Math::String::Charset::Nested is a charset for Math::String objects. SYNOPSIS use Math::String::Charset; # construct a charset from bigram table, and an initial set (containing # valid start-characters) # Note: After an a, either an b, c or a can follow, in this order # After an d only...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (94): Math::String::Charset::Nested Download |
Math::String::Charset is a simple charset for Math::String objects. SYNOPSIS use Math::String::Charset; $a = new Math::String::Charset; # default a-z $b = new Math::String::Charset [a..z]; # same $c = new Math::String::Charset { start => [a..z], sep => }; # with between chars print...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (94): Math::String::Charset Download |
Math::Macopt is a Perl wrapper for macopt++, which is a conjugate gradient library. INSTALLATION The package can be installed by the standard PERL module installation procedure: perl Makefile.PL make make test make install Please noted that the original "macopt++" C++ source code is...
Platforms: *nix
License: Freeware | Size: 33.79 KB | Download (94): Math::Macopt Download |
Math::XOR is a package to handle XOR encryption of string buffers. SYNOPSIS use XOR; print xor_buf("hello", "world"), "n"; The XOR module allows you to quickly XOR two strings together. This is the only method of encryption that (assuming the randomness of the pattern used as an encryption...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (159): Math::XOR Download |