comparison gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java @ 354:0970d9a7d65e

Upgraded to Apache Commons Math 2.0. gnv-artifacts/trunk@427 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 15 Dec 2009 14:12:58 +0000
parents e964a3d8f7bc
children 59ad8f37a590
comparison
equal deleted inserted replaced
353:00d2dd4b2a7f 354:0970d9a7d65e
79 Result previousRow = row; 79 Result previousRow = row;
80 break1 = row.getString("GROUP1"); 80 break1 = row.getString("GROUP1");
81 break2 = row.getString("GROUP2"); 81 break2 = row.getString("GROUP2");
82 break3 = row.getString("GROUP3"); 82 break3 = row.getString("GROUP3");
83 lRegression = new SimpleRegression(); 83 lRegression = new SimpleRegression();
84 lStatistics = DescriptiveStatistics.newInstance(); 84 lStatistics = new DescriptiveStatistics();
85 while (resultIterator.hasNext()) { 85 while (resultIterator.hasNext()) {
86 86
87 if (!break1.equals(row.getString("GROUP1")) 87 if (!break1.equals(row.getString("GROUP1"))
88 || !break2.equals(row.getString("GROUP2")) 88 || !break2.equals(row.getString("GROUP2"))
89 || !break3.equals(row.getString("GROUP3")) 89 || !break3.equals(row.getString("GROUP3"))

http://dive4elements.wald.intevation.org