commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.
Date Mon, 16 May 2011 12:32:47 GMT

    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033993#comment-13033993
] 

Gilles commented on MATH-574:
-----------------------------

"OpenMapRealVector" fixed revision 1103716.


> Remove the restriction that the two vectors in RealVector.outerProduct have to be of
the same size.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MATH-574
>                 URL: https://issues.apache.org/jira/browse/MATH-574
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.2, 3.0
>         Environment: All.
>            Reporter: Emile Ben Nasatyr
>            Priority: Minor
>              Labels: matrix, vector
>             Fix For: 3.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Currently RealMatrix M = x.outerProduct(y) 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message