ch.javasoft.smx.impl
Class DefaultBigIntegerVector

java.lang.Object
  extended by ch.javasoft.smx.impl.DefaultBigIntegerRationalMatrix
      extended by ch.javasoft.smx.impl.DefaultBigIntegerVector
All Implemented Interfaces:
BigIntegerRationalMatrix, MatrixBase<BigFraction>, RationalMatrix, ReadableBigIntegerRationalMatrix<BigFraction>, ReadableDoubleMatrix<BigFraction>, ReadableMatrix<BigFraction>, ReadableVector<BigFraction>, VectorBase<BigFraction>, WritableBigIntegerMatrix<BigFraction>, WritableBigIntegerRationalMatrix<BigFraction>, WritableIntMatrix<BigFraction>, WritableIntRationalMatrix<BigFraction>, WritableLongMatrix<BigFraction>, WritableLongRationalMatrix<BigFraction>, WritableMatrix<BigFraction>, WritableVector<BigFraction>, Cloneable

public class DefaultBigIntegerVector
extends DefaultBigIntegerRationalMatrix
implements ReadableVector<BigFraction>, WritableVector<BigFraction>, BigIntegerRationalMatrix

The DefaultBigIntegerVector ... TODO javadoc-DefaultBigIntegerVector-type


Constructor Summary
DefaultBigIntegerVector(BigFraction[] values, boolean isColumnVector)
          Constructor, does not clone values!
DefaultBigIntegerVector(int size, boolean isColumnVector)
           
 
Method Summary
 DefaultBigIntegerVector clone()
           
 BigFraction getNumberValueAt(int index)
           
 int getSize()
           
 boolean isColumnVector()
           
 boolean isRowVector()
           
 void setValueAt(int index, BigFraction value)
           
 void swapValues(int indexA, int indexB)
           
 ReadableVector<BigFraction> toReadableVector(boolean enforceNewInstance)
           
 WritableVector<BigFraction> toWritableVector(boolean enforceNewInstance)
           
 DefaultBigIntegerVector transpose()
           
 
Methods inherited from class ch.javasoft.smx.impl.DefaultBigIntegerRationalMatrix
add, add, add, add, add, add, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, getBigFractionValueAt, getBigIntegerDenominatorAt, getBigIntegerNumeratorAt, getColumnCount, getDoubleColumn, getDoubleColumns, getDoubleRow, getDoubleRows, getDoubleValueAt, getMatrixOperations, getNumberOperations, getNumberRows, getNumberRows, getNumberValueAt, getRowCount, getSignumAt, multiply, multiply, multiply, multiply, multiply, multiply, multiplyRow, multiplyRow, multiplyRow, multiplyRow, multiplyRow, multiplyRow, negate, newInstance, newInstance, reduce, reduceRow, reduceValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, subBigIntegerRationalMatrix, subDoubleMatrix, swapColumns, swapRows, toArray, toBigIntegerRationalMatrix, toDoubleArray, toDoubleMatrix, toMultilineString, toMultilineString, toReadableMatrix, toString, toString, toString, toWritableMatrix, writeTo, writeTo, writeTo, writeTo, writeTo, writeToMultiline, writeToMultiline, writeToMultiline, writeToMultiline
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.javasoft.smx.iface.VectorBase
toString, writeTo, writeTo
 
Methods inherited from interface ch.javasoft.smx.iface.BigIntegerRationalMatrix
newInstance, newInstance
 
Methods inherited from interface ch.javasoft.smx.iface.RationalMatrix
reduce, reduceRow, reduceValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.ReadableBigIntegerRationalMatrix
getBigFractionValueAt, getBigIntegerDenominatorAt, getBigIntegerNumeratorAt, subBigIntegerRationalMatrix, toBigIntegerRationalMatrix
 
Methods inherited from interface ch.javasoft.smx.iface.ReadableDoubleMatrix
getDoubleColumn, getDoubleColumns, getDoubleRow, getDoubleRows, getDoubleValueAt, subDoubleMatrix, toArray, toDoubleArray, toDoubleMatrix
 
Methods inherited from interface ch.javasoft.smx.iface.ReadableMatrix
getNumberRows, getNumberValueAt, getSignumAt, toWritableMatrix
 
Methods inherited from interface ch.javasoft.smx.iface.WritableBigIntegerRationalMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableLongRationalMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableIntRationalMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableBigIntegerMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableLongMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableIntMatrix
add, addRowToOtherRow, multiply, multiplyRow, setValueAt
 
Methods inherited from interface ch.javasoft.smx.iface.WritableMatrix
negate, setValueAt, swapColumns, swapRows, toReadableMatrix
 
Methods inherited from interface ch.javasoft.smx.iface.MatrixBase
getColumnCount, getMatrixOperations, getNumberOperations, getRowCount, toMultilineString, writeToMultiline, writeToMultiline
 

Constructor Detail

DefaultBigIntegerVector

public DefaultBigIntegerVector(int size,
                               boolean isColumnVector)

DefaultBigIntegerVector

public DefaultBigIntegerVector(BigFraction[] values,
                               boolean isColumnVector)
Constructor, does not clone values!

Method Detail

clone

public DefaultBigIntegerVector clone()
Specified by:
clone in interface BigIntegerRationalMatrix
Specified by:
clone in interface MatrixBase<BigFraction>
Specified by:
clone in interface ReadableMatrix<BigFraction>
Specified by:
clone in interface VectorBase<BigFraction>
Specified by:
clone in interface WritableMatrix<BigFraction>
Overrides:
clone in class DefaultBigIntegerRationalMatrix

transpose

public DefaultBigIntegerVector transpose()
Specified by:
transpose in interface BigIntegerRationalMatrix
Specified by:
transpose in interface MatrixBase<BigFraction>
Specified by:
transpose in interface ReadableMatrix<BigFraction>
Specified by:
transpose in interface ReadableVector<BigFraction>
Specified by:
transpose in interface WritableMatrix<BigFraction>
Specified by:
transpose in interface WritableVector<BigFraction>
Overrides:
transpose in class DefaultBigIntegerRationalMatrix

getNumberValueAt

public BigFraction getNumberValueAt(int index)
Specified by:
getNumberValueAt in interface ReadableVector<BigFraction>

toReadableVector

public ReadableVector<BigFraction> toReadableVector(boolean enforceNewInstance)
Specified by:
toReadableVector in interface WritableVector<BigFraction>

toWritableVector

public WritableVector<BigFraction> toWritableVector(boolean enforceNewInstance)
Specified by:
toWritableVector in interface ReadableVector<BigFraction>

getSize

public int getSize()
Specified by:
getSize in interface VectorBase<BigFraction>

isColumnVector

public boolean isColumnVector()
Specified by:
isColumnVector in interface VectorBase<BigFraction>

isRowVector

public boolean isRowVector()
Specified by:
isRowVector in interface VectorBase<BigFraction>

setValueAt

public void setValueAt(int index,
                       BigFraction value)
Specified by:
setValueAt in interface WritableVector<BigFraction>

swapValues

public void swapValues(int indexA,
                       int indexB)
Specified by:
swapValues in interface WritableVector<BigFraction>