From 6984519cbb659aac0b0b323de93d5a90aa2049b7 Mon Sep 17 00:00:00 2001 From: cloudygoose Date: Wed, 3 Jun 2015 10:29:38 +0800 Subject: ... --- doc/nerv_matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nerv_matrix.md b/doc/nerv_matrix.md index 00356c3..9f4df5a 100644 --- a/doc/nerv_matrix.md +++ b/doc/nerv_matrix.md @@ -68,7 +68,7 @@ It sets the content of __Matrix__ `self` to be `alpha * ma + beta * mb`.__Matrix * __void Matrix.mul(Matrix self, Matrix ma, Matrix mb, Element_type alpha, Element_type beta, [string ta, string tb])__ It sets the content of __Matrix__ `self` to be `beta * self + alpha * ma * mb`. `ta` and `tb` is optional, if `ta` is 'T', then `ma` will be transposed, also if `tb` is 'T', `mb` will be transposed. * __void Matrix.add_row(Matrix self, Matrix va, Element_type beta)__ -It sets the content of __Matrix__ `self`(which should be row vector) to be `self + beta * va`. +Add `beta * va` to every row of __Matrix__ `self`. * __void Matrix.fill(Matrix self, Element_type value)__ Fill the content of __Matrix__ `self` to be `value`. * __void Matrix.sigmoid(Matrix self, Matrix ma)__ -- cgit v1.2.3-70-g09d2