[jira] [Commented] (MATH-831) Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat

2012-07-23 Thread Thomas Neidhart (JIRA)

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

Thomas Neidhart commented on MATH-831:
--

In r1364775 the following changes have been made:

 * change the default format to the same one as implemented in 
AbstractRealMatrix.toString()
 * add static final fields DEFAULT_FORMAT and OCTAVE_FORMAT to MatrixUtils with 
corresponding instances of RealMatrixFormat
 * use the default RealMatrixFormat in AbstractRealMatrix.toString()
 * update unit tests

> Add a RealMatrixFormat to create a string representation of a Matrix similar 
> to RealVectorFormat
> 
>
> Key: MATH-831
> URL: https://issues.apache.org/jira/browse/MATH-831
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Thomas Neidhart
>Priority: Minor
> Fix For: 3.1
>
>
> When debugging or testing CM code, it would be very helpful to have a way to 
> display the contents of a matrix on the screen.
> The format should be in a way that is similar by other tools by e.g. octave 
> in order to be able to use the result directly in such tools:
> [ x1, x2, x3, x4, ...;
>   x1, x2, x3, x4, ...;
>   x1, x2, x3, x4, ... ]
> [ .. denotes the start of the matrix
> , .. denotes the end of an element
> ; .. denotes the end of a row
> ] .. denotes the end of the matrix

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (MATH-831) Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat

2012-07-22 Thread Thomas Neidhart (JIRA)

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

Thomas Neidhart commented on MATH-831:
--

Added in r1364405.

> Add a RealMatrixFormat to create a string representation of a Matrix similar 
> to RealVectorFormat
> 
>
> Key: MATH-831
> URL: https://issues.apache.org/jira/browse/MATH-831
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Thomas Neidhart
>Priority: Minor
> Fix For: 3.1
>
>
> When debugging or testing CM code, it would be very helpful to have a way to 
> display the contents of a matrix on the screen.
> The format should be in a way that is similar by other tools by e.g. octave 
> in order to be able to use the result directly in such tools:
> [ x1, x2, x3, x4, ...;
>   x1, x2, x3, x4, ...;
>   x1, x2, x3, x4, ... ]
> [ .. denotes the start of the matrix
> , .. denotes the end of an element
> ; .. denotes the end of a row
> ] .. denotes the end of the matrix

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira