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
An entry in the vector.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.math.linear.RealVector.Entry
getIndex, setIndex
-
Constructor Details
-
EntryImpl
public EntryImpl()Simple constructor.
-
-
Method Details
-
getValue
public double getValue()Get the value of the entry.- Specified by:
getValue
in classRealVector.Entry
- Returns:
- the value of the entry.
-
setValue
public void setValue(double newValue) Set the value of the entry.- Specified by:
setValue
in classRealVector.Entry
- Parameters:
newValue
- New value for the entry.
-