Commons Math
  1. Commons Math
  2. MATH-564

add a double[][] solve(double[][]) method to Decompositionsolver

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      The decomposition solver provides both RealVector and double[] types for vector solving, but it provides only RealMatrix type for matriw solving.
      This breaks symmetry and is inconvenient in some algorithms which perform lots of iterations. Lots of copying occurs while converting back and forth between RealMatrix and arrays, with no value added when the matrix aspect of the data is only used in the solve operation.
      Adding a double[][] counterpart to RealMatrix in decomposition is also trivial as internally the various implementations already use that.

        Activity

        Hide
        Luc Maisonobe added a comment -

        Fixed in subversion repository as of r1097730

        Show
        Luc Maisonobe added a comment - Fixed in subversion repository as of r1097730
        Hide
        Phil Steitz added a comment -

        +1 to add this

        Show
        Phil Steitz added a comment - +1 to add this

          People

          • Assignee:
            Luc Maisonobe
            Reporter:
            Luc Maisonobe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development