aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iemmatrix.c10
-rw-r--r--src/iemmatrix.h26
-rw-r--r--src/mtx_binops.c8
-rw-r--r--src/mtx_check.c8
-rw-r--r--src/mtx_col.c8
-rw-r--r--src/mtx_diag.c8
-rw-r--r--src/mtx_diegg.c8
-rw-r--r--src/mtx_egg.c8
-rw-r--r--src/mtx_element.c8
-rw-r--r--src/mtx_eye.c8
-rw-r--r--src/mtx_inverse.c8
-rw-r--r--src/mtx_matrix.c8
-rw-r--r--src/mtx_mean.c8
-rw-r--r--src/mtx_ones.c8
-rw-r--r--src/mtx_pivot.c12
-rw-r--r--src/mtx_print.c8
-rw-r--r--src/mtx_rand.c8
-rw-r--r--src/mtx_resize.c8
-rw-r--r--src/mtx_roll.c8
-rw-r--r--src/mtx_row.c8
-rw-r--r--src/mtx_scroll.c8
-rw-r--r--src/mtx_size.c8
-rw-r--r--src/mtx_tilde.c8
-rw-r--r--src/mtx_trace.c8
-rw-r--r--src/mtx_transpose.c8
-rw-r--r--src/mtx_zeros.c8
26 files changed, 118 insertions, 114 deletions
diff --git a/src/iemmatrix.c b/src/iemmatrix.c
index 40aa853..29e28d8 100644
--- a/src/iemmatrix.c
+++ b/src/iemmatrix.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
@@ -28,6 +28,7 @@ void mtx_check_setup();
void mtx_print_setup();
void mtx_ones_setup();
void mtx_pivot_setup();
+void mtx_semipivot_setup();
void mtx_rand_setup();
void mtx_resize_setup();
void mtx_roll_setup();
@@ -55,6 +56,7 @@ void iemtx_setup(){
mtx_print_setup();
mtx_ones_setup();
mtx_pivot_setup();
+ mtx_semipivot_setup();
mtx_rand_setup();
mtx_resize_setup();
mtx_roll_setup();
diff --git a/src/iemmatrix.h b/src/iemmatrix.h
index fde08ea..bd0922c 100644
--- a/src/iemmatrix.h
+++ b/src/iemmatrix.h
@@ -4,20 +4,24 @@
/* objects for simple matrix operations */
/* ************************************* */
-/* IEMMATRIX is a runtime-library for miller s. puckette's realtime-computermusic-software "pure data"
+/*
+ * IEMMATRIX is a runtime-library
+ * for miller s. puckette's realtime-computermusic-software "pure data"
* therefore you NEED "pure data" to make any use of the IEMMATRIX external
* (except if you want to use the code for other things)
- * download "pure data" at
*
- * http://pd.iem.at
- * ftp://iem.at/pd
+ * you can get "pure data" at
+ * http://pd.iem.at
+ * ftp://iem.at/pd
+ */
+
+/*
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
+ *
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
- *
- * IEMMATRIX is published under the Lesser GNU GeneralPublicLicense (LGPL),
- * that must be shipped with IEMMATRIX.
- * if you are using Debian GNU/linux,
- * the lesser GNU-GPL can be found under /usr/share/common-licenses/LGPL
- * if you still haven't found a copy of the lesser GNU-GPL, have a look at http://www.gnu.org
*
* "pure data" has it's own license, that comes shipped with "pure data".
*
@@ -116,6 +120,4 @@ void mtx_binmtx_free(t_mtx_binmtx *x);
void mtx_binscalar_bang(t_mtx_binscalar *x);
void mtx_binscalar_free(t_mtx_binscalar *x);
-
-
#endif
diff --git a/src/mtx_binops.c b/src/mtx_binops.c
index f21637a..947ff59 100644
--- a/src/mtx_binops.c
+++ b/src/mtx_binops.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_check.c b/src/mtx_check.c
index 0e2eda1..5c6140b 100644
--- a/src/mtx_check.c
+++ b/src/mtx_check.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_col.c b/src/mtx_col.c
index 1ee3dbb..a8c1a12 100644
--- a/src/mtx_col.c
+++ b/src/mtx_col.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_diag.c b/src/mtx_diag.c
index 65acff2..db4d12c 100644
--- a/src/mtx_diag.c
+++ b/src/mtx_diag.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_diegg.c b/src/mtx_diegg.c
index 658471f..8aa1257 100644
--- a/src/mtx_diegg.c
+++ b/src/mtx_diegg.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_egg.c b/src/mtx_egg.c
index a44894c..1ca85b7 100644
--- a/src/mtx_egg.c
+++ b/src/mtx_egg.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_element.c b/src/mtx_element.c
index 10d9664..05e541b 100644
--- a/src/mtx_element.c
+++ b/src/mtx_element.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_eye.c b/src/mtx_eye.c
index e416ac4..10c79ff 100644
--- a/src/mtx_eye.c
+++ b/src/mtx_eye.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_inverse.c b/src/mtx_inverse.c
index 400f734..c0c4019 100644
--- a/src/mtx_inverse.c
+++ b/src/mtx_inverse.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_matrix.c b/src/mtx_matrix.c
index 98df0d2..78fd30a 100644
--- a/src/mtx_matrix.c
+++ b/src/mtx_matrix.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
diff --git a/src/mtx_mean.c b/src/mtx_mean.c
index bb0d870..2a65aed 100644
--- a/src/mtx_mean.c
+++ b/src/mtx_mean.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_ones.c b/src/mtx_ones.c
index c3dccf5..2a5fe60 100644
--- a/src/mtx_ones.c
+++ b/src/mtx_ones.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_pivot.c b/src/mtx_pivot.c
index 8534021..3bc5133 100644
--- a/src/mtx_pivot.c
+++ b/src/mtx_pivot.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
@@ -80,7 +80,7 @@ static void mtx_pivot_matrix(t_mtx_pivot *x, t_symbol *s, int argc, t_atom *argv
for (k=0; k<min_rowcol; k++){
// 1. find max_element
- t_matrixfloat tmp = fabsf(buffer[k*(1+col)]);
+ t_float tmp = fabsf(buffer[k*(1+col)]);
pivot_row = pivot_col = k;
for(i=k; i<row; i++){
@@ -88,7 +88,7 @@ static void mtx_pivot_matrix(t_mtx_pivot *x, t_symbol *s, int argc, t_atom *argv
j=col-k;
while(j--){
- t_matrixfloat f = fabsf(*buf++);
+ t_float f = fabsf(*buf++);
if ((ascending && f>tmp) || (!ascending && f<tmp)) {
tmp=f;
pivot_row = i;
diff --git a/src/mtx_print.c b/src/mtx_print.c
index 664beca..608a5cd 100644
--- a/src/mtx_print.c
+++ b/src/mtx_print.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_rand.c b/src/mtx_rand.c
index dee481a..15da7b0 100644
--- a/src/mtx_rand.c
+++ b/src/mtx_rand.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_resize.c b/src/mtx_resize.c
index edc2e17..65c76fe 100644
--- a/src/mtx_resize.c
+++ b/src/mtx_resize.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_roll.c b/src/mtx_roll.c
index a437b06..d35630a 100644
--- a/src/mtx_roll.c
+++ b/src/mtx_roll.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_row.c b/src/mtx_row.c
index e88aae8..33a78d1 100644
--- a/src/mtx_row.c
+++ b/src/mtx_row.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_scroll.c b/src/mtx_scroll.c
index 5b4fffa..5f5bc4a 100644
--- a/src/mtx_scroll.c
+++ b/src/mtx_scroll.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_size.c b/src/mtx_size.c
index 43dbba1..e74b82d 100644
--- a/src/mtx_size.c
+++ b/src/mtx_size.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_tilde.c b/src/mtx_tilde.c
index 88dc5f9..ec6ed05 100644
--- a/src/mtx_tilde.c
+++ b/src/mtx_tilde.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_trace.c b/src/mtx_trace.c
index ba5b3db..ce70be2 100644
--- a/src/mtx_trace.c
+++ b/src/mtx_trace.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_transpose.c b/src/mtx_transpose.c
index 7034cae..5e0771c 100644
--- a/src/mtx_transpose.c
+++ b/src/mtx_transpose.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
diff --git a/src/mtx_zeros.c b/src/mtx_zeros.c
index a340967..7e96e07 100644
--- a/src/mtx_zeros.c
+++ b/src/mtx_zeros.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"