You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emile Ben Nasatyr (JIRA)" <ji...@apache.org> on 2011/05/12 17:14:47 UTC

[jira] [Created] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

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
             Fix For: 3.0


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

[jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033022#comment-13033022 ] 

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

"ArrayFieldVector" fixed in revision 1102704.


> 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

[jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035078#comment-13035078 ] 

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

"SparseFieldVector" fixed in revision 1104575.


> 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

[jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032469#comment-13032469 ] 

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

"ArrayRealVector" fixed in revision 1102356.


> 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

[jira] [Resolved] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Gilles (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-574.
-------------------------

    Resolution: Fixed

Revision 1104600.


> 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

[jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Arne Plöse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032985#comment-13032985 ] 

Arne Plöse commented on MATH-574:
---------------------------------

Please check all other Vector implemenations as well (ArrayFieldvector seems to have the same bub)

> 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

[jira] [Issue Comment Edited] (MATH-574) Remove the restriction that the two vectors in RealVector.outerProduct have to be of the same size.

Posted by "Arne Plöse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032985#comment-13032985 ] 

Arne Plöse edited comment on MATH-574 at 5/13/11 12:26 PM:
-----------------------------------------------------------

Please check all other Vector implemenations as well (ArrayFieldvector seems to have the same bug)

      was (Author: aploese):
    Please check all other Vector implemenations as well (ArrayFieldvector seems to have the same bub)
  
> 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