﻿ Download Math::GMPq - Math::GMPq is a bigrational Perl module utilising the Gnu MP (GMP) library
Related Topics
Trending Topics
 Linux Software Programming

Math::GMPq

important software information
 company name: Sisyphus license: Freeware minimum requirements: functional limitations:
Math::GMPq description
 Math::GMPq is a bigrational Perl module utilising the Gnu MP (GMP) library. Basically this module simply wraps all of the 'mpq' (rational number) functions provided by that library. The documentation below extensively plagiarises the GMP documentation (which can be found at http://gmplib.org). See also the Math::GMPq test suite for examples of usage. SYNOPSIS use Math::GMPq qw(:mpq); my \$str = '123542/4'; # numerator = 123542 # denominator = 4 my \$base = 10; # Create the Math::GMPq object my \$bn1 = Rmpq_init(); # Value set to 0/1 # Assign a value. Rmpq_set_str(\$str, \$base); # Remove any factors common to both numerator and # denominator so that gcd(numerator, denominator) == 1. Rmpq_canonicalize(\$bn1); # or just use the new() function: my \$rational = Math::GMPq->new('1234/1179'); # Perform some operations ... see 'FUNCTIONS' below. . . # print out the value held by \$bn1 (in octal): print Rmpq_get_str(\$bn1, 8), " "; # prints '170513/2' # print out the value held by \$bn1 (in decimal): print Rmpq_get_str(\$bn1, 10); # prints '61771/2'. # print out the value held by \$bn1 (in base 29). The CPAN Search Site - search.cpan.org.
Similar software
 #Calculation Component (Popularity: ) : #Calculation component is a powerful calculation engine for your applications. This ActiveX component integrates expression parsing and evaluation. Generally speaking, #Calculation is very useful in two main areas: first, when a formula has to be defined and evaluated at runtime ... Math::Symbolic::Operator (Popularity: ) : Math::Symbolic::Operator is a Perl module with operators in symbolic calculations. SYNOPSIS use Math::Symbolic::Operator; my \$sum = Math::Symbolic::Operator->new('+', \$term1, \$term2); # or: my \$division = Math::Symbolic::Operator->new( { type => B_DIVISON, operands => [\$term1, \$term2], } ); my \$derivative = Math::Symbolic::Operator->new( { type ... Math::Symbolic::Constant (Popularity: ) : Math::Symbolic::Constant is a Perl module that offers constants in symbolic calculations. SYNOPSIS use Math::Symbolic::Constant; my \$const = Math::Symbolic::Constant->new(25); my \$zero = Math::Symbolic::Constant->zero(); my \$one = Math::Symbolic::Constant->one(); my \$euler = Math::Symbolic::Constant->euler(); # e = 2.718281828... This module implements numeric constants for Math::Symbolic trees.. ... Math::Symbolic::Custom::Transformation (Popularity: ) : Math::Symbolic::Custom::Transformation is a Perl extension to the Math::Symbolic module. You're assumed to be remotely familiar with that module throughout the documentation. This package implements transformations of Math::Symbolic trees using Math::Symbolic trees. I'll try to explain what this means in the following ... Math::Logic (Popularity: ) : 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::Symbolic::Variable (Popularity: ) : Math::Symbolic::Variable is a Perl module which implements variables in symbolic calculations. SYNOPSIS use Math::Symbolic::Variable; my \$var1 = Math::Symbolic::Variable->new('name'); \$var1->value(5); my \$var2 = Math::Symbolic::Variable->new('x', 2); my \$var3 = Math::Symbolic::Variable->new( { name => 'variable', value => 1, } ); This class implements variables for ... Math::MPC (Popularity: ) : A multiple precision complex number module utilising the MPC library. Basically, this module simply wraps the 'mpc' complex number functions provided by that library. Operator overloading is also available. Math::MPC is a Perl module that needs the MPC, MPFR and GMP ... zfuncs (Popularity: ) : The zfuncs package contains various utility programs that were used in building the other applications on the kornelix.squarespace.com website. These programs are also included with the other applications. This package includes documentation that will make it easier to use these ... Array::Window (Popularity: ) : Many applications require that a large set of results be broken down into a smaller set of 'windows', or 'pages' in web language. Array::Window is a Perl module that implements an algorithm specifically for dealing with these windows. It is ... uncertainties for Linux (Popularity: ) : uncertainties is a Python module that allows calculation such as (0.2 +- 0.01)**2 = 0.04 +- 0.004 to be performed transparently. Correlations between expressions are correctly taken into account (x-x is exactly zero, for instance). Correlations between expressions are correctly taken into ... mid (Popularity: ) : mid is a tabbed dictionary browser using the language dictionary resources of the Internet. mid stands for Mozilla Internet Dictionary. You can start Mid from your Firefox's Tools menu. You can also add a toolbar button for easier access: After installing and restarting ... MegaLauncher (Popularity: ) : MegaLauncher is a screenlet which has 6 launchers with personalized icons that executes the commands that you want. It's similar to the Launcher Screenlet that cames with the screenlet app, but the difference that this have six launchers in one. Developer ...
User reviews

Write a review:
 1 2 3 4 5 6 7 8 9 10 1=poor 10=excellent Write review* Your name* Email* (Comments are moderated, and will not appear on this site until the editor has approved them)
Similar scripts