Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 10596 invoked from network); 17 Jun 2004 23:28:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jun 2004 23:28:01 -0000 Received: (qmail 14006 invoked by uid 500); 17 Jun 2004 23:28:19 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 13973 invoked by uid 500); 17 Jun 2004 23:28:19 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 13952 invoked by uid 500); 17 Jun 2004 23:28:18 -0000 Received: (qmail 13941 invoked by uid 99); 17 Jun 2004 23:28:18 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 17 Jun 2004 16:28:18 -0700 Received: (qmail 10571 invoked by uid 1718); 17 Jun 2004 23:27:52 -0000 Date: 17 Jun 2004 23:27:52 -0000 Message-ID: <20040617232752.10570.qmail@minotaur.apache.org> From: psteitz@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/stat/univariate SummaryStatisticsImpl.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N psteitz 2004/06/17 16:27:52 Modified: math/src/java/org/apache/commons/math/stat/univariate SummaryStatisticsImpl.java Log: Added missing statistics in toString. Revision Changes Path 1.5 +8 -5 jakarta-commons/math/src/java/org/apache/commons/math/stat/univariate/SummaryStatisticsImpl.java Index: SummaryStatisticsImpl.java =================================================================== RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/stat/univariate/SummaryStatisticsImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- SummaryStatisticsImpl.java 14 Jun 2004 23:26:53 -0000 1.4 +++ SummaryStatisticsImpl.java 17 Jun 2004 23:27:52 -0000 1.5 @@ -205,11 +205,14 @@ public String toString() { StringBuffer outBuffer = new StringBuffer(); outBuffer.append("SummaryStatistics:\n"); - outBuffer.append("n: " + n + "\n"); - outBuffer.append("min: " + min + "\n"); - outBuffer.append("max: " + max + "\n"); + outBuffer.append("n: " + getN() + "\n"); + outBuffer.append("min: " + getMin() + "\n"); + outBuffer.append("max: " + getMax() + "\n"); outBuffer.append("mean: " + getMean() + "\n"); - outBuffer.append("std dev: " + getStandardDeviation() + "\n"); + outBuffer.append("geometric mean: " + getGeometricMean() + "\n"); + outBuffer.append("variance: " + getVariance() + "\n"); + outBuffer.append("sum of squares: " + getSumsq() + "\n"); + outBuffer.append("standard deviation: " + getStandardDeviation() + "\n"); return outBuffer.toString(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org