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

Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2, 3.0
    • 3.0
    • None
    • All.

    Description

      Currently RealMatrix M = x.outerProduct throws an exception if x and y are different sizes. This is as documented in the Javadoc but not what one expects mathematically (see e.g. http://en.wikipedia.org/wiki/Outer_product) - the vectors can be any size.

      So please remove the restriction that the vectors should be the same size, as this doesn't seem to be necessary either mathematically or in terms of the implementation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nasatyr Emile Ben Nasatyr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified