|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RealFunction
General mappings to scalar R range.
| Field Summary | |
|---|---|
static java.lang.String |
AMPLITUDE
Property name: amplitude. |
static java.lang.String |
FREQUENCY
Property name: global frequency. |
static java.lang.String |
FREQUENCY_X
Property name: frequency in the X coordinate. |
static java.lang.String |
FREQUENCY_Y
Property name: frequency in the Y coordinate. |
static java.lang.String |
VARIATION
Property name: variation of the function (used in noise functions). |
| Fields inherited from interface cz.cuni.jagrlib.iface.Property |
|---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
| Method Summary | |
|---|---|
double |
df(double x)
Compute erivative: df(x)/dx. |
boolean |
df(double[] arg,
double[] d)
Compute partial derivatives: {@code df(x1,..) |
boolean |
df(double x,
double y,
double[] d)
Compute partial derivatives: df(x,y)/dx and df(x,y)/dy. |
boolean |
df(double x,
double y,
double z,
double[] d)
Compute partial derivatives: df(x,y,z)/dx, df(x,y,z)/dy and df(x,y,z)/dz. |
double |
f(double x)
Compute the mapping: double -> double. |
double |
f(double[] arg)
Compute the mapping: double[] -> double. |
double |
f(double x,
double y)
Compute the mapping: double[2] -> double. |
double |
f(double x,
double y,
double z)
Compute the mapping: double[3] -> double. |
double |
f(int x)
Compute the mapping: int -> double. |
double |
f(int[] arg)
Compute the mapping: int[] -> double. |
double |
f(int x,
int y)
Compute the mapping: int[2] -> double. |
double |
f(int x,
int y,
int z)
Compute the mapping: int[3] -> double. |
double[] |
getDomain(double[] dom)
Returns domain of the mapping. |
int[] |
getDomain(int[] dom)
Returns domain of the mapping. |
| Methods inherited from interface cz.cuni.jagrlib.iface.Property |
|---|
commit, get, set |
| Field Detail |
|---|
static final java.lang.String AMPLITUDE
static final java.lang.String FREQUENCY
static final java.lang.String FREQUENCY_X
static final java.lang.String FREQUENCY_Y
static final java.lang.String VARIATION
| Method Detail |
|---|
double f(double x)
double -> double.
double f(int x)
int -> double.
double f(double x,
double y)
double[2] -> double.
double f(int x,
int y)
int[2] -> double.
double f(double x,
double y,
double z)
double[3] -> double.
double f(int x,
int y,
int z)
int[3] -> double.
double f(double[] arg)
double[] -> double.
double f(int[] arg)
int[] -> double.
double df(double x)
df(x)/dx. Non-mandatory.
x - Function argument.
boolean df(double x,
double y,
double[] d)
df(x,y)/dx and df(x,y)/dy. Non-mandatory.
x - X coordinate (1st argument).y - Y coordinate (2nd argument).d - Array to hold results (d[0] = df(x,y)/dx,
d[1] = df(x,y)/dy).
boolean df(double x,
double y,
double z,
double[] d)
df(x,y,z)/dx, df(x,y,z)/dy and df(x,y,z)/dz.
Non-mandatory.
x - X coordinate (1st argument).y - Y coordinate (2nd argument).z - Z coordinate (3rd argument).d - Array to hold results (d[0] = df(x,y,z)/dx,
d[1] = df(x,y,z)/dy, d[2] = df(x,y,z)/dz).
boolean df(double[] arg,
double[] d)
df(x1,..)/dx1, ...
Non-mandatory.
arg - Coordinate array.d - Array to hold results (d[0] = df(x1,...)/dx1, ...).
double[] getDomain(double[] dom)
dom - Domain array (dom[0] = Xmin, dom[1] = Xmax, etc.).
int[] getDomain(int[] dom)
dom - Domain array (dom[0] = Xmin, dom[1] = Xmax, etc.).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||