|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.virbo.dataset.WeightsDataSet
public class WeightsDataSet
Provide consistent valid logic to operators by providing a QDataSet with 1.0 where the data is valid, and 0.0 where the data is invalid. VALID_MIN, VALID_MAX and FILL_VALUE properties are used. Note, when FILL_VALUE is not specified, -1e31 is used. This is to support legacy logic. For convenience, the property FILL_VALUE is set to the fill value used.
Field Summary |
---|
Fields inherited from interface org.virbo.dataset.QDataSet |
---|
CACHE_TAG, CADENCE, COORDINATE_FRAME, DELTA_MINUS, DELTA_PLUS, DEPEND_0, DEPEND_1, DEPEND_2, FILL_VALUE, LABEL, MAX_PLANE_COUNT, MAX_RANK, MONOTONIC, NAME, PLANE_0, QUBE, RENDER_TYPE, SCALE_TYPE, TITLE, TYPICAL_MAX, TYPICAL_MIN, UNITS, USER_PROPERTIES, VALID_MAX, VALID_MIN, WEIGHTS_PLANE |
Constructor Summary | |
---|---|
protected |
WeightsDataSet(QDataSet ds)
|
Method Summary | |
---|---|
int |
length()
return the length of the first dimension |
int |
length(int i)
return the length of the second dimension, for the ith element of the first dimension |
int |
length(int i,
int j)
return the length of the third dimension, for the ith element of the first dimension and jth element of the second dimension. |
java.lang.Object |
property(java.lang.String name)
accessor for properties attached to the dataset. |
java.lang.Object |
property(java.lang.String name,
int i)
accessor for properties attached to the dataset's first index. |
java.lang.Object |
property(java.lang.String name,
int i0,
int i1)
accessor for properties attached to the dataset's second index. |
int |
rank()
returns the rank of the dataset, which is the number of indeces used to access data. |
double |
value(int i)
rank 1 accessor. |
double |
value(int i0,
int i1)
rank 2 accessor. |
double |
value(int i0,
int i1,
int i2)
rank 3 accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected WeightsDataSet(QDataSet ds)
Method Detail |
---|
public int rank()
QDataSet
rank
in interface QDataSet
public double value(int i)
QDataSet
value
in interface QDataSet
public double value(int i0, int i1)
QDataSet
value
in interface QDataSet
public double value(int i0, int i1, int i2)
QDataSet
value
in interface QDataSet
public java.lang.Object property(java.lang.String name)
QDataSet
property
in interface QDataSet
public java.lang.Object property(java.lang.String name, int i)
QDataSet
property
in interface QDataSet
public java.lang.Object property(java.lang.String name, int i0, int i1)
QDataSet
property
in interface QDataSet
public int length()
QDataSet
length
in interface QDataSet
public int length(int i)
QDataSet
length
in interface QDataSet
public int length(int i, int j)
QDataSet
length
in interface QDataSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |