Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java @ 3178:59b14bc676ec
Fitting: Link the functions to there inverses via getInverse().
flys-artifacts/trunk@4793 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 26 Jun 2012 09:29:37 +0000 |
parents | 585c0b49e696 |
children |
comparison
equal
deleted
inserted
replaced
3177:585c0b49e696 | 3178:59b14bc676ec |
---|---|
20 return a*m/(m*Q + b); | 20 return a*m/(m*Q + b); |
21 } | 21 } |
22 }; | 22 }; |
23 } | 23 } |
24 }; | 24 }; |
25 | |
26 public static final Function INSTANCE = new LogLinear(); | |
25 | 27 |
26 public LogLinear() { | 28 public LogLinear() { |
27 super( | 29 super( |
28 "log-linear", | 30 "log-linear", |
29 "W(Q) = a*ln(m*Q + b)", | 31 "W(Q) = a*ln(m*Q + b)", |