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

Math::GMPq 0.28

Company: Sisyphus
Date Added: November 19, 2013  |  Visits: 207

Math::GMPq

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



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.<br /><br />SYNOPSIS<br /><br /> use Math::GMPq qw(:mpq);<br /><br /> my $str = '123542/4'; # numerator = 123542<br /> # denominator = 4<br /> my $base = 10;<br /><br /> # Create the Math::GMPq object<br /> my $bn1 = Rmpq_init(); # Value set to 0/1<br /><br /> # Assign a value.<br /> Rmpq_set_str($str, $base);<br /><br /> # Remove any factors common to both numerator and<br /> # denominator so that gcd(numerator, denominator) == 1.<br /> Rmpq_canonicalize($bn1);<br /><br /> # or just use the new() function:<br /> my $rational = Math::GMPq->new('1234/1179');<br /><br /> # Perform some operations ... see 'FUNCTIONS' below.<br /><br /> .<br /> .<br /><br /> # print out the value held by $bn1 (in octal):<br /> print Rmpq_get_str($bn1, 8), "<br />"; # prints '170513/2'<br /><br /> # print out the value held by $bn1 (in decimal):<br /> print Rmpq_get_str($bn1, 10); # prints '61771/2'.<br /><br /> # print out the value held by $bn1 (in base 29)<br /> # using the (alternative) Rmpq_out_str()<br /> # function. (This function doesn't print a newline.)<br /> Rmpq_out_str($bn1, 29);<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Common Denominator Documentation Factors Function Gcdnumerator Library Mathgmpq Mathgmpq 0 28 Module Numerator Operations Perform Print Prints Rational Rmpq Strbn
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


MATH::GMPQ RELATED
Libraries  -  CoreLinux++ Function Load Library 0.1.1
CoreLinux++ Function Load Library (libclfll++) takes advantage of the abstract Library Load framework in the CoreLinux libclfw++ library by providing management of loading Linux shared libraries. Application developers define function objects as...
93.18 KB  
Libraries  -  HTML::Perlinfo::HTML 1.47
HTML::Perlinfo::HTML Perl module contains HTML documentation for the perlinfo library. SUMMARY NOTE: THIS IS THE LAST RELEASE OF THIS MODULE IN THIS NAMESPACE. WHEN THE NEXT VERSION APPEARS, OLDER VERSIONS WILL BE DELETED FROM CPAN In the...
27.65 KB  
Libraries  -  JCS common 0.10 Build 20111227
JCS common was specially developed as a library with classes that are common to both the client and the server side of the Jaguar Control System. The base class for launching the system is included in this library. Now you can improve your...
 
Development Tools  -  Common HTML GUI Widgets for HTML Tools 0.2.0
Common HTML GUI Widgets is a library for PHP that is used in every website that uses PHP and MySQL. It may speed up production of websites.It makes coding easier and aids the benefit for possible RAD envionment programs.
174.08 KB  
Development Tools  -  Common HTML GUI Widgets for Scripts 0.2.0
Common HTML GUI Widgets is a library for PHP that is used in every website that uses PHP and MySQL. It may speed up production of websites.It makes coding easier and aids the benefit for possible RAD envionment programs.
174.08 KB  
Development Editors  -  NH's Function Point Analyzer 1.0
With NH's Function Point Analyzer it is easy to get a quick and clear documentation of function point countings according to IFPUG (International Function Point Users Group) standard 4.2. While counting, you will record functions and databases in...
778.24 KB  
Development Tools  -  Quantum Game Library 0.7.2c 1.0
The Quantum Game Library (QGL) for PHP aims to centralise common game elements in a component library. It includes Map Computations for Grid/Hex maps, pluggable map generator, Artificial Intelligence algorithms, plugin system and more.
 
Development Tools  -  ROUTH stability criterion 1.0
The m-file called routh_sc that means ROUTH stability criterion works which a vector which represent the values of the characteristic coefficients equation of denominator in transfer function of a system.It is small program with an efficacy...
10 KB  
Multimedia & Graphics  -  Common Lisp FMOD bindings 0.1.0
CL-FMOD is a set of common lisp bindings to the fmodsound library. The bindings are completely writtenin lisp, with the help of the UFFI commonlisp library for portability.
117.92 KB  
Strategy Games  -  Quantum Game Library for PHP 2.2.0.rc2
The Quantum Game Library (QGL) for PHP aims to centralise common game elements in a component library. Includes Map Computations for Grid/Hex maps, pluggable map generator, Artificial Intelligence algorithms, plugin system and more. Or it will :).
2.27 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
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 freedesktop.org, 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