The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "module:Math::Round"

Math::Round - Perl extension for rounding numbers River stage two • 43 direct dependents • 95 total dependents

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

NEILB/Math-Round-0.08 - 10 Oct 2023 11:04:21 UTC

Math::Round::Var - Variations on rounding. River stage two • 2 direct dependents • 10 total dependents

This 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 UTC

Math::Round::Fair - distribute rounding errors fairly River stage zero No dependents

This 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 UTC

Math::Round::SignificantFigures - Perl package for rounding numbers to a specified number of Significant Figures River stage one • 1 direct dependent • 1 total dependent

Math::Round::SignificantFigures supplies functions that will round numbers based on significant figures. This package spans the controversy whether people prefer to call significant figures or significant digits. You may export either or both but, I ...

MRDVT/Math-Round-SignificantFigures-0.02 - 06 Nov 2022 01:54:51 UTC

Math::NumSeq::ReRound - sequence from repeated rounding up River stage zero No dependents

This 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-75 - 04 Jun 2022 12:11:23 UTC

Math::SO3 - Perl extension for SO3 rotations River stage zero No dependents

Internal 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 UTC

PDL::Math - extended mathematical operations and special functions River stage three • 94 direct dependents • 102 total dependents

This 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.089 - 11 May 2024 23:59:45 UTC

Math::RPN - Perl extension for Reverse Polish Math Expression Evaluation River stage one • 3 direct dependents • 5 total dependents

The 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 UTC

SPVM::Math - Mathematical Functions River stage one • 1 direct dependent • 1 total dependent

The Math class of SPVM has methods for mathematical functions....

KIMOTO/SPVM-Math-1.001 - 25 Apr 2023 23:34:04 UTC

Math::Trig - trigonometric functions River stage four • 109 direct dependents • 2342 total dependents

"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 UTC

Inline::Octave - Inline octave code into your perl River stage zero No dependents

Inline::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 UTC

Math::BigInt - arbitrary size integer math package River stage four • 220 direct dependents • 1688 total dependents

Math::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. Anything that...

PJACKLAM/Math-BigInt-2.003002 - 06 Jan 2024 12:38:23 UTC

Math::BigRat - arbitrary size rational number math package River stage four • 220 direct dependents • 1688 total dependents

Math::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-BigInt-2.003002 - 06 Jan 2024 12:38:23 UTC

Math::SigDig River stage zero No dependents

Math::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 UTC

Math::Matrix - multiply and invert matrices River stage one • 5 direct dependents • 6 total dependents

This 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.94 - 13 Jan 2021 13:22:59 UTC

ToolSet::Math - Bring in common math functions and constants. River stage zero No dependents

This module automatically exports convenience math functions and constants which are not available by default in Perl, such as "ceil", "floor", "round", "log10" and trigonometric ones like "tan", "asin", "cosec", and "deg2rad". It also sets up suppor...

GLAI/ToolSet-Math-1.002 - 17 Jan 2022 19:26:17 UTC

Math::GSL::Sum - Sum series with the Levin u-transform River stage one • 5 direct dependents • 6 total dependents

These 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.44 - 01 Dec 2023 19:49:12 UTC

Math::BigFloat - arbitrary size floating point math package River stage four • 220 direct dependents • 1688 total dependents

Math::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-2.003002 - 06 Jan 2024 12:38:23 UTC

Math::Currency - Exact Currency Math with Formatting and Rounding River stage one • 4 direct dependents • 4 total dependents

Currency 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.53 - 06 Jul 2023 15:28:35 UTC

Math::PlanePath - points on a path through the 2-D plane River stage one • 3 direct dependents • 4 total dependents

This is a base class for some mathematical paths which map an integer position $n to and from coordinates "$x,$y" in the 2D plane. The current classes include the following. The intention is that any "Math::PlanePath::Something" is a PlanePath, and s...

KRYDE/Math-PlanePath-129 - 19 Jan 2021 06:32:01 UTC
42 results (0.045 seconds)