diff options
author | Determinant <[email protected]> | 2016-03-05 15:31:01 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-03-05 15:31:01 +0800 |
commit | 155132e122eca83942f49bb6a95c9dcf2bae8a81 (patch) | |
tree | 943365cfa1deef90d33b97b727db89e164c5ea15 /nerv | |
parent | 968d129f1a16cde537cb1bc6061e66510c6828e7 (diff) | |
parent | 7975d93b695ff08fcc67c57bc0ea3e36557469c9 (diff) |
Merge branch 'master' of github.com:Nerv-SJTU/nerv
Diffstat (limited to 'nerv')
-rw-r--r-- | nerv/doc/nerv_matrix.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nerv/doc/nerv_matrix.md b/nerv/doc/nerv_matrix.md index 7555e6c..8ae97f9 100644 --- a/nerv/doc/nerv_matrix.md +++ b/nerv/doc/nerv_matrix.md @@ -53,6 +53,8 @@ Return a new __Matrix__ of size (1,`self.ncol`), which stores the sum of all col Return a new __Matrix__ of size (`self.nrow`,1), which stores the sum of all rows of __Matrix__ `self`. * __Matrix Matrix.rowmax(Matrix self)__ Return a new __Matrix__ of size (`self.nrow`,1), which stores the max value of all rows of __Matrix__ `self`. +* __Matrix Matrix.rowmax_idx(Matrix self)__ +Return two new __Matrix__ of size (`self.nrow`,1), which stores the max value of all rows of __Matrix__ `self`, and its corresponding column indices(start from zero). * __Matrix Matrix.trans(Matrix self)__ Return a new __Matrix__ of size (`self.ncol`,`self.nrow`), which stores the transpose of __Matrix__ `self`. * __void Matrix.copy_fromh(Matrix self, MMatrix a)__ |