|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphalgo.impl.util.MatrixUtil.DoubleMatrix
public static class MatrixUtil.DoubleMatrix
2-Dimensional matrix of doubles.
| Constructor Summary | |
|---|---|
MatrixUtil.DoubleMatrix()
|
|
| Method Summary | |
|---|---|
Double |
get(Integer rowIndex,
Integer columnIndex)
Get the value at a certain position. |
MatrixUtil.DoubleVector |
getRow(Integer rowIndex)
Gets an entire row as a vector. |
void |
incrementValue(Integer rowIndex,
Integer columnIndex,
double increment)
Increment a value at a certain position. |
void |
set(Integer rowIndex,
Integer columnIndex,
double value)
Set a value at a certain position. |
void |
setRow(Integer rowIndex,
MatrixUtil.DoubleVector row)
Inserts or replaces an entire row as a vector. |
int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatrixUtil.DoubleMatrix()
| Method Detail |
|---|
public void incrementValue(Integer rowIndex,
Integer columnIndex,
double increment)
rowIndex - columnIndex - increment -
public void set(Integer rowIndex,
Integer columnIndex,
double value)
rowIndex - columnIndex - value -
public Double get(Integer rowIndex,
Integer columnIndex)
rowIndex - columnIndex -
public MatrixUtil.DoubleVector getRow(Integer rowIndex)
rowIndex -
public void setRow(Integer rowIndex,
MatrixUtil.DoubleVector row)
rowIndex - row - public String toString()
toString in class Objectpublic int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||