|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.virbo.dataset.AbstractDataSet org.virbo.dataset.Slice0DataSet
public class Slice0DataSet
Wraps a rank N dataset, slicing on an index of the first dimension to make a rank N-1 dataset. This is currently used to implement DataSetOps.slice0().
Field Summary |
---|
Fields inherited from class org.virbo.dataset.AbstractDataSet |
---|
properties |
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 |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
int |
length()
return the length of the first dimension |
int |
length(int i0)
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. |
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. |
Methods inherited from class org.virbo.dataset.AbstractDataSet |
---|
property, putProperty, putProperty, putProperty, toString, value |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int rank()
QDataSet
rank
in interface QDataSet
rank
in class AbstractDataSet
public double value(int i)
QDataSet
value
in interface QDataSet
value
in class AbstractDataSet
public double value(int i0, int i1)
QDataSet
value
in interface QDataSet
value
in class AbstractDataSet
public java.lang.Object property(java.lang.String name)
QDataSet
property
in interface QDataSet
property
in class AbstractDataSet
public java.lang.Object property(java.lang.String name, int i)
QDataSet
property
in interface QDataSet
property
in class AbstractDataSet
public int length()
QDataSet
length
in interface QDataSet
length
in class AbstractDataSet
public int length(int i0)
QDataSet
length
in interface QDataSet
length
in class AbstractDataSet
public int length(int i, int j)
QDataSet
length
in interface QDataSet
length
in class AbstractDataSet
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |