diff options
author | TianxingHe <[email protected]> | 2016-03-05 15:13:07 +0800 |
---|---|---|
committer | TianxingHe <[email protected]> | 2016-03-05 15:13:07 +0800 |
commit | 7975d93b695ff08fcc67c57bc0ea3e36557469c9 (patch) | |
tree | f4b0f87557d227b29e57854a3ac9425c1d6780b5 | |
parent | 9cd8013b14aec72f6284ecb2f005b3845ed069a2 (diff) |
Added rowmax_idx to matrix doc
-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)__ |