ch.javasoft.smx.impl
Class DynamicDoubleMatrix.DynamicRows

java.lang.Object
  extended by ch.javasoft.smx.impl.AbstractDoubleMatrix
      extended by ch.javasoft.smx.impl.DynamicDoubleMatrix
          extended by ch.javasoft.smx.impl.DynamicDoubleMatrix.DynamicRows
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.DynamicRows
extends DynamicDoubleMatrix


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.javasoft.smx.impl.DynamicDoubleMatrix
DynamicDoubleMatrix.DynamicColumns, DynamicDoubleMatrix.DynamicRows
 
Constructor Summary
DynamicDoubleMatrix.DynamicRows()
           
DynamicDoubleMatrix.DynamicRows(ReadableDoubleMatrix src)
           
 
Method Summary
 double[] addRow()
           
 void addRow(double[] newRow)
           
 DynamicDoubleMatrix.DynamicRows clone()
           
 int getColumnCount()
           
 double[] getDoubleRow(int row)
           
 double getDoubleValueAt(int row, int col)
           
 double[] getRow(int row)
           
 int getRowCount()
           
 DynamicDoubleMatrix.DynamicRows newInstance(Double[][] data, boolean rowsInDim1)
           
 DynamicDoubleMatrix.DynamicRows newInstance(int rows, int cols)
           
 double[] removeRow(int row)
           
 void setValueAt(int row, int col, double value)
           
 void swapRows(int rowA, int rowB)
           
 DynamicDoubleMatrix.DynamicRows 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, getDoubleColumn, getDoubleColumns, getDoubleColumns, 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.DynamicRows

public DynamicDoubleMatrix.DynamicRows()

DynamicDoubleMatrix.DynamicRows

public DynamicDoubleMatrix.DynamicRows(ReadableDoubleMatrix src)
Method Detail

getDoubleRow

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

getRow

public double[] getRow(int row)

addRow

public double[] addRow()

addRow

public void addRow(double[] newRow)

removeRow

public double[] removeRow(int row)

clone

public DynamicDoubleMatrix.DynamicRows 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.DynamicRows newInstance(int rows,
                                                   int cols)

newInstance

public DynamicDoubleMatrix.DynamicRows 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.DynamicRows 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