Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update changelog, update demo script
  • Loading branch information
fangq committed Jul 11, 2019
1 parent 177ed52 commit 75ec306
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.txt
Expand Up @@ -2,6 +2,12 @@

== ZMAT 0.8.0 (Mox-the-fox), FangQ <q.fang (a) neu.edu> ==

2019-07-11 [177ed52] move mex to private/, zmat.m can pre/post process, accept nd-array and logical, can restore array size/type
2019-07-11 [0412419] change makefile to compile both mex and library
2019-06-24 [274ce37] compile zmat on octave 5
2019-06-24 [a662701] update in-matlab compile script
2019-06-23 [68f35d0] place functions into a separate unit for libzmat.a
2019-06-03 [14a84a5] update changelog to add lzma support
2019-05-07 [27a8583] make lzma optional in compilation, use static library
2019-05-06 [3d8de61] support lzma compression via easylzma, close #1

Expand Down
10 changes: 10 additions & 0 deletions example/demo_zmat_basic.m
Expand Up @@ -13,3 +13,13 @@
orig=zmat(base64,0,'base64');
char(orig)

% encode ND numeric array
orig=single(rand(5));
[Aencoded,info]=zmat(orig,1,'lzma')

% decode compressed ND array and restore size/type
Adecoded=zmat(Aencoded,info)

all(all(Adecoded==orig))
class(Adecoded)

0 comments on commit 75ec306

Please sign in to comment.