aboutsummaryrefslogtreecommitdiff
path: root/src/iemmatrix.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-11 13:05:29 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-11 13:05:29 +0000
commitc74f9041a42d95190b88990e91c2587f2f57a056 (patch)
tree5679242a76c8f8a0fc59fcc044c97c01b6713471 /src/iemmatrix.c
parentf4299cb7e6a5e161aa16670acd33de1ef75fae4d (diff)
split the objects from mtx_binops into several files: mtx_add, mtx_sub, mtx_mul, mtx_pow
mtx_binops is still there for glue functions exposed some important operations on float-arrays via iemmatrix.h (mtx_doInvert, mtx_doTranspose, mtx_doMultiply) as you can easily see, they all start with "mtx_do" and a capital letter; they all return a pointer to (newly allocated) memory with the result svn path=/trunk/externals/iem/iemmatrix/; revision=2947
Diffstat (limited to 'src/iemmatrix.c')
-rw-r--r--src/iemmatrix.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/iemmatrix.c b/src/iemmatrix.c
index 6621e87..0a96299 100644
--- a/src/iemmatrix.c
+++ b/src/iemmatrix.c
@@ -13,7 +13,11 @@
*/
#include "iemmatrix.h"
-void mtx_binops_setup();
+void mtx_mul_setup();
+void mtx_div_setup();
+void mtx_add_setup();
+void mtx_sub_setup();
+void mtx_pow_setup();
void mtx_col_setup();
void mtx_cholesky_setup();
void mtx_diag_setup();
@@ -44,7 +48,11 @@ void mtx_zeros_setup();
void mtx_mul_tilde_setup();
void iemtx_setup(){
- mtx_binops_setup();
+ mtx_mul_setup();
+ mtx_div_setup();
+ mtx_add_setup();
+ mtx_sub_setup();
+ mtx_pow_setup();
mtx_col_setup();
mtx_cholesky_setup();
mtx_diag_setup();