aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianxingHe <[email protected]>2016-03-05 15:13:07 +0800
committerTianxingHe <[email protected]>2016-03-05 15:13:07 +0800
commit7975d93b695ff08fcc67c57bc0ea3e36557469c9 (patch)
treef4b0f87557d227b29e57854a3ac9425c1d6780b5
parent9cd8013b14aec72f6284ecb2f005b3845ed069a2 (diff)
Added rowmax_idx to matrix doc
-rw-r--r--nerv/doc/nerv_matrix.md2
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)__