public static class SparseVector.Entry extends Object
SparseVector
.Modifier and Type | Class and Description |
---|---|
static class |
SparseVector.Entry.Comparator
This
Comparator sorts the matrix coordinates first from top to
bottom (rows), and then from left to right (columns). |
Constructor and Description |
---|
Entry(int index,
double value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
index()
Gets the index of this entry in the sparse vector, counting from 1.
|
String |
toString() |
double |
value()
Gets the value of this entry.
|
Copyright © 2010-2017 Numerical Method Incorporation Limited. All Rights Reserved.