Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1329

RealVector.Entry is private, cannot be used outside class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6
    • 4.X
    • None
    • None
    • Any

    Description

      RealVector class has two methods that return an iterator to allow iterating through the entries in the vector:

      RealVector.sparseIterator()
      RealVector.iterator()

      Both return Iterator<RealVector.Entry>

      However, RealVector.Entry is a private class defined within RealVector. As a result, it is not possible to use the returned iterator to go through the values outside the class RealVector.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ziqizhang Ziqi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: