|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PWLFunction
Interface for piecewise-linear functions.
Function
Method Summary | |
---|---|
double |
getIPX(int i)
The x-coordinate of the i -th inflection point. |
double |
getIPY(int i)
The y-coordinate of the i -th inflection point. |
int |
getSegmentCount()
Returns the number of line segments of which the piecewise-linear function consists. |
boolean |
isLeftopen(int i)
Returns true if the i -th inflection point is
in the definition interval of the segment and false if not. |
Methods inherited from interface unikl.disco.math.functions.Function |
---|
f, getAlias, getGradientAt, getLabel, getMaxX, getMinX, setAlias |
Method Detail |
---|
int getSegmentCount()
double getIPX(int i)
i
-th inflection point.
i
needs to be in the range [0,getSegmentCount()
).
i
- the index of the inflection point
double getIPY(int i)
i
-th inflection point.
i
needs to be in the range [0,getSegmentCount()
).
i
- the index of the inflection point
boolean isLeftopen(int i)
true
if the i
-th inflection point is
in the definition interval of the segment and false
if not.
i
- the index of the inflection point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |