drasys.or.matrix.complex
Interface ContiguousVectorI

All Known Implementing Classes:
ContiguousVector

public interface ContiguousVectorI
extends VectorI

Abstract interface to a generic contiguous vector.


Method Summary
 int getBegin()
          Returns the offset of the first element into the internal array.
 int getIncrement()
          Returns the increment between elements in the internal array.
 int getOffset(int index)
          Returns an element's offset into the value array.
 double[] getValueArray()
          Returns the internal array which holds the values.
 ContiguousVectorI subvector(int begin)
          Returns a reference to the subvector.
 ContiguousVectorI subvector(int begin, int end)
          Returns a reference to the subvector.
 
Methods inherited from interface drasys.or.matrix.complex.VectorI
elementAt, elementAt, elements, equals, getArray, isNull, setElementAt, setElements, setElements, size, sizeOfElements, sum, sum, sum, sumOfSquaredDifferences, sumOfSquaredDifferences, sumOfSquaredDifferences, sumOfSquares, sumOfSquares, sumOfSquares
 
Methods inherited from interface drasys.or.matrix.complex.ComplexContainerI
equals, getEpsilon, setEpsilon
 

Method Detail

subvector

public ContiguousVectorI subvector(int begin)
Returns a reference to the subvector.

subvector

public ContiguousVectorI subvector(int begin,
                                   int end)
Returns a reference to the subvector.

getValueArray

public double[] getValueArray()
Returns the internal array which holds the values.

getOffset

public int getOffset(int index)
Returns an element's offset into the value array.

getBegin

public int getBegin()
Returns the offset of the first element into the internal array.

getIncrement

public int getIncrement()
Returns the increment between elements in the internal array.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com