ch.javasoft.smx.iface
Interface WritableVector<N extends Number>

All Superinterfaces:
Cloneable, MatrixBase<N>, VectorBase<N>, WritableMatrix<N>
All Known Subinterfaces:
DoubleVector
All Known Implementing Classes:
AbstractVector, DefaultBigIntegerVector, DefaultDoubleVector

public interface WritableVector<N extends Number>
extends VectorBase<N>, WritableMatrix<N>

The WritableVector contains methods for writable vectors of any data type. To writable vectors, data can be written, but not read from. Some implementations, however, might implement both readable and writable interfaces for some specific type.

See Also:
ReadableVector

Method Summary
 void setValueAt(int index, N value)
           
 void swapValues(int indexA, int indexB)
           
 ReadableVector<N> toReadableVector(boolean enforceNewInstance)
           
 WritableVector<N> transpose()
           
 
Methods inherited from interface ch.javasoft.smx.iface.VectorBase
clone, getSize, isColumnVector, isRowVector, toString, writeTo, writeTo
 
Methods inherited from interface ch.javasoft.smx.iface.WritableMatrix
clone, negate, newInstance, newInstance, setValueAt, swapColumns, swapRows, toReadableMatrix
 
Methods inherited from interface ch.javasoft.smx.iface.MatrixBase
getColumnCount, getMatrixOperations, getNumberOperations, getRowCount, toMultilineString, writeToMultiline, writeToMultiline
 

Method Detail

setValueAt

void setValueAt(int index,
                N value)

swapValues

void swapValues(int indexA,
                int indexB)

transpose

WritableVector<N> transpose()
Specified by:
transpose in interface MatrixBase<N extends Number>
Specified by:
transpose in interface WritableMatrix<N extends Number>

toReadableVector

ReadableVector<N> toReadableVector(boolean enforceNewInstance)