Math::NumberCruncher

Math::NumberCruncher Perl module contains a collection of useful math-related functions.
Download

Math::NumberCruncher Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kurt Kincaid
  • Publisher web site:
  • http://search.cpan.org/~sifukurt/Crypt-GOST_PP-1.10/GOST_PP.pm

Math::NumberCruncher Tags


Math::NumberCruncher Description

Math::NumberCruncher Perl module contains a collection of useful math-related functions. Math::NumberCruncher Perl module contains a collection of useful math-related functions.SYNOPSISIt should be noted that as of v4.0, there is now an OO interface to Math::NumberCruncher. For backwards compatibility, however, the previous, functional style will always be supported.# OO Styleuse Math::NumberCruncher;$ref = Math::NumberCruncher->new();# From this point on, all of the subroutines shown below will be available # through $ref (i.e., ( $high,$low ) = $ref->Range( @array )). For the sake # of brevity, consult the functional documentation (below) for the use # of specific functions.# Functional Styleuse Math::NumberCruncher;($high, $low) = Math::NumberCruncher::Range(@array);$mean = Math::NumberCruncher::Mean(@array);$median = Math::NumberCruncher::Median(@array );$odd_median = Math::NumberCruncher::OddMedian(@array);$mode = Math::NumberCruncher::Mode(@array);$covariance = Math::NumberCruncher::Covariance(@array1, @array2);$correlation = Math::NumberCruncher::Correlation(@array1, @array2);($slope, $y_intercept) = Math::NumberCruncher::BestFit(@array1, @array2 );$distance = Math::NumberCruncher::Distance($x1,$y1,$z1,$x2,$y2,$z2 );$distance = Math::NumberCruncher::Distance($x1,$y1,$x1,$x2 );$distance = Math::NumberCruncher::ManhattanDistance($x1,$y1,$x2,$y2);$probAll = Math::NumberCruncher::AllOf('0.3','0.25','0.91','0.002');$probNone = Math::NumberCruncher::NoneOf('0.4','0.5772','0.212');$probSome = Math::NumberCruncher::SomeOf('0.11','0.56','0.3275');$factorial = Math::NumberCruncher::Factorial($some_number);$permutations = Math::NumberCruncher::Permutation($n);$permutations = Math::NumberCruncher::Permutation($n,$k);$roll = Math::NumberCruncher::Dice(3,12,4);$randInt = Math::NumberCruncher::RandInt(10,50);$randomElement = Math::NumberCruncher::RandomElement(@array);Math::NumberCruncher::ShuffleArray(@array);@unique = Math::NumberCruncher::Unique(@array);@a_only = Math::NumberCruncher::Compare(@a,@b);@union = Math::NumberCruncher::Union(@a,@b);@intersection = Math::NumberCruncher::Intersection(@a,@b);@difference = Math::NumberCruncher::Difference(@a,@b);$gaussianRand = Math::NumberCruncher::GaussianRand();$ways = Math::NumberCruncher::Choose($n,$k);$binomial = Math::NumberCruncher::Binomial($attempts,$successes,$probability);$gaussianDist = Math::NumberCruncher::GaussianDist($x,$mean,$variance);$StdDev = Math::NumberCruncher::StandardDeviation(@array );$variance = Math::NumberCruncher::Variance(@array );@scores = Math::NumberCruncher::StandardScores(@array );$confidence = Math::NumberCruncher::SignSignificance($trials,$hits,$probability);$e = Math::Numbercruncher::EMC2( "m512", "miles" );$m = Math::NumberCruncher::EMC2( "e987432" "km" );$force = Math::NumberCruncher::FMA( "m12", "a73.5" );$mass = Math::NumberCruncher::FMA( "a43", "f1324" );$acceleration = Math::NumberCruncher::FMA( "f53512", "m356" );$predicted_value = Math::NubmerCruncher::Predict( $slope, $y_intercept, $proposed_x );$area = Math::NumberCruncher::TriangleHeron( $a, $b, $c );$area = Math::NumberCruncher::TriangleHeron( 1,3, 5,7, 8,2 );$perimeter = Math::NumberCruncher::PolygonPerimeter( $x0,$y0, $x1,$y1, $x2,$y2, ... );$direction = Math::NumberCruncher::Clockwise( $x0,$y0, $x1,$y1, $x2,$y2 );$collision = Math::NumberCruncher::InPolygon( $x, $y, @xy );@points = Math::NumberCruncher::BoundingBox_Points( $d, @p );$in_triangle = Math::NumberCruncher::InTriangle( $x,$y, $x0,$y0, $x1,$y1, $x2,$y2 );$area = Math::NumberCruncher::PolygonArea( 0, 1, 1, 0, 2, 0, 3, 2, 2, 3 );$area = Math::NumberCruncher::CircleArea( $diameter );$circumference = Math::NumberCruncher::Circumference( $diameter );$volume = Math::NumberCruncher::SphereVolume( $radius );$surface_area = Math::NumberCruncher::SphereSurface( $radius );$years = Math::NumberCruncher::RuleOf72( $interest_rate );$volume = Math::NumberCruncher::CylinderVolume( $radius, $height );$volume = Math::NumberCruncher::ConeVolume( $lowerBaseArea, $height );$radians = Math::NumberCruncher::deg2rad( $degrees );$degrees = Math::NumberCruncher::rad2deg( $radians );$Fahrenheit = Math::NumberCruncher::C2F( $Celsius );$Celsius = Math::NumberCruncher::F2C( $Fahrenheit );$cm = Math::NumberCruncher::in2cm( $inches );$inches = Math::NumberCruncher::cm2in( $cm );$ft = Math::NumberCruncher::m2ft( $m );$m = Math::NumberCruncher::ft2m( $ft );$miles = Math::NumberCruncher::km2miles( $km );$km = Math::NumberCruncher::miles2km( $miles );$lb = Math::NumberCruncher::kg2lb( $kg );$kg = Math::NumberCruncher::lb2kg( $lb );$RelativeStride = Math::NumberCruncher::RelativeStride( $stride_length, $leg_length );$RelativeStride = Math::NumberCruncher::RelativeStride_2( $DimensionlessSpeed );$DimensionlessSpeed = Math::NumberCruncher::DimensionlessSpeed( $RelativeStride );$DimensionlessSpeed = Math::NumberCruncher::DimensionlessSpeed_2( $ActualSpeed, $leg_length );$ActualSpeed = Math::NumberCruncher::ActualSpeed( $leg_length, $DimensionlessSpeed );$eccentricity = Math::NumberCruncher::Eccentricity( $half_major_axis, $half_minor_axis );$LatusRectum = Math::NumberCruncher::LatusRectum( $half_major_axis, $half_minor_axis );$EllipseArea = Math::NumberCruncher::EllipseArea( $half_major_axis, $half_minor_axis );$OrbitalVelocity = Math::NumberCruncher::OrbitalVelocity( $r, $a, $M );$sine = Math::NumberCruncher::sin( $x );$cosine = Math::NumberCruncher::cos( $x );$tangent = Math::NumberCruncher::tan( $x );$arcsin = Math::NumberCruncher::asin( $x );$arccos = Math::NumberCruncher::acos( $x );$arctan = Math::NumberCruncher::atan( $x );$cotangent = Math::NumberCruncher::cot( $x );$arccot = Math::NumberCruncher::acot( $x );$secant = Math::NumberCruncher::sec( $x );$arcsec = Math::NumberCruncher::asec( $x );$cosecant = Math::NumberCruncher::csc( $x );$arccosecant = Math::NumberCruncher::acsc( $x );$exsecant = Math::NumberCruncher::exsec( $x );$versine = Math::NumberCruncher::vers( $x );$coversine = Math::NumberCruncher::covers( $x );$haversine = Math::NumberCruncher::hav( $x );$grouped = Math::NumberCruncher::Commas( $number );$SqrRoot = Math::NumberCruncher::SqrRoot( $number );$square_root = Math::NumberCruncher::sqrt( $x );$root = Math::NumberCruncher::Root( 55, 3 );$root = Math::NumberCruncher::Root2( 55, 3 );$log = Math::NumberCruncher::Ln( 100 );$log = Math::NumberCruncher::log( $num );$num = Math::NumberCruncher::Exp( 0.111 );$num = Math::NumberCruncher::exp( $log );$Pi = Math::NumberCruncher::PICONST( $decimal_places );$E = Math::NumberCruncher::ECONST( $decimal_places );( $A, $B, $C ) = Math::NumberCruncher::PythagTriples( $x, $y );$z = Math::NumberCruncher::PythagTriplesSeq( $x, $y );@nums = Math::NumberCruncher::SIS( );$inverse = Math::NumberCruncher::Inverse( $number );@constants = Math::NumberCruncher::CONSTANTS( 'all' );$bernoulli = Math::NumberCruncher::Bernoulli( $num );@bernoulli = Math::NumberCruncher::Bernoulli( $num ); Requirements: · Perl


Math::NumberCruncher Related Software