Package org.esa.snap.core.util.math
Interface FX
public interface FX
Represents a function f(x).
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondoublef(double x) The function y = f(x)Returns the function as C code expression, e.g.
-
Field Details
-
XXXX
The function f(x) = x 4 -
XXX
The function f(x) = x 3 -
XX
The function f(x) = x 2 -
X
The function f(x) = x -
ONE
The function f(x) = 1
-
-
Method Details
-
f
double f(double x) The function y = f(x)- Parameters:
x- the x parameter- Returns:
- y
-
getCCodeExpr
String getCCodeExpr()Returns the function as C code expression, e.g."pow(x, 3) * y"- Returns:
- the C code
-