projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/fmat.h: fmat_get_channel to write to an fvec_t
[aubio.git]
/
tests
/
src
/
test-fmat.c
diff --git
a/tests/src/test-fmat.c
b/tests/src/test-fmat.c
index
edb3fcf
..
3de0461
100644
(file)
--- a/
tests/src/test-fmat.c
+++ b/
tests/src/test-fmat.c
@@
-17,6
+17,10
@@
int main ()
mat->data[i][j] = i * 1. + j *.1;
}
}
+ fvec_t channel_onstack;
+ fvec_t *channel = &channel_onstack;
+ fmat_get_channel(mat, 1, channel);
+ fvec_print (channel);
// print out matrix
fmat_print(mat);
// destroy it