public class VoidVector extends VectorBase
| Constructor and Description | 
|---|
| VoidVector(int size) | 
| Modifier and Type | Method and Description | 
|---|---|
| VoidVector | clone() | 
| double | get(int idx)Gets a single element of this vector. | 
| int | set(double[] values,
   int idx)Sets the elements of this vector from an array of doubles,
 starting from a particular location. | 
| void | set(int idx,
   double val)Sets a single element of this vector. | 
| int | size()Returns the number of elements in this vector. | 
containsNaN, copy, copyAndAdd, copyAndNegate, copyAndScale, copyAndSub, copyAndSubLeft, dot, epsilonEquals, equals, get, get, getDefaultFormat, hasNaN, infinityNorm, isColumnVectorStringsVertical, isFixedSize, isRowVector, maxElement, minElement, norm, normSquared, oneNorm, scan, set, set, set, setColumnVectorStringsVertical, setDefaultFormat, setRowVector, setSize, toString, toString, toString, write, writepublic int size()
VectorBasesize in interface Vectorsize in class VectorBasepublic void set(int idx,
                double val)
VectorBaseset in interface Vectorset in class VectorBaseidx - element indexval - element valuepublic int set(double[] values,
               int idx)
Vectorvalues - array from which values are copiedidx - starting point within values from which copying should beginpublic double get(int idx)
VectorBaseget in interface Vectorget in class VectorBaseidx - element indexpublic VoidVector clone()
clone in interface Clonableclone in class VectorBase