de.aitools.aq.algebra.matrix
Class DenseMatrix
java.lang.Object
de.aitools.aq.algebra.matrix.DenseMatrix
- All Implemented Interfaces:
- Matrix
public class DenseMatrix
- extends java.lang.Object
- implements Matrix
- Version:
- $Id: DenseMatrix.java,v 1.3 2011/04/14 10:01:56 hoppe Exp $
- Author:
- dennis.hoppe(/\t)uni-weimar.de
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DenseMatrix
public DenseMatrix()
numRows
public int numRows()
- Specified by:
numRows
in interface Matrix
numColumns
public int numColumns()
- Specified by:
numColumns
in interface Matrix
get
public double get(int i,
int j)
- Specified by:
get
in interface Matrix
set
public void set(int i,
int j,
double value)
- Specified by:
set
in interface Matrix
add
public void add(int i,
int j,
double value)
- Specified by:
add
in interface Matrix
getRow
public double[] getRow(int i)
- Specified by:
getRow
in interface Matrix
getColumn
public double[] getColumn(int j)
- Specified by:
getColumn
in interface Matrix
getValues
public double[][] getValues()
- Specified by:
getValues
in interface Matrix