comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQCKms.java @ 4821:bcf25d8c183e

Moved NaN removal code from W to DoubleUtil. Create QKms when calculating the 'Umhuellende'.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 21 Jan 2013 14:03:22 +0100
parents 5642a83420f2
children
comparison
equal deleted inserted replaced
4820:26c849cf54e7 4821:bcf25d8c183e
1 package de.intevation.flys.artifacts.model; 1 package de.intevation.flys.artifacts.model;
2
3 import de.intevation.flys.utils.DoubleUtil;
2 4
3 import gnu.trove.TDoubleArrayList; 5 import gnu.trove.TDoubleArrayList;
4 6
5 /** 7 /**
6 * This class represents a pool of data triples that consists of 'W', 'Q' and 8 * This class represents a pool of data triples that consists of 'W', 'Q' and
30 this.cws = new TDoubleArrayList(cws); 32 this.cws = new TDoubleArrayList(cws);
31 } 33 }
32 34
33 @Override 35 @Override
34 public void removeNaNs() { 36 public void removeNaNs() {
35 removeNaNs(new TDoubleArrayList [] { ws, qs, cws, kms }); 37 DoubleUtil.removeNaNs(new TDoubleArrayList [] { ws, qs, cws, kms });
36 } 38 }
37 39
38 /** 40 /**
39 * Adds a new row to this data pool with corrected W. 41 * Adds a new row to this data pool with corrected W.
40 * 42 *

http://dive4elements.wald.intevation.org