All Packages Class Hierarchy This Package Previous Next Index
Class com.micronova.math.StepSegmentedCurve
java.lang.Object
|
+----netscape.util.Vector
|
+----com.micronova.util.SortedVector
|
+----com.micronova.math.SegmentedCurve
|
+----com.micronova.math.StepSegmentedCurve
- public class StepSegmentedCurve
- extends SegmentedCurve
Step function defined by boundary CurvePoints.
For an ordered sequence of N boundary CurvePoints
{(x[0], y[0]), ... , (x[N-1], y[N-1])}, the value f(x) is
define as follows:
- 0 if x < x[0]
- y[k] if x[k] <= x < x[k+1] (k = 1, 2, ..., N-1)
- y[N-1] if x >= x[N-1]
- Version:
- 1.0
- Author:
- Makoto Nagata, MicroNova
-
StepSegmentedCurve()
-
-
getValueInSegment(double, int)
- Defines the value for a given point x in index-th segment.
StepSegmentedCurve
public StepSegmentedCurve()
getValueInSegment
public double getValueInSegment(double x,
int index)
- Defines the value for a given point x in index-th segment.
- Overrides:
- getValueInSegment in class SegmentedCurve
All Packages Class Hierarchy This Package Previous Next Index