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

"isSparse()" method vs marker interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      From discussions on the "dev" ML, it seems that it would be advantageous to introduce a method "isSparse()" in "RealVector" and in "RealMatrix".
      For "RealVector", it will make sense to use it to select between "iterator()" and "sparseIterator()" in methods implemented in that class.
      We could then remove the "SparseRealVector" and "SparseRealMatrix" interfaces.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erans Gilles Sadowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: