commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20390] New: - [math] Adding MathUtils class, including binomial coefficients, factorials
Date Sun, 01 Jun 2003 07:49:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20390>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20390

[math] Adding MathUtils class, including binomial coefficients, factorials

           Summary: [math] Adding MathUtils class, including binomial
                    coefficients, factorials
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


I am attaching source for a new utility class, org.apache.commons.math.MathUtils
to house useful formulas, extending those that java.lang.Math provides.  Initial
contents are binomial coefficient and factorial methods.  For each of these,
three methods are provided, returning  

   * value as a long
   * value as a double
   * log of the value as a double

Limits on actual parameters for the first two (full value representations) are
specified in the javadoc.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message