|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphalgo.impl.util.MatrixUtil.DoubleVector
public static class MatrixUtil.DoubleVector
Vector of doubles
| Constructor Summary | |
|---|---|
MatrixUtil.DoubleVector()
|
|
| Method Summary | |
|---|---|
Double |
get(Integer index)
Get a value for a certain index. |
Set<Integer> |
getIndices()
Get all indices for which values are stored. |
void |
incrementValue(Integer index,
double increment)
Increment a value in the vector. |
void |
set(Integer index,
double value)
Set a value for a certain index. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatrixUtil.DoubleVector()
| Method Detail |
|---|
public void incrementValue(Integer index,
double increment)
index - increment -
public void set(Integer index,
double value)
index - value - public Double get(Integer index)
index -
public Set<Integer> getIndices()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||