You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/01/04 21:09:49 UTC
[4/4] incubator-systemml git commit: change returnindex to
return.index
change returnindex to return.index
Closes #31.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/4193b47c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/4193b47c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/4193b47c
Branch: refs/heads/gh-pages
Commit: 4193b47c27491874c365d1986b3292038a091110
Parents: 135a0c0
Author: Tommy YU <tu...@163.com>
Authored: Mon Dec 21 15:22:59 2015 +0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Mon Jan 4 12:02:44 2016 -0800
----------------------------------------------------------------------
dml-language-reference.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4193b47c/dml-language-reference.md
----------------------------------------------------------------------
diff --git a/dml-language-reference.md b/dml-language-reference.md
index 8128871..f72dfaa 100644
--- a/dml-language-reference.md
+++ b/dml-language-reference.md
@@ -1236,7 +1236,7 @@ Function | Description | Parameters | Example
append() | Append a string to another string separated by "\n" <br/> Limitation: The string may grow up to 1 MByte. | Input: (<string>, <string>) <br/> Output: <string> | s = "iter=" + i <br/> i = i + 1 <br/> s = append(s, "iter=" + i) <br/> write(s, "s.out")
print() | Prints the value of a scalar variable x. This built-in takes an optional string parameter. | Input: (<scalar>) | print("hello") <br/> print("hello" + "world") <br/> print("value of x is " + x )
stop() | Halts the execution of DML program by printing the message that is passed in as the argument. <br/> Note that the use of stop() is not allowed inside a parfor loop. | Input: (<scalar>) | stop("Inputs to DML program are invalid") <br/> stop("Class labels must be either -1 or +1")
-order() | Sort a column of the matrix X in decreasing/increasing order and return either index (indexreturn=TRUE) or data (indexreturn=FALSE). | Input: (target=X, by=column, decreasing, indexreturn) | order(X, by=1, decreasing=FALSE, indexreturn=FALSE)
+order() | Sort a column of the matrix X in decreasing/increasing order and return either index (index.return=TRUE) or data (index.return=FALSE). | Input: (target=X, by=column, decreasing, index.return) | order(X, by=1, decreasing=FALSE, index.return=FALSE)
* * *