|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.dataStructure.matrix.AbstractNamedMatrix
baseCode.dataStructure.matrix.AbstractNamedDoubleMatrix
Copyright (c) 2004 Columbia University
| Constructor Summary | |
AbstractNamedDoubleMatrix()
|
|
| Method Summary | |
abstract int |
columns()
Get the number of columns the matrix has. |
abstract double |
get(int x,
int y)
|
abstract java.lang.Object[] |
getColObj(int i)
|
abstract double |
getQuick(int i,
int j)
|
abstract double[] |
getRow(int i)
|
abstract cern.colt.list.DoubleArrayList |
getRowArrayList(int i)
|
double[] |
getRowByName(java.lang.String s)
|
abstract java.lang.Object[] |
getRowObj(int i)
Get a row in the matrix as a generic Object[]. |
abstract boolean |
isMissing(int i,
int j)
Check if the value at a given index is missing. |
abstract int |
rows()
Get the number of rows the matrix has |
abstract void |
set(int x,
int y,
double value)
|
abstract void |
set(int i,
int j,
java.lang.Object val)
Set a value in the matrix. |
abstract cern.colt.matrix.DoubleMatrix1D |
viewRow(int j)
|
| Methods inherited from class baseCode.dataStructure.matrix.AbstractNamedMatrix |
addColumnName, addColumnName, addRowName, addRowName, containsColumnName, containsRowName, getColIndexByName, getColName, getColNames, getRowIndexByName, getRowName, getRowNameMapIterator, getRowNames, hasColNames, hasRow, hasRowNames, numMissing, setColumnNames, setRowNames |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractNamedDoubleMatrix()
| Method Detail |
public abstract int rows()
NamedMatrix
rows in interface NamedMatrixrows in class AbstractNamedMatrixpublic abstract int columns()
NamedMatrix
columns in interface NamedMatrixcolumns in class AbstractNamedMatrix
public abstract void set(int i,
int j,
java.lang.Object val)
NamedMatrix
set in interface NamedMatrixset in class AbstractNamedMatrixpublic abstract java.lang.Object[] getRowObj(int i)
NamedMatrix
getRowObj in interface NamedMatrixgetRowObj in class AbstractNamedMatrixpublic abstract java.lang.Object[] getColObj(int i)
getColObj in interface NamedMatrixgetColObj in class AbstractNamedMatrix
public abstract boolean isMissing(int i,
int j)
NamedMatrix
isMissing in interface NamedMatrixisMissing in class AbstractNamedMatrixpublic abstract double[] getRow(int i)
public abstract cern.colt.list.DoubleArrayList getRowArrayList(int i)
public abstract double get(int x,
int y)
public abstract double getQuick(int i,
int j)
i - j -
public abstract void set(int x,
int y,
double value)
public abstract cern.colt.matrix.DoubleMatrix1D viewRow(int j)
j -
public double[] getRowByName(java.lang.String s)
s - String
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||