comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.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
19 return a*b*Math.pow(Q, b-1); 19 return a*b*Math.pow(Q, b-1);
20 } 20 }
21 }; 21 };
22 } 22 }
23 }; 23 };
24
25 public static final Function INSTANCE = new SQPow();
24 26
25 public SQPow() { 27 public SQPow() {
26 super( 28 super(
27 "sq-pow", 29 "sq-pow",
28 "S(Q) = a*Q^b", 30 "S(Q) = a*Q^b",

http://dive4elements.wald.intevation.org