Package | Description |
---|---|
org.diirt.datasource.extra |
This package contains experimental classes that, once stable, will
be deprecated and moved into more official packages.
|
org.diirt.datasource.formula |
Support for formula expressions (formula syntax).
|
org.diirt.datasource.graphene | |
org.diirt.datasource.vtype |
Support for control system types.
|
org.diirt.graphene | |
org.diirt.util.array |
Set of classes to handle iteration and read-only references to
collections and arrays of primitives, without having to code for each
individual case.
|
org.diirt.vtype | |
org.diirt.vtype.json |
Support for JSON serialization of vTypes according to the following
(specification).
|
org.diirt.vtype.ndarray | |
org.diirt.vtype.next |
Value definitions and basic implementations.
|
org.diirt.vtype.table |
Modifier and Type | Method and Description |
---|---|
ListNumber |
DoubleArrayTimeCacheFromVDoubles.Data.getArray(int index) |
ListNumber |
DoubleArrayTimeCacheFromVDoubleArray.Data.getArray(int index) |
ListNumber |
DoubleArrayTimeCache.Data.getArray(int index) |
Modifier and Type | Method and Description |
---|---|
abstract ListNumber |
AbstractVNumberVNumberArrayToVNumberArrayFormulaFunction.calculate(double arg1,
ListNumber arg2)
Calculates the result based on the two arguments.
|
abstract ListNumber |
AbstractVNumberArrayVNumberToVNumberArrayFormulaFunction.calculate(ListNumber arg1,
double arg2)
Calculates the result based on the two arguments.
|
abstract ListNumber |
AbstractVNumberArrayVNumberArrayToVNumberArrayFormulaFunction.calculate(ListNumber arg1,
ListNumber arg2)
Calculates the result based on the two arguments.
|
Modifier and Type | Method and Description |
---|---|
abstract ListNumber |
AbstractVNumberVNumberArrayToVNumberArrayFormulaFunction.calculate(double arg1,
ListNumber arg2)
Calculates the result based on the two arguments.
|
abstract ListNumber |
AbstractVNumberArrayVNumberToVNumberArrayFormulaFunction.calculate(ListNumber arg1,
double arg2)
Calculates the result based on the two arguments.
|
abstract ListNumber |
AbstractVNumberArrayVNumberArrayToVNumberArrayFormulaFunction.calculate(ListNumber arg1,
ListNumber arg2)
Calculates the result based on the two arguments.
|
Modifier and Type | Class and Description |
---|---|
class |
ListDoubleView |
Constructor and Description |
---|
ListDoubleView(ListNumber list) |
Modifier and Type | Method and Description |
---|---|
static ChannelExpression<VNumberArray,ListNumber> |
ExpressionLanguage.vNumberArray(String name)
A channel with the given name of type VNumberArray.
|
Modifier and Type | Method and Description |
---|---|
ListNumber |
TimeSeriesDataset.getNormalizedTime(TimeInterval normalizationRange)
Returns the time normalized within the range of the dataset.
|
ListNumber |
TimeSeriesDataset.getValues()
The values.
|
ListNumber |
Point1DDataset.getValues()
The values of the points.
|
ListNumber |
Cell2DDataset.getXBoundaries()
Returns the boundaries of the cells along x.
|
ListNumber |
Cell1DDataset.getXBoundaries()
Returns the boundaries of the cells along x.
|
ListNumber |
Point3DWithLabelDataset.getXValues() |
ListNumber |
Point2DDataset.getXValues()
The x values of the point.
|
ListNumber |
Cell2DDataset.getYBoundaries()
Returns the boundaries of the cells along y.
|
ListNumber |
Point3DWithLabelDataset.getYValues() |
ListNumber |
Point2DDataset.getYValues()
The y values of the point.
|
ListNumber |
Point3DWithLabelDataset.getZValues() |
Modifier and Type | Method and Description |
---|---|
static Point3DWithLabelDataset |
Point3DWithLabelDatasets.build(ListNumber x,
ListNumber y,
ListNumber z,
List<String> labels) |
static Cell2DDataset |
Cell2DDatasets.datasetFrom(Cell2DDatasets.Function2D function,
ListNumber xBoundaries,
ListNumber yBoundaries) |
static Cell1DDataset |
Cell1DDatasets.datasetFrom(ListNumber values,
ListNumber xBoundaries)
Wraps
ListNumber s for values and boundaries into a Point1DDataset . |
static Cell2DDataset |
Cell2DDatasets.datasetFrom(ListNumber values,
ListNumber xBoundaries,
ListNumber yBoundaries) |
static Cell1DDataset |
Cell1DDatasets.datasetFrom(ListNumber values,
ListNumber xBoundaries,
Range displayRange) |
protected void |
Graph2DRenderer.drawValueExplicitLine(ListNumber xValues,
ListNumber yValues,
InterpolationScheme interpolation,
ReductionScheme reduction)
Draws an explicit line give the interpolation and reduction schemes,
the x values and the y values.
|
protected void |
MultiAxisLineGraph2DRenderer.drawValueExplicitLine(ListNumber xValues,
ListNumber yValues,
InterpolationScheme interpolation,
ReductionScheme reduction,
int index) |
protected void |
TemporalGraph2DRenderer.drawValueLine(ListNumber xValues,
ListNumber yValues,
InterpolationScheme interpolation) |
protected void |
Graph2DRenderer.drawValueLine(ListNumber xValues,
ListNumber yValues,
InterpolationScheme interpolation)
Draws an implicit line given the interpolation scheme and the x,y values.
|
void |
GraphBuffer.drawValueLine(ListNumber xValues,
ListNumber yValues,
InterpolationScheme interpolation,
ProcessValue pv) |
static Cell1DDataset |
Cell1DDatasets.linearRange(ListNumber values,
double minValue,
double maxValue)
Wraps a
ListNumber into a Point1DDataset . |
static Cell2DDataset |
Cell2DDatasets.linearRange(ListNumber data,
Range xRange,
int xCount,
Range yRange,
int yCount)
returns a Cell2DDataset, which is a 1D list of values that is treated
like a 2D matrix.
|
static Point2DDataset |
Point2DDatasets.lineData(ListNumber data) |
static Point2DDataset |
Point2DDatasets.lineData(ListNumber data,
double xInitialOffset,
double xIncrementSize) |
static Point2DDataset |
Point2DDatasets.lineData(ListNumber x,
ListNumber y) |
static Point2DDataset |
Point2DDatasets.lineData(Range xRange,
ListNumber y) |
static Point1DDataset |
Point1DDatasets.of(ListNumber values)
Wraps a
ListNumber into a Point1DDataset . |
static TimeSeriesDataset |
TimeSeriesDatasets.timeSeriesOf(ListNumber values,
List<Timestamp> timestamps)
Returns a TimeSeriesDataset with the
Statistics and time interval. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayByte
Wraps a
byte[] into a ListByte . |
class |
ArrayDouble
Wraps a
double[] into a ListDouble . |
class |
ArrayFloat
Wraps a
float[] into a ListFloat . |
class |
ArrayInt
Wraps a
int[] into a ListInt . |
class |
ArrayLong
Wraps a
long[] into a ListLong . |
class |
ArrayShort
Wraps a
short[] into a ListShort . |
class |
BufferInt
An implementation of a list on top of buffer.
|
class |
CircularBufferDouble
An implementation of a list on top of a circular buffer.
|
class |
ListByte
An ordered collection of
byte s. |
class |
ListDouble
An ordered collection of
double s. |
class |
ListFloat
An ordered collection of
float s. |
class |
ListInt
An ordered collection of
int s. |
class |
ListLong
An ordered collection of
long s. |
class |
ListShort
An ordered collection of
short s. |
class |
SortedListView
A sorted view of a list.
|
Modifier and Type | Method and Description |
---|---|
static ListNumber |
ListMath.limit(ListNumber data,
int start,
int end)
Returns a sublist of the given data.
|
static ListNumber |
ListNumbers.linearList(double initialValue,
double increment,
int size)
Creates a list of equally spaced values given the first value, the
step between element and the size of the list.
|
static ListNumber |
ListNumbers.linearListFromRange(double minValue,
double maxValue,
int size)
Creates a list of equally spaced values given the range and the number of
elements.
|
static ListNumber |
ListNumbers.listView(ListNumber list,
ListInt indexes)
Returns a view of the given list that presents only the elements
at the given indexes.
|
static ListNumber |
ListNumbers.toListNumber(Object primitiveArray)
Converts an array of primitive numbers to the appropriate ListNumber
implementation.
|
Modifier and Type | Method and Description |
---|---|
static List<ListNumber> |
ListMath.dft(ListNumber x,
ListNumber y)
XXX: This is just a prototype
|
Modifier and Type | Method and Description |
---|---|
static ListDouble |
ListMath.add(ListNumber data,
double offset)
Returns a new list where all elements are added to a constant.
|
static ListDouble |
ListMath.add(ListNumber data1,
ListNumber data2)
Returns a list where each element is the sum of the elements of the two
lists at the same index.
|
static int |
ListNumbers.binarySearchValueOrHigher(ListNumber values,
double value)
Finds the value in the list, or the one right above it.
|
static int |
ListNumbers.binarySearchValueOrLower(ListNumber values,
double value)
Finds the value in the list, or the one right below it.
|
static ListDouble |
ListDouble.concatenate(ListNumber... lists)
Concatenates a several lists of numbers into a single list
|
static List<ListNumber> |
ListMath.dft(ListNumber x,
ListNumber y)
XXX: This is just a prototype
|
static ListDouble |
ListMath.divide(ListNumber data1,
ListNumber data2)
Returns a list where each element is the division of the elements of the two
lists at the same index.
|
static ListDouble |
ListMath.inverseRescale(ListNumber data,
double numerator,
double offset)
Performs a linear transformation on inverse value of each number in a list.
|
static boolean |
ListNumbers.isLinear(ListNumber listNumber)
Tests whether the list contains a equally spaced numbers.
|
static ListNumber |
ListMath.limit(ListNumber data,
int start,
int end)
Returns a sublist of the given data.
|
static ListNumber |
ListNumbers.listView(ListNumber list,
ListInt indexes)
Returns a view of the given list that presents only the elements
at the given indexes.
|
static ListDouble |
ListMath.multiply(ListNumber data1,
ListNumber data2)
Returns a list where each element is the product of the elements of the two
lists at the same index.
|
static ListDouble |
ListMath.pow(double base,
ListNumber expons)
Raises a value to the power of each value in a list.
|
static ListDouble |
ListMath.pow(ListNumber data,
double expon)
Raises each value in a list to the same power.
|
static ListDouble |
ListMath.rescale(ListNumber data,
double factor,
double offset)
Performs a linear transformation on the data.
|
static SortedListView |
ListNumbers.sortedView(ListNumber values)
Creates a sorted view of the given ListNumber.
|
static SortedListView |
ListNumbers.sortedView(ListNumber values,
ListInt indexes)
Creates a sorted view of the given ListNumber based on the indexes provided.
|
static ListDouble |
ListMath.subtract(ListNumber data1,
ListNumber data2)
Returns a list where each element is the difference of the elements of the two
lists at the same index.
|
Modifier and Type | Method and Description |
---|---|
ListNumber |
ArrayDimensionDisplay.getCellBoundaries()
Returns the boundaries of the cell in the given unit.
|
ListNumber |
VNumberArray.getData() |
static ListNumber |
ValueUtil.numericColumnOf(VTable table,
String columnName)
Extracts the values of a column, making sure it contains
numeric values.
|
Modifier and Type | Method and Description |
---|---|
static ArrayDimensionDisplay |
ValueFactory.newDisplay(ListNumber boundaries,
boolean reversed,
String unit) |
static ArrayDimensionDisplay |
ValueFactory.newDisplay(ListNumber boundaries,
String unit) |
static VNumberArray |
ValueFactory.newVNumberArray(ListNumber data,
Alarm alarm,
Time time,
Display display)
Creates a new VNumberArray based on the type of the data.
|
static VNumberArray |
ValueFactory.newVNumberArray(ListNumber data,
ListInt sizes,
List<ArrayDimensionDisplay> dimensionDisplay,
Alarm alarm,
Time time,
Display display)
Creates a new VNumberArray based on the type of the data.
|
Modifier and Type | Method and Description |
---|---|
static javax.json.JsonArrayBuilder |
JsonArrays.fromListNumber(ListNumber list)
Converts the given ListNumber to a number JSON array.
|
Modifier and Type | Class and Description |
---|---|
class |
InvertListNumber |
Modifier and Type | Method and Description |
---|---|
abstract ListNumber |
VNumberArray.getData()
The numeric value.
|
Modifier and Type | Method and Description |
---|---|
static VNumberArray |
VNumberArray.create(ListNumber data,
Alarm alarm,
Time time,
Display display)
Creates a new VNumber based on the type of the data
|
Modifier and Type | Method and Description |
---|---|
abstract ListNumber |
ListNumberProvider.createListNumber(int size) |
Copyright © 2015. All rights reserved.