<h2>org.das2.qds.TrimStrideWrapper</h2><p>Wraps rank N qube dataset to present a dataset with the same rank that is a subset of wrapped dataset. Note this was used before trim() was a native operator for datasets, and it should be used when the zeroth dimension is trimmed with stride==1.</p> <h2>TrimStrideWrapper( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds )</h2> <p>construct a wrapper with no trimming by default. setTrim is called to trim a dimension.</p> <hr> <a name="length"></a> <h2>length</h2> length( int i, int j, int k ) → int <p></p> <h3>Parameters</h3> i - an int <br> j - an int <br> k - an int <h3>Returns:</h3> int <br><br> <a href="https://github.com/autoplot/dev/search?q=length&unscoped_q=length">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/TrimStrideWrapper.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/TrimStrideWrapper.html#length">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/TrimStrideWrapper.java#l139">[view source]</a> <br> <br> length( int i, int j ) → int<br> length( int i ) → int<br> length( ) → int<br> <hr> <a name="property"></a> <h2>property</h2> property( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> name ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> <p></p> <h3>Parameters</h3> name - a String <h3>Returns:</h3> java.lang.Object <br><br> <a href="https://github.com/autoplot/dev/search?q=property&unscoped_q=property">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/TrimStrideWrapper.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/TrimStrideWrapper.html#property">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/TrimStrideWrapper.java#l159">[view source]</a> <br> <br> <hr> <a name="rank"></a> <h2>rank</h2> rank( ) → int <p></p> <h3>Returns:</h3> int <br><br> <a href="https://github.com/autoplot/dev/search?q=rank&unscoped_q=rank">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/TrimStrideWrapper.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/TrimStrideWrapper.html#rank">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/TrimStrideWrapper.java#l115">[view source]</a> <br> <br> <hr> <a name="setTrim"></a> <h2>setTrim</h2> setTrim( int dim, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html'>Number</a> start, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html'>Number</a> stop, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html'>Number</a> stride ) → void <p>trim the dimension. Null indexes indicate the default should be used. Negative indeces are relative to the length of the dimension.</p> <h3>Parameters</h3> dim - the index, between 0 and rank. <br> start - index to start from, null for 0, or negative. <br> stop - exclusive index to end from, null for qube[dim], or negative. <br> stride - the step size, or null for 1. TODO: I doubt this can be negative, but this needs verification. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setTrim&unscoped_q=setTrim">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/TrimStrideWrapper.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/TrimStrideWrapper.html#setTrim">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/TrimStrideWrapper.java#l50">[view source]</a> <br> <br> <hr> <a name="value"></a> <h2>value</h2> value( int i0, int i1, int i2, int i3 ) → double <p></p> <h3>Parameters</h3> i0 - an int <br> i1 - an int <br> i2 - an int <br> i3 - an int <h3>Returns:</h3> double <br><br> <a href="https://github.com/autoplot/dev/search?q=value&unscoped_q=value">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/TrimStrideWrapper.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/TrimStrideWrapper.html#value">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/TrimStrideWrapper.java#l119">[view source]</a> <br> <br> value( int i0, int i1, int i2 ) → double<br> value( int i0, int i1 ) → double<br> value( int i0 ) → double<br>