Package org.apache.commons.math.linear
Class AbstractRealVector.EntryImpl
- java.lang.Object
-
- org.apache.commons.math.linear.RealVector.Entry
-
- org.apache.commons.math.linear.AbstractRealVector.EntryImpl
-
- Enclosing class:
- AbstractRealVector
protected class AbstractRealVector.EntryImpl extends RealVector.Entry
An entry in the vector.
-
-
Constructor Summary
Constructors Constructor Description EntryImpl()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetValue()Get the value of the entry.voidsetValue(double newValue)Set the value of the entry.-
Methods inherited from class org.apache.commons.math.linear.RealVector.Entry
getIndex, setIndex
-
-
-
-
Method Detail
-
getValue
public double getValue()
Get the value of the entry.- Specified by:
getValuein classRealVector.Entry- Returns:
- the value of the entry.
-
setValue
public void setValue(double newValue)
Set the value of the entry.- Specified by:
setValuein classRealVector.Entry- Parameters:
newValue- New value for the entry.
-
-