<h2>org.das2.datum.DatumVector</h2><p></p> <hr> <a name="add"></a> <h2>add</h2> add( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> d ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p></p> <h3>Parameters</h3> d - a Datum <h3>Returns:</h3> org.das2.datum.DatumVector <br><br> <a href="https://github.com/autoplot/dev/search?q=add&unscoped_q=add">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#add">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="append"></a> <h2>append</h2> append( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> a, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> b ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p>return a DatumVector which contains the elements of a and then the elements of b.</p> <h3>Parameters</h3> a - null or a DatumVector <br> b - a DatumVector with compatible units. <h3>Returns:</h3> the DatumVector which contains the elements of a and then the elements of b. <br><br> <a href="https://github.com/autoplot/dev/search?q=append&unscoped_q=append">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#append">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="asList"></a> <h2>asList</h2> asList( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html'>java.util.Collection</a> <p>return this DatumVector as a list of Datums.</p> <h3>Returns:</h3> this DatumVector as a list of Datums. <br><br> <a href="https://github.com/autoplot/dev/search?q=asList&unscoped_q=asList">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#asList">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="datumVectorsEqual"></a> <h2>datumVectorsEqual</h2> datumVectorsEqual( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> a, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> b ) → boolean <p>check that element-for-element the two are equal</p> <h3>Parameters</h3> a - a DatumVector <br> b - a DatumVector <h3>Returns:</h3> true if they are equal. <br><br> <a href="https://github.com/autoplot/dev/search?q=datumVectorsEqual&unscoped_q=datumVectorsEqual">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#datumVectorsEqual">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="doubleValue"></a> <h2>doubleValue</h2> doubleValue( int index, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> toUnits ) → double <p></p> <h3>Parameters</h3> index - an int <br> toUnits - an Units <h3>Returns:</h3> double <br><br> <a href="https://github.com/autoplot/dev/search?q=doubleValue&unscoped_q=doubleValue">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#doubleValue">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="get"></a> <h2>get</h2> get( int index ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> <p></p> <h3>Parameters</h3> index - an int <h3>Returns:</h3> org.das2.datum.Datum <br><br> <a href="https://github.com/autoplot/dev/search?q=get&unscoped_q=get">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#get">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="getLength"></a> <h2>getLength</h2> getLength( ) → int <p></p> <h3>Returns:</h3> int <br><br> <a href="https://github.com/autoplot/dev/search?q=getLength&unscoped_q=getLength">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#getLength">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="getSubVector"></a> <h2>getSubVector</h2> getSubVector( int start, int end ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p>return a subset of a vector</p> <h3>Parameters</h3> start - the start index <br> end - the end index, exclusive. <h3>Returns:</h3> the DatumVector <br><br> <a href="https://github.com/autoplot/dev/search?q=getSubVector&unscoped_q=getSubVector">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#getSubVector">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="getUnits"></a> <h2>getUnits</h2> getUnits( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> <p></p> <h3>Returns:</h3> org.das2.datum.Units <br><br> <a href="https://github.com/autoplot/dev/search?q=getUnits&unscoped_q=getUnits">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#getUnits">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="multiply"></a> <h2>multiply</h2> multiply( double d ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p></p> <h3>Parameters</h3> d - a double <h3>Returns:</h3> org.das2.datum.DatumVector <br><br> <a href="https://github.com/autoplot/dev/search?q=multiply&unscoped_q=multiply">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#multiply">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="newDatumVector"></a> <h2>newDatumVector</h2> newDatumVector( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum[]</a> array, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p></p> <h3>Parameters</h3> array - an org.das2.datum.Datum[] <br> units - an Units <h3>Returns:</h3> org.das2.datum.DatumVector <br><br> <a href="https://github.com/autoplot/dev/search?q=newDatumVector&unscoped_q=newDatumVector">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#newDatumVector">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> newDatumVector( double[] array, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a><br> newDatumVector( double[] array, double resolution, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a><br> newDatumVector( double[] array, int offset, int length, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a><br> <hr> <a name="subtract"></a> <h2>subtract</h2> subtract( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> d ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> <p></p> <h3>Parameters</h3> d - a Datum <h3>Returns:</h3> org.das2.datum.DatumVector <br><br> <a href="https://github.com/autoplot/dev/search?q=subtract&unscoped_q=subtract">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#subtract">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> <hr> <a name="toDoubleArray"></a> <h2>toDoubleArray</h2> toDoubleArray( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → double[] <p></p> <h3>Parameters</h3> units - an Units <h3>Returns:</h3> double[] <br><br> <a href="https://github.com/autoplot/dev/search?q=toDoubleArray&unscoped_q=toDoubleArray">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#toDoubleArray">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br> toDoubleArray( double[] array, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units ) → double[]<br> <hr> <a name="toString"></a> <h2>toString</h2> toString( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=toString&unscoped_q=toString">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/DatumVector.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/DatumVector.html#toString">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/DatumVector.java">[view source]</a> <br> <br>