org.das2.qds.LengthsDataSet

DataSet that is the lengths of another dataset. The total of all the leaves is the total number of elements in the dataset. The rank is one less than that of the wrapped dataset, and the values are the lengths of the last dimension of the wrapped dataset. It's expected that this will be generally useful and a handy way to make a QUBE dataset implementation such as DDataSet support non-qube datasets.

LengthsDataSet( QDataSet ds )


length

length( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


length

length( int i ) → int

Parameters

i - an int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


length

length( int i, int j ) → int

Parameters

i - an int
j - an int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


length

length( int i, int j, int k ) → int

Parameters

i - an int
j - an int
k - an int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


rank

rank( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


value

value( ) → double

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


value

value( int i ) → double

Parameters

i - an int

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


value

value( int i0, int i1 ) → double

Parameters

i0 - an int
i1 - an int

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


value

value( int i0, int i1, int i2 ) → double

Parameters

i0 - an int
i1 - an int
i2 - an int

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]