org.das2.qds.IndexGenDataSet

Dataset that simply returns the index as the value.

IndexGenDataSet( int length )

Creates a new instance of IndexGenDataSet


lastindex

lastindex( QDataSet src ) → QDataSet

this is used to create a 0,1,2,... index list when DEPEND_1 is rank 2, but this also works for rank 1.

Parameters

src - a QDataSet

Returns:

a QDataSet

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


length

length( ) → 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( int i ) → double

Parameters

i - an int

Returns:

double

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