aboutsummaryrefslogtreecommitdiff
path: root/doc/nerv_matrix.md
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-06-03 10:29:38 +0800
committercloudygoose <[email protected]>2015-06-03 10:29:38 +0800
commit6984519cbb659aac0b0b323de93d5a90aa2049b7 (patch)
tree44562511871986427818e6965c6f8a99250d9494 /doc/nerv_matrix.md
parent64ba1ff100f8f417f92b47a57cbffca4343b4150 (diff)
...
Diffstat (limited to 'doc/nerv_matrix.md')
-rw-r--r--doc/nerv_matrix.md2
1 files changed, 1 insertions, 1 deletions
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)__