public class TriangleFunction extends AbstractTestFunction<TriangleFunction>
DataSetError.ErrorTypeTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
TriangleFunction(String name,
int count)
Creates a triangular function which rises from zero to one and back.
|
TriangleFunction(String name,
int count,
double offset)
Creates a triangular function which rises from offset to offset+1 and back.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
generateY(int count)
generate test data set
|
generateX, get, getDataCount, getErrorNegative, getErrorPositive, getErrorType, getStyle, getX, getY, updatefireInvalidated, getThis, lock, recomputeLimits, setErrorTypeaddDataLabel, addDataStyle, autoNotification, binarySearch, clearMetaInfo, equalDataLabels, equalEditConstraints, equalErrorValues, equalMetaData, equals, equals, equalValues, getAxisDescriptions, getDataLabel, getDataLabelMap, getDataStyleMap, getDimension, getEditConstraints, getErrorList, getIndex, getInfoList, getMetaInfo, getName, getWarningList, hashCode, minNeigbourSearchX, removeDataLabel, removeStyle, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDimension, getValue, getValue, getXIndex, getXValues, getYIndex, getYValuesfireInvalidatedgetAxisDescription, getAxisDescriptions, getDataCount, getDataLabel, getIndex, getName, getStyle, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenergetErrorNegative, getErrorPositive, getErrorsNegative, getErrorsPositivepublic TriangleFunction(String name, int count)
name - data set namecount - number of samplespublic TriangleFunction(String name, int count, double offset)
name - data set namecount - number of samplesoffset - offset to zeropublic double[] generateY(int count)
TestDataSetcount - number of binsCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.