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 20377] New: - [math] Adding percentiles to StoredUnivariate, AbstractStoreUnivariate
Date Sat, 31 May 2003 00:13:51 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=20377>.
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=20377

[math] Adding percentiles to StoredUnivariate, AbstractStoreUnivariate

           Summary: [math] Adding percentiles to StoredUnivariate,
                    AbstractStoreUnivariate
           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


Attached patches add getPercentile, getSortedValues to StoredUnivariate
interface and provide implementation in AbstractStoreUnivariate.

Sort uses simple shell sort performed directly on a double[] array copy returned
by getValues. 

Percentile definition used does linear interpolation after computing target
position.

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