Class RealVector.Entry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index
      Index of this entry.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()
      Simple constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • index

        private int index
        Index of this entry.
    • Constructor Detail

      • Entry

        public Entry()
        Simple constructor.
    • Method Detail

      • getValue

        public double getValue()
        Get the value of the entry.
        Returns:
        the value of the entry.
      • setValue

        public void setValue​(double value)
        Set the value of the entry.
        Parameters:
        value - New value for the entry.
      • getIndex

        public int getIndex()
        Get the index of the entry.
        Returns:
        the index of the entry.
      • setIndex

        public void setIndex​(int index)
        Set the index of the entry.
        Parameters:
        index - New index for the entry.