Math::Round supplies functions that will round numbers in different ways. The functions round and nearest are exported by default; others are available as described below. "use ... qw(:all)" exports all functions....
GROMMEL/Math-Round-0.07 - 02 Jan 2015 17:05:02 UTCThis module gives you the ability to round numbers to either decimal or fractional precision while encapsulating the rounding precision in an object. This allows scripts and modules to maintain multiple precision values as objects. It also implements...
EWILHELM/Math-Round-Var-v1.0.0 - 09 Mar 2008 16:52:06 UTCThis module provides two exportable functions, "round_fair", which allocates an integer value, fairly distributing rounding errors, and "round_adjacent", which takes a list of real numbers and rounds them up, or down, to an adjacent integer, fairly. ...
MMIMS/Math-Round-Fair-0.03 - 16 Dec 2010 19:26:23 UTCThis is the sequence of values formed by repeatedly rounding up to a multiple of i-1, i-2, ..., 2, 1. 1, 2, 4, 6, 10, 12, 18, 22, 30, 34, 42, 48, 58, 60, 78, ... starting i=1 For example i=5 start at 5, round up to a multiple of 4 to give 8, then rou...
KRYDE/Math-NumSeq-74 - 23 Feb 2020 03:55:27 UTCInternal representation: SO3s are blessed refs to strings of size 3*3*sizeof(double) which contain the rotation matrix elements in standard C order. THIS IS PART OF THE OFFICIAL INTERFACE, so you may use this information, if you want. (It simply does...
FISCH/Math-SO3-0.90 - 07 Sep 1999 15:36:59 UTCThis module extends PDL with more advanced mathematical functions than provided by standard Perl. All the functions have one input pdl, and one output, unless otherwise stated. Many of the functions are linked from the system maths library or the Cep...
ETJ/PDL-2.025 - 19 Nov 2020 13:17:38 UTCThe rpn function will take a scalar or list of sclars which contain an RPN expression as a set of comma delimited values and operators, and return the result or stack, depending on context. If the function is called in an array context, it will retur...
SZABGAB/Math-RPN-1.11 - 27 Jul 2012 05:17:27 UTCThis module extends PDLA with more advanced mathematical functions than provided by standard Perl. All the functions have one input pdl, and one output, unless otherwise stated. Many of the functions are linked from the system maths library or the Ce...
ETJ/PDLA-Core-2.019107 - 28 Apr 2019 20:28:44 UTCSPVM::Math defines mathmatical functions....
KIMOTO/SPVM-0.0928 - 09 Dec 2020 05:32:55 UTCA bigfloat module utilising the Gnu MP (GMP) library. Basically this module simply wraps all of the 'mpf' floating point functions provided by that library. The documentation below extensively plagiarises the GMP documentation at http://gmplib.org . ...
SISYPHUS/Math-GMPf-0.43 - 23 Aug 2017 13:19:01 UTC"Math::Trig" defines many trigonometric functions not defined by the core Perl which defines only the "sin()" and "cos()". The constant pi is also defined as are a few convenience functions for angle conversions, and *great circle formulas* for spher...
ZEFRAM/Math-Complex-1.59 - 01 Feb 2012 23:39:04 UTCMath::BigInt provides support for arbitrary precision integers. Overloading is also provided for Perl operators. Input Input values to these routines may be any scalar number or string that looks like a number and represents an integer. * Leading and...
PJACKLAM/Math-BigInt-1.999818 - 21 Oct 2019 08:36:37 UTCMath::BigRat complements Math::BigInt and Math::BigFloat by providing support for arbitrary big rational numbers. MATH LIBRARY You can change the underlying module that does the low-level math operations by using: use Math::BigRat try => 'GMP'; Note:...
PJACKLAM/Math-BigRat-0.2614 - 17 Apr 2018 19:47:32 UTCMath::SigDig is a module that provides methods to round a number to a specified number of significant digits and count the number of significant digits. It trims leading zeros. It counts, but trims trailing zeros after a decimal point, unless the pad...
ROBLEACH/Math-SigDig-1.0 - 06 May 2014 21:32:36 UTCThis module implements various constructors and methods for creating and manipulating matrices. All methods return new objects, so, for example, "$X->add($Y)" does not modify $X. $X -> add($Y); # $X not modified; output is lost $X = $X -> add($Y); # ...
PJACKLAM/Math-Matrix-0.92 - 08 Nov 2020 07:50:09 UTCInline::Octave gives you the power of the octave programming language from within your Perl programs. Basically, I create an octave process with controlled stdin and stdout. Commands send by stdin. Data is send by stdin and read with fread(stdin, [di...
AADLER/Inline-Octave-0.31 - 13 Feb 2011 20:32:59 UTCMath::BigFloat provides support for arbitrary precision floating point. Overloading is also provided for Perl operators. All operators (including basic math operations) are overloaded if you declare your big floating point numbers as $x = Math::BigFl...
PJACKLAM/Math-BigInt-1.999818 - 21 Oct 2019 08:36:37 UTCCurrency math is actually more closely related to integer math than it is to floating point math. Rounding errors on addition and subtraction are not allowed and division/multiplication should never create more accuracy than the original values. All ...
MSCHOUT/Math-Currency-0.52 - 29 Jul 2017 19:24:39 UTCThese functions accelerate the convergence of a series using the Levin u-transform. * gsl_sum_levin_u_alloc($n) This function allocates a workspace for a Levin u-transform of $n terms. * gsl_sum_levin_u_free($w) - This function frees the memory assoc...
HAKONH/Math-GSL-0.42 - 12 Jun 2020 22:09:20 UTCSlide rule support for Perl. Or, a complicated way to perform basic mathematical operations on a digital computer. Math::SlideRule::PickettPocket approximates a N 3P-ES pocket slide rule....
JMATES/Math-SlideRule-1.10 - 12 Mar 2020 17:48:05 UTC