Number::Interval

Number::Interval is a Perl module that can implement a representation of a numeric interval.
Download

Number::Interval Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Tim Jenness
  • Publisher web site:
  • http://search.cpan.org/~tjenness/File-Temp-0.20/Temp.pm

Number::Interval Tags


Number::Interval Description

Number::Interval is a Perl module that can implement a representation of a numeric interval. Number::Interval is a Perl module that can implement a representation of a numeric interval.SYNOPSIS use Number::Interval; $i = new Number::Interval( Min => -4, Max => 20); $i = new Number::Interval( Min => 0 ); $is = $i->contains( $value ); $status = $i->intersection( $i2 ); print "$i";Simple class to implement a closed or open interval. Can be used to compare different intervals, determine set membership, calculate intersections and provide default stringification methods.Intervals can be bound or unbound. If max is less than min the interval is inverted. Requirements: · Perl


Number::Interval Related Software