|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.linear.RealVector.Entry
protected class RealVector.Entry
An entry in the vector.
Constructor Summary | |
---|---|
RealVector.Entry()
Simple constructor. |
Method Summary | |
---|---|
int |
getIndex()
Get the index of the entry. |
double |
getValue()
Get the value of the entry. |
void |
setIndex(int index)
Set the index of the entry. |
void |
setValue(double value)
Set the value of the entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RealVector.Entry()
Method Detail |
---|
public double getValue()
public void setValue(double value)
value
- New value for the entry.public int getIndex()
public void setIndex(int index)
index
- New index for the entry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |