From 7975d93b695ff08fcc67c57bc0ea3e36557469c9 Mon Sep 17 00:00:00 2001 From: TianxingHe Date: Sat, 5 Mar 2016 15:13:07 +0800 Subject: Added rowmax_idx to matrix doc --- nerv/doc/nerv_matrix.md | 2 ++ 1 file changed, 2 insertions(+) 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)__ -- cgit v1.2.3-70-g09d2