[
https://issues.apache.org/jira/browse/SYSTEMML-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305001#comment-15305001
]
Matthias Boehm commented on SYSTEMML-693:
-----------------------------------------
the recommended way would be (3) to automatically inject toString on hop
creation of print / string concatenation (not during parsing) whenever the
input to either one of the two is a matrix, because it would allow us to
properly handle the case of large matrices.
> Automatically invoke toString when user tries to print a matrix
> ---------------------------------------------------------------
>
> Key: SYSTEMML-693
> URL: https://issues.apache.org/jira/browse/SYSTEMML-693
> Project: SystemML
> Issue Type: Improvement
> Components: Parser
> Reporter: Nakul Jindal
> Priority: Minor
>
> The {{toString}} builtin function was added as [PR
> #120|https://github.com/apache/incubator-systemml/pull/120] and SYSTEMML-693.
> The way to print a matrix with this builtin function is
> {code}
> m = ... # Create Matrix
> print("matrix : " + toString(m))
> {code}
> To improve usability, the DML programmer should be able to say
> {code}
> m = ... # Create Matrix
> print("matrix : " + m)
> {code}
> The call to {{toString}} should be automatically inserted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)