aboutsummaryrefslogtreecommitdiff
path: root/doc/nerv_matrix.md
diff options
context:
space:
mode:
authorcloudygoose <cloudygooseg@gmail.com>2015-06-04 17:03:41 +0800
committercloudygoose <cloudygooseg@gmail.com>2015-06-04 17:03:41 +0800
commitf9e116ef514b27680434eb92d737135edd316875 (patch)
tree2f4765c43e761991f0dd86a4abb90ea1df4628c7 /doc/nerv_matrix.md
parentb53f40144715ef80d26e9a894ddc153e9ebfcc34 (diff)
doc change
Diffstat (limited to 'doc/nerv_matrix.md')
-rw-r--r--doc/nerv_matrix.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/nerv_matrix.md b/doc/nerv_matrix.md
index 1a2778b..22971d2 100644
--- a/doc/nerv_matrix.md
+++ b/doc/nerv_matrix.md
@@ -102,6 +102,12 @@ Return a new __MMatrix__ which is a copy of `self`.
* __string Matrix.\_\_tostring\_\_(Matrix self)__
Returns a string containing values of __Matrix__ `self`.
---
+* __MMatrix MMatrix.load(ChunkData chunk)__
+Return a new __MMatrix__ loaded from the file position in `chunk`.
+* __void MMatrix.save(MMatrix self, ChunkFileHandle chunk)__
+Write `self` to the file position in `chunk`.
+* __void MMatrix.copy_from(MMatrix ma, MMatrix mb,[int b_bgein, int b_end, int a_begin])__
+Copy a part of `mb`(rows of index `[b_begin..b_end)`) to `ma` beginning at row index `a_begin`. If not specified, `b_begin` will be `0`, `b_end` will be `b.nrow`, `a_begin` will be `0`.
##Examples##
* Use `get_dataref_value` to test __Nerv__'s matrix space allocation.