Repository: incubator-systemml Updated Branches: refs/heads/gh-pages d54cb7589 -> b9450efe5
[SYSTEMML-657] Deprecate ppred built-in function Closes #184. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/b9450efe Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/b9450efe Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/b9450efe Branch: refs/heads/gh-pages Commit: b9450efe50e3aaa6efe4aef2f4b584ec54388243 Parents: d54cb75 Author: Tatsuya.Nishiyama <[email protected]> Authored: Fri Jul 8 14:57:25 2016 -0700 Committer: Deron Eriksson <[email protected]> Committed: Fri Jul 8 14:57:25 2016 -0700 ---------------------------------------------------------------------- dml-language-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/b9450efe/dml-language-reference.md ---------------------------------------------------------------------- diff --git a/dml-language-reference.md b/dml-language-reference.md index 720715f..ee16085 100644 --- a/dml-language-reference.md +++ b/dml-language-reference.md @@ -148,7 +148,7 @@ SystemML follows same associativity and precedence order as R as described in be | %/% %% | Matrix or Scalar | Matrix or Scalar<sup>1, 2</sup> | Integer division and Modulus operator | / * | Matrix or Scalar | Matrix or Scalar<sup>1, 2</sup> | Multiplication and Division | + - | Matrix or Scalar | Matrix or Scalar<sup>1, 2</sup> | Addition (or string concatenation) and Subtraction -| < > == != <= >= | Matrix or Scalar (any value type) | Scalar<sup>2</sup> (boolean type) | Relational operators +| < > == != <= >= | Matrix or Scalar (any value type) | Matrix or Scalar<sup>1, 2</sup> (boolean type) | Relational operators | & \| ! | Scalar | Scalar | Boolean operators (Note: operators && and \|\| are not supported) | = | - | - | Assignment (Lowest precendence). Note: associativity of assignment "a = b = 3" is not supported @@ -634,7 +634,7 @@ Function | Description | Parameters | Example pmin() <br/> pmax() | "parallel min/max".<br/> Return cell-wise minimum/maximum. If the second input is a scalar then it is compared against all cells in the first input. | Input: (<matrix>, <matrix>), or (<matrix>, <scalar>) <br/> Output: matrix | pmin(X,Y) <br/> pmax(X,y) rowIndexMax() | Row-wise computation -- for each row, find the max value, and return its column index. | Input: (matrix) <br/> Output: (n x 1) matrix | rowIndexMax(X) rowIndexMin() | Row-wise computation -- for each row, find the minimum value, and return its column index. | Input: (matrix) <br/> Output: (n x 1) matrix | rowIndexMin(X) -ppred() | "parallel predicate".<br/> The relational operator specified in the third argument is cell-wise applied to input matrices. If the second argument is a scalar, then it is used against all cells in the first argument. | Input: (<matrix>, <matrix>, <string with relational operator>), or <br/> (<matrix>, <scalar>, <string with relational operator>) <br/> Output: matrix | ppred(X,Y,"<") <br/> ppred(X,y,"<") +ppred() | "parallel predicate".<br/> The relational operator specified in the third argument is cell-wise applied to input matrices. If the second argument is a scalar, then it is used against all cells in the first argument. <br/> **NOTE: ppred() has been replaced by the relational operators, so its use is discouraged.**| Input: (<matrix>, <matrix>, <string with relational operator>), or <br/> (<matrix>, <scalar>, <string with relational operator>) <br/> Output: matrix | ppred(X,Y,"<") <br/> ppred(X,y,"<") ### Casting Built-In Functions
