ch.javasoft.smx.impl
Class DynamicDoubleMatrix.DynamicColumns

java.lang.Object
  extended by ch.javasoft.smx.impl.AbstractDoubleMatrix
      extended by ch.javasoft.smx.impl.DynamicDoubleMatrix
          extended by ch.javasoft.smx.impl.DynamicDoubleMatrix.DynamicColumns
All Implemented Interfaces:
DoubleMatrix, MatrixBase<Double>, ReadableDoubleMatrix<Double>, ReadableMatrix<Double>, WritableBigIntegerMatrix<Double>, WritableBigIntegerRationalMatrix<Double>, WritableDoubleMatrix<Double>, WritableIntMatrix<Double>, WritableIntRationalMatrix<Double>, WritableLongMatrix<Double>, WritableLongRationalMatrix<Double>, WritableMatrix<Double>, Cloneable
Enclosing class:
DynamicDoubleMatrix

public static class DynamicDoubleMatrix.DynamicColumns
extends DynamicDoubleMatrix


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.javasoft.smx.impl.DynamicDoubleMatrix
DynamicDoubleMatrix.DynamicColumns, DynamicDoubleMatrix.DynamicRows
 
Constructor Summary
DynamicDoubleMatrix.DynamicColumns()
           
DynamicDoubleMatrix.DynamicColumns(ReadableDoubleMatrix src)
           
 
Method Summary
 double[] addColumn()
           
 void addColumn(double[] newCol)
           
 DynamicDoubleMatrix.DynamicColumns clone()
           
 double[] getColumn(int col)
           
 int getColumnCount()
           
 double[] getDoubleColumn(int col)
           
 double getDoubleValueAt(int row, int col)
           
 int getRowCount()
           
 DynamicDoubleMatrix.DynamicColumns newInstance(Double[][] data, boolean rowsInDim1)
           
 DynamicDoubleMatrix.DynamicColumns newInstance(int rows, int cols)
           
 double[] removeColumn(int col)
           
 void setValueAt(int row, int col, double value)
           
 void swapRows(int rowA, int rowB)
           
 DynamicDoubleMatrix.DynamicColumns transpose()
           
 
Methods inherited from class ch.javasoft.smx.impl.DynamicDoubleMatrix
getVector, getVectorCount, getVectorSize, initClone, removeVector, setVector, swapVectors
 
Methods inherited from class ch.javasoft.smx.impl.AbstractDoubleMatrix
add, add, add, add, add, add, add, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, addRowToOtherRow, equals, equals, equals, getDoubleColumn, getDoubleColumns, getDoubleColumns, getDoubleRow, getDoubleRow, getDoubleRows, getDoubleRows, getMatrixOperations, getNumberOperations, getNumberRows, getNumberRows, getNumberValueAt, getSignumAt, hashCode, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiplyRow, multiplyRow, multiplyRow, multiplyRow, multiplyRow, multiplyRow, multiplyRow, negate, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, subDoubleMatrix, swapColumns, toArray, toArray, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicDoubleMatrix.DynamicColumns

public DynamicDoubleMatrix.DynamicColumns()

DynamicDoubleMatrix.DynamicColumns

public DynamicDoubleMatrix.DynamicColumns(ReadableDoubleMatrix src)
Method Detail

getDoubleColumn

public double[] getDoubleColumn(int col)
Specified by:
getDoubleColumn in interface ReadableDoubleMatrix<Double>
Overrides:
getDoubleColumn in class AbstractDoubleMatrix

getColumn

public double[] getColumn(int col)

addColumn

public double[] addColumn()

addColumn

public void addColumn(double[] newCol)

removeColumn

public double[] removeColumn(int col)

clone

public DynamicDoubleMatrix.DynamicColumns clone()
Specified by:
clone in interface DoubleMatrix
Specified by:
clone in interface MatrixBase<Double>
Specified by:
clone in interface ReadableMatrix<Double>
Specified by:
clone in interface WritableMatrix<Double>
Specified by:
clone in class AbstractDoubleMatrix

newInstance

public DynamicDoubleMatrix.DynamicColumns newInstance(int rows,
                                                      int cols)

newInstance

public DynamicDoubleMatrix.DynamicColumns newInstance(Double[][] data,
                                                      boolean rowsInDim1)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getDoubleValueAt

public double getDoubleValueAt(int row,
                               int col)

setValueAt

public void setValueAt(int row,
                       int col,
                       double value)

swapRows

public void swapRows(int rowA,
                     int rowB)

transpose

public DynamicDoubleMatrix.DynamicColumns transpose()
Specified by:
transpose in interface DoubleMatrix
Specified by:
transpose in interface MatrixBase<Double>
Specified by:
transpose in interface ReadableMatrix<Double>
Specified by:
transpose in interface WritableMatrix<Double>
Specified by:
transpose in class AbstractDoubleMatrix