Update of /cvsroot/pure-data/externals/iem/iemmatrix/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16769/src
Modified Files: mtx_bspline.c mtx_colon.c Log Message: removed unused variables
Index: mtx_bspline.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/mtx_bspline.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_bspline.c 9 Apr 2006 20:50:20 -0000 1.1 --- mtx_bspline.c 6 Jun 2006 09:55:22 -0000 1.2 *************** *** 17,24 **** mtx_bspline: this is only in the iemmatrix library since i have to make sure that there is an x-value ! for each y-value; this however enforces that for each point we have to define a point in all dimensions; */
- /* mtx_bspline */ static t_class *mtx_bspline_class;
--- 17,28 ---- mtx_bspline: this is only in the iemmatrix library since i have to make sure that there is an x-value ! for each y-value; this however enforces that for each point we have to define a point ! in all dimensions; ! ! think: should we split this into 2 objects? ! - one for calculating the coefficients of the polynomial function for the bspline ! - another for calculating the value of a piecewise polyfuns */
static t_class *mtx_bspline_class;
*************** *** 81,89 **** int row=0; int col=0; - t_atom *m = argv+2;
t_matrixfloat *x, **y, **u, **p, *w, *d, *fp; t_matrixfloat*dummy; ! int i,j,n; int N;
--- 85,92 ---- int row=0; int col=0;
t_matrixfloat *x, **y, **u, **p, *w, *d, *fp; t_matrixfloat*dummy; ! int i,j; int N;
*************** *** 152,160 **** p[j][i] = (w[i]-u[j][i]*p[j][i+1])/d[i]; } - }
- - static void mtx_bspline_list(t_mtx_spline *x, t_symbol *s, int argc, t_atom *argv) { --- 155,160 ---- *************** *** 163,167 **** static void mtx_bspline_float(t_mtx_spline *X, t_float f) { - t_matrixfloat t, t3, t3i; int i=0, j=0; int dim=X->x_dimension; --- 163,166 ----
Index: mtx_colon.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/mtx_colon.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mtx_colon.c 29 Mar 2006 12:07:52 -0000 1.3 --- mtx_colon.c 6 Jun 2006 09:55:22 -0000 1.4 *************** *** 120,129 **** CLASS_DEFAULT, A_GIMME, 0); class_addbang (mtx_colon_class, (t_method) mTXColonBang); ! class_addmethod (mtx_colon_class, (t_method) mTXSetColonMode, gensym("mode"), A_DEFSYMBOL, 0); class_addlist (mtx_colon_class, (t_method) mTXColonList); class_addcreator ((t_newmethod) newMTXColon, gensym("mtx_:"), A_GIMME, 0);
- col_sym = gensym("col"); - col_sym2 = gensym("column"); }
--- 120,127 ---- CLASS_DEFAULT, A_GIMME, 0); class_addbang (mtx_colon_class, (t_method) mTXColonBang); ! class_addmethod (mtx_colon_class, (t_method) mTXSetColonMode, gensym("mode"), A_SYMBOL, 0); class_addlist (mtx_colon_class, (t_method) mTXColonList); class_addcreator ((t_newmethod) newMTXColon, gensym("mtx_:"), A_GIMME, 0);
}