## 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( int i ) → int [view source]
length( int i, int j ) → int [view source]
length( int i, int j, int k ) → int [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( int i ) → double [view source]
value( int i0, int i1 ) → double [view source]
value( int i0, int i1, int i2 ) → double [view source]