comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.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 de67497de5a0
comparison
equal deleted inserted replaced
3177:585c0b49e696 3178:59b14bc676ec
19 return 2*n*Q+m; 19 return 2*n*Q+m;
20 } 20 }
21 }; 21 };
22 } 22 }
23 }; 23 };
24
25 public static final Function INSTANCE = new Quad();
24 26
25 public Quad() { 27 public Quad() {
26 super( 28 super(
27 "quad", 29 "quad",
28 "W(Q) = n*Q^2 + m*Q + b", 30 "W(Q) = n*Q^2 + m*Q + b",

http://dive4elements.wald.intevation.org