diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-29 12:07:52 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-29 12:07:52 +0000 |
commit | 767671c12bda649e754092234f9f2b49149b0a59 (patch) | |
tree | ec73117fd1cb8c9f1124de0bd90a4da5a4a3bfec | |
parent | 38542899b3751c47af3dc38323d85794fa6a8901 (diff) |
removed class_sethelpsymbol where possible
svn path=/trunk/externals/iem/iemmatrix/; revision=4803
55 files changed, 58 insertions, 58 deletions
diff --git a/src/mtx_abs.c b/src/mtx_abs.c index 22d701b..eae9f00 100644 --- a/src/mtx_abs.c +++ b/src/mtx_abs.c @@ -74,7 +74,7 @@ void mtx_abs_setup(void) class_addlist (mtx_abs_class, mtx_abs_list); class_addbang (mtx_abs_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_abs_class, gensym("iemmatrix/mtx_abs")); + } void iemtx_abs_setup(void) diff --git a/src/mtx_check.c b/src/mtx_check.c index 5c6140b..d400624 100644 --- a/src/mtx_check.c +++ b/src/mtx_check.c @@ -66,7 +66,7 @@ void mtx_check_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_check_class, matrix_bang); class_addmethod(mtx_check_class, (t_method)mtx_check_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_check_class, gensym("iemmatrix/matrix")); + } diff --git a/src/mtx_cholesky.c b/src/mtx_cholesky.c index 442c654..48f67d8 100644 --- a/src/mtx_cholesky.c +++ b/src/mtx_cholesky.c @@ -106,7 +106,7 @@ void mtx_cholesky_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_cholesky_class, matrix_bang); class_addmethod(mtx_cholesky_class, (t_method)mtx_cholesky_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_cholesky_class, gensym("iemmatrix/mtx_cholesky")); + } void iemtx_cholesky_setup(void){ diff --git a/src/mtx_col.c b/src/mtx_col.c index 21b08b6..7386a9a 100644 --- a/src/mtx_col.c +++ b/src/mtx_col.c @@ -120,7 +120,7 @@ void mtx_col_setup(void) class_addlist (mtx_col_class, mtx_col_list); class_addmethod(mtx_col_class, (t_method)mtx_col_matrix, gensym("matrix"), A_GIMME, 0); class_addmethod(mtx_col_class, (t_method)mtx_col_float, gensym(""), A_FLOAT, 0); - class_sethelpsymbol(mtx_col_class, gensym("iemmatrix/mtx_element")); + } void iemtx_col_setup(void) diff --git a/src/mtx_colon.c b/src/mtx_colon.c index 269422a..5b6a3b9 100644 --- a/src/mtx_colon.c +++ b/src/mtx_colon.c @@ -122,7 +122,7 @@ void mtx_colon_setup (void) 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); - class_sethelpsymbol (mtx_colon_class, gensym("iemmatrix/mtx_colon")); + col_sym = gensym("col"); col_sym2 = gensym("column"); } diff --git a/src/mtx_concat.c b/src/mtx_concat.c index 98647a5..8ce8414 100644 --- a/src/mtx_concat.c +++ b/src/mtx_concat.c @@ -173,7 +173,7 @@ void mtx_concat_setup (void) class_addmethod (mtx_concat_class, (t_method) mTXConcatMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_concat_class, (t_method) mTXConcatMatrix2, gensym(""), A_GIMME,0); class_addmethod (mtx_concat_class, (t_method) mTXSetConcatMode, gensym("mode"), A_DEFSYMBOL,0); - class_sethelpsymbol (mtx_concat_class, gensym("iemmatrix/mtx_concat")); + row_sym = gensym("row"); } diff --git a/src/mtx_conv.c b/src/mtx_conv.c index a34b9d2..e41597a 100644 --- a/src/mtx_conv.c +++ b/src/mtx_conv.c @@ -312,7 +312,7 @@ void mtx_conv_setup (void) class_addbang (mtx_conv_class, (t_method) mTXConvBang); class_addmethod (mtx_conv_class, (t_method) mTXConvMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_conv_class, (t_method) mTXConvKernelMatrix, gensym(""), A_GIMME,0); - class_sethelpsymbol (mtx_conv_class, gensym("iemmatrix/mtx_conv")); + } void iemtx_conv_setup(void){ diff --git a/src/mtx_cos.c b/src/mtx_cos.c index d18ea28..b9aa14b 100644 --- a/src/mtx_cos.c +++ b/src/mtx_cos.c @@ -74,7 +74,7 @@ void mtx_cos_setup(void) class_addlist (mtx_cos_class, mtx_cos_list); class_addbang (mtx_cos_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_cos_class, gensym("iemmatrix/mtx_cos")); + } void iemtx_cos_setup(void) diff --git a/src/mtx_cumsum.c b/src/mtx_cumsum.c index 2cd329e..8e98052 100644 --- a/src/mtx_cumsum.c +++ b/src/mtx_cumsum.c @@ -260,7 +260,7 @@ void mtx_cumsum_setup (void) class_addmethod (mtx_cumsum_class, (t_method) mTXCumsumMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_cumsum_class, (t_method) mTXSetCumsumMode, gensym("mode"), A_DEFSYMBOL,0); class_addmethod (mtx_cumsum_class, (t_method) mTXSetCumsumDirection, gensym("direction"), A_DEFFLOAT,0); - class_sethelpsymbol (mtx_cumsum_class, gensym("iemmatrix/mtx_cumsum")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("column"); diff --git a/src/mtx_dbtorms.c b/src/mtx_dbtorms.c index cb1bfd6..aadb075 100644 --- a/src/mtx_dbtorms.c +++ b/src/mtx_dbtorms.c @@ -83,7 +83,7 @@ void mtx_dbtorms_setup(void) class_addlist (mtx_dbtorms_class, mtx_dbtorms_list); class_addbang (mtx_dbtorms_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_dbtorms_class, gensym("iemmatrix/mtx_dbtorms")); + } void iemtx_dbtorms_setup(void) diff --git a/src/mtx_decay.c b/src/mtx_decay.c index d0a99af..f172231 100644 --- a/src/mtx_decay.c +++ b/src/mtx_decay.c @@ -284,7 +284,7 @@ void mtx_decay_setup (void) class_addmethod (mtx_decay_class, (t_method) mTXSetDecayParameter, gensym("alpha"), A_DEFFLOAT,0); class_addmethod (mtx_decay_class, (t_method) mTXSetDecayMode, gensym("mode"), A_DEFSYMBOL,0); class_addmethod (mtx_decay_class, (t_method) mTXSetDecayDirection, gensym("direction"), A_DEFFLOAT,0); - class_sethelpsymbol (mtx_decay_class, gensym("iemmatrix/mtx_decay")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("column"); diff --git a/src/mtx_diag.c b/src/mtx_diag.c index 74b8888..f3586da 100644 --- a/src/mtx_diag.c +++ b/src/mtx_diag.c @@ -52,7 +52,7 @@ void mtx_diag_setup(void) class_addlist (mtx_diag_class, matrix_diag); class_addbang (mtx_diag_class, matrix_bang); class_addmethod(mtx_diag_class, (t_method)mtx_diag_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_diag_class, gensym("iemmatrix/mtx_trace")); + } void iemtx_diag_setup(void){ mtx_diag_setup(); diff --git a/src/mtx_diegg.c b/src/mtx_diegg.c index 8aa1257..394a3b6 100644 --- a/src/mtx_diegg.c +++ b/src/mtx_diegg.c @@ -49,7 +49,7 @@ void mtx_diegg_setup(void) class_addlist (mtx_diegg_class, matrix_diegg); class_addbang (mtx_diegg_class, matrix_bang); class_addmethod(mtx_diegg_class, (t_method)mtx_diegg_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_diegg_class, gensym("iemmatrix/mtx_special")); + } void iemtx_diegg_setup(void){ mtx_diegg_setup(); diff --git a/src/mtx_diff.c b/src/mtx_diff.c index 28005cb..cdc743c 100644 --- a/src/mtx_diff.c +++ b/src/mtx_diff.c @@ -252,7 +252,7 @@ void mtx_diff_setup (void) class_addmethod (mtx_diff_class, (t_method) mTXdiffMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_diff_class, (t_method) mTXSetdiffMode, gensym("mode"), A_DEFSYMBOL,0); class_addmethod (mtx_diff_class, (t_method) mTXSetdiffDirection, gensym("direction"), A_DEFFLOAT,0); - class_sethelpsymbol (mtx_diff_class, gensym("iemmatrix/mtx_diff")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("column"); diff --git a/src/mtx_distance2.c b/src/mtx_distance2.c index 3ee756a..2f765ba 100644 --- a/src/mtx_distance2.c +++ b/src/mtx_distance2.c @@ -98,7 +98,7 @@ void mtx_distance2_setup(void) class_addmethod(mtx_distance2_class, (t_method)mtx_bin_matrix2, gensym(""), A_GIMME, 0); class_addbang (mtx_distance2_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_distance2_class, gensym("iemmatrix/mtx_distance2")); + } void iemtx_distance2_setup(void) diff --git a/src/mtx_egg.c b/src/mtx_egg.c index 1ca85b7..5067a21 100644 --- a/src/mtx_egg.c +++ b/src/mtx_egg.c @@ -51,7 +51,7 @@ void mtx_egg_setup(void) class_addbang(mtx_egg_class, matrix_bang); class_addmethod(mtx_egg_class, (t_method)matrix_egg, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_egg_class, gensym("iemmatrix/mtx_special")); + } void iemtx_egg_setup(void){ mtx_egg_setup(); diff --git a/src/mtx_element.c b/src/mtx_element.c index 2c1624e..04a4f70 100644 --- a/src/mtx_element.c +++ b/src/mtx_element.c @@ -108,7 +108,7 @@ void mtx_element_setup(void) class_addfloat (mtx_element_class, mtx_element_float); class_addmethod(mtx_element_class, (t_method)mtx_element_matrix, gensym("matrix"), A_GIMME, 0); class_addmethod(mtx_element_class, (t_method)mtx_element_list2, gensym(""), A_FLOAT, A_FLOAT, 0); - class_sethelpsymbol(mtx_element_class, gensym("iemmatrix/mtx_element")); + } diff --git a/src/mtx_exp.c b/src/mtx_exp.c index 1f26edc..65003d5 100644 --- a/src/mtx_exp.c +++ b/src/mtx_exp.c @@ -74,7 +74,7 @@ void mtx_exp_setup(void) class_addlist (mtx_exp_class, mtx_exp_list); class_addbang (mtx_exp_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_exp_class, gensym("iemmatrix/mtx_exp")); + } void iemtx_exp_setup(void) diff --git a/src/mtx_eye.c b/src/mtx_eye.c index 10c79ff..9a87336 100644 --- a/src/mtx_eye.c +++ b/src/mtx_eye.c @@ -53,7 +53,7 @@ void mtx_eye_setup(void) class_addbang(mtx_eye_class, matrix_bang); class_addmethod(mtx_eye_class, (t_method)matrix_eye, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_eye_class, gensym("iemmatrix/mtx_special")); + } void iemtx_eye_setup(void){ mtx_eye_setup(); diff --git a/src/mtx_fill.c b/src/mtx_fill.c index d842c9e..3ecdb08 100644 --- a/src/mtx_fill.c +++ b/src/mtx_fill.c @@ -349,7 +349,7 @@ void mtx_fill_setup (void) class_addmethod (mtx_fill_class, (t_method) mTXBigMatrix, gensym("fill_mtx"), A_GIMME,0); class_addmethod (mtx_fill_class, (t_method) mTXFillIndexMatrix, gensym("index"), A_GIMME,0); class_addfloat (mtx_fill_class, (t_method) mTXFillScalar); - class_sethelpsymbol (mtx_fill_class, gensym("iemmatrix/mtx_fill")); + } void iemtx_fill_setup(void){ diff --git a/src/mtx_find.c b/src/mtx_find.c index face3a6..8ff2796 100644 --- a/src/mtx_find.c +++ b/src/mtx_find.c @@ -342,7 +342,7 @@ void mtx_find_setup (void) // class_addmethod (mtx_find_class, (t_method) mTXSetFindDimension, gensym("dimension"), A_DEFFLOAT,0); class_addmethod (mtx_find_class, (t_method) mTXSetFindMode, gensym("mode"), A_DEFSYMBOL,0); class_addmethod (mtx_find_class, (t_method) mTXSetFindDirection, gensym("direction"), A_DEFFLOAT,0); - class_sethelpsymbol (mtx_find_class, gensym("iemmatrix/mtx_find")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("columns"); diff --git a/src/mtx_gauss.c b/src/mtx_gauss.c index c2a627c..8d64cf6 100644 --- a/src/mtx_gauss.c +++ b/src/mtx_gauss.c @@ -114,7 +114,7 @@ void mtx_gauss_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_gauss_class, matrix_bang); class_addmethod(mtx_gauss_class, (t_method)mtx_gauss_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_gauss_class, gensym("iemmatrix/mtx_gauss")); + } void iemtx_gauss_setup(void){ diff --git a/src/mtx_index.c b/src/mtx_index.c index a9eda02..26b1fc2 100644 --- a/src/mtx_index.c +++ b/src/mtx_index.c @@ -208,7 +208,7 @@ void mtx_index_setup (void) class_addbang (mtx_index_class, (t_method) mTXIndexBang); class_addmethod (mtx_index_class, (t_method) mTXIndexMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_index_class, (t_method) mTXIndexRightMatrix, gensym(""), A_GIMME,0); - class_sethelpsymbol (mtx_index_class, gensym("iemmatrix/mtx_index")); + } void iemtx_index_setup(void){ diff --git a/src/mtx_int.c b/src/mtx_int.c index 516a25d..d771f1a 100644 --- a/src/mtx_int.c +++ b/src/mtx_int.c @@ -74,7 +74,7 @@ void mtx_int_setup(void) class_addlist (mtx_int_class, mtx_int_list); class_addbang (mtx_int_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_int_class, gensym("iemmatrix/mtx_int")); + } void iemtx_int_setup(void) diff --git a/src/mtx_inverse.c b/src/mtx_inverse.c index f09c7b0..242c250 100644 --- a/src/mtx_inverse.c +++ b/src/mtx_inverse.c @@ -158,7 +158,7 @@ void mtx_inverse_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_inverse_class, matrix_bang); class_addmethod(mtx_inverse_class, (t_method)mtx_inverse_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_inverse_class, gensym("iemmatrix/mtx_inverse")); + } void iemtx_inverse_setup(void){ diff --git a/src/mtx_log.c b/src/mtx_log.c index f9ca96e..c5819fc 100644 --- a/src/mtx_log.c +++ b/src/mtx_log.c @@ -74,7 +74,7 @@ void mtx_log_setup(void) class_addlist (mtx_log_class, mtx_log_list); class_addbang (mtx_log_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_log_class, gensym("iemmatrix/mtx_log")); + } void iemtx_log_setup(void) diff --git a/src/mtx_matrix.c b/src/mtx_matrix.c index 58556e8..4d55fe2 100644 --- a/src/mtx_matrix.c +++ b/src/mtx_matrix.c @@ -594,7 +594,7 @@ void matrix_setup(void) class_addmethod (matrix_class, (t_method)matrix_write, gensym("write"), A_SYMBOL, 0); class_addmethod (matrix_class, (t_method)matrix_read , gensym("read") , A_SYMBOL, 0); - class_sethelpsymbol(matrix_class, gensym("iemmatrix/matrix")); + } void iemtx_matrix_setup(void){ diff --git a/src/mtx_max2.c b/src/mtx_max2.c index de25479..21aa455 100644 --- a/src/mtx_max2.c +++ b/src/mtx_max2.c @@ -147,8 +147,8 @@ void mtx_max2_setup(void) class_addlist (mtx_max2scalar_class, mtx_max2scalar_list); class_addbang (mtx_max2scalar_class, mtx_binscalar_bang); - class_sethelpsymbol(mtx_max2_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_max2scalar_class, gensym("iemmatrix/mtx_binops")); + + } void iemtx_max2_setup(void) diff --git a/src/mtx_mean.c b/src/mtx_mean.c index 2a65aed..77ecc61 100644 --- a/src/mtx_mean.c +++ b/src/mtx_mean.c @@ -52,7 +52,7 @@ void mtx_mean_setup(void) mtx_mean_class = class_new(gensym("mtx_mean"), (t_newmethod)mtx_mean_new, (t_method)matrix_free, sizeof(t_matrix), 0, 0, 0); class_addmethod(mtx_mean_class, (t_method)mtx_mean_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_mean_class, gensym("iemmatrix/mtx_mean")); + } void iemtx_mean_setup(void) diff --git a/src/mtx_min2.c b/src/mtx_min2.c index d755ffc..8fc17e1 100644 --- a/src/mtx_min2.c +++ b/src/mtx_min2.c @@ -147,8 +147,8 @@ void mtx_min2_setup(void) class_addlist (mtx_min2scalar_class, mtx_min2scalar_list); class_addbang (mtx_min2scalar_class, mtx_binscalar_bang); - class_sethelpsymbol(mtx_min2_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_min2scalar_class, gensym("iemmatrix/mtx_binops")); + + } void iemtx_min2_setup(void) diff --git a/src/mtx_minmax.c b/src/mtx_minmax.c index a806fbe..f4345b9 100644 --- a/src/mtx_minmax.c +++ b/src/mtx_minmax.c @@ -206,7 +206,7 @@ void mtx_minmax_setup (void) class_addmethod (mtx_minmax_class, (t_method) mTXMinMaxMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_minmax_class, (t_method) mTXSetMinMaxMode, gensym("mode"), A_DEFSYMBOL ,0); - class_sethelpsymbol (mtx_minmax_class, gensym("iemmatrix/mtx_minmax")); + row_sym = gensym("row"); col_sym = gensym("col"); diff --git a/src/mtx_not.c b/src/mtx_not.c index 1f04209..153bced 100644 --- a/src/mtx_not.c +++ b/src/mtx_not.c @@ -78,7 +78,7 @@ void mtx_not_setup(void) class_addlist (mtx_not_class, mtx_not_list); class_addbang (mtx_not_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_not_class, gensym("iemmatrix/mtx_not")); + } void iemtx_not_setup(void) diff --git a/src/mtx_ones.c b/src/mtx_ones.c index 2a5fe60..dbd8f12 100644 --- a/src/mtx_ones.c +++ b/src/mtx_ones.c @@ -49,7 +49,7 @@ void mtx_ones_setup(void) class_addbang(mtx_ones_class, matrix_bang); class_addmethod(mtx_ones_class, (t_method)matrix_ones, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_ones_class, gensym("iemmatrix/mtx_special")); + } void iemtx_ones_setup(void){ mtx_ones_setup(); diff --git a/src/mtx_pivot.c b/src/mtx_pivot.c index 3bc5133..f03e289 100644 --- a/src/mtx_pivot.c +++ b/src/mtx_pivot.c @@ -180,7 +180,7 @@ void mtx_pivot_setup(void) A_DEFFLOAT, 0); class_addmethod(mtx_pivot_class, (t_method)mtx_pivot_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_pivot_class, gensym("iemmatrix/mtx_transpose")); + } void iemtx_pivot_setup(void) diff --git a/src/mtx_pow.c b/src/mtx_pow.c index 639b7d0..2451138 100644 --- a/src/mtx_pow.c +++ b/src/mtx_pow.c @@ -145,8 +145,8 @@ void mtx_pow_setup(void) class_addlist (mtx_powscalar_class, mtx_powscalar_list); class_addbang (mtx_powscalar_class, mtx_binscalar_bang); - class_sethelpsymbol(mtx_powelement_class, gensym("iemmatrix/mtx_binops")); - class_sethelpsymbol(mtx_powscalar_class, gensym("iemmatrix/mtx_binops")); + class_sethelpsymbol(mtx_powelement_class, gensym("mtx_pow-help")); + class_sethelpsymbol(mtx_powscalar_class, gensym("mtx_pow-help")); } void iemtx_pow_setup(void) diff --git a/src/mtx_print.c b/src/mtx_print.c index 608a5cd..70be980 100644 --- a/src/mtx_print.c +++ b/src/mtx_print.c @@ -54,7 +54,7 @@ void mtx_print_setup(void) mtx_print_class = class_new(gensym("mtx_print"), (t_newmethod)mtx_print_new, 0, sizeof(t_mtxprint), 0, A_DEFSYM, 0); class_addmethod (mtx_print_class, (t_method)mtx_print, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_print_class, gensym("iemmatrix/matrix")); + } void iemtx_print_setup(void){ diff --git a/src/mtx_prod.c b/src/mtx_prod.c index 02f9d25..15db307 100644 --- a/src/mtx_prod.c +++ b/src/mtx_prod.c @@ -65,7 +65,7 @@ void mtx_prod_setup(void) class_addlist (mtx_prod_class, mtx_prod_list); // class_addbang (mtx_prod_class, matrix_bang); class_addmethod(mtx_prod_class, (t_method)mtx_prod_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_prod_class, gensym("iemmatrix/mtx_prod")); + } void iemtx_prod_setup(void){ mtx_prod_setup(); diff --git a/src/mtx_rand.c b/src/mtx_rand.c index efb199d..6956376 100644 --- a/src/mtx_rand.c +++ b/src/mtx_rand.c @@ -84,7 +84,7 @@ void mtx_rand_setup(void) class_addbang (mtx_rand_class, mtx_rand_bang); class_addmethod(mtx_rand_class, (t_method)mtx_rand_seed, gensym("seed"), A_FLOAT, 0); - class_sethelpsymbol(mtx_rand_class, gensym("iemmatrix/mtx_rand")); + } void iemtx_rand_setup(void){ diff --git a/src/mtx_repmat.c b/src/mtx_repmat.c index 9b92cd8..5424baf 100644 --- a/src/mtx_repmat.c +++ b/src/mtx_repmat.c @@ -152,7 +152,7 @@ void mtx_repmat_setup (void) class_addbang (mtx_repmat_class, (t_method) mTXRepmatBang); class_addmethod (mtx_repmat_class, (t_method) mTXRepmatMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_repmat_class, (t_method) mTXRepmatList, gensym(""), A_GIMME,0); - class_sethelpsymbol (mtx_repmat_class, gensym("iemmatrix/mtx_repmat")); + } void iemtx_repmat_setup(void){ diff --git a/src/mtx_resize.c b/src/mtx_resize.c index 3678b96..5c2323c 100644 --- a/src/mtx_resize.c +++ b/src/mtx_resize.c @@ -95,7 +95,7 @@ void mtx_resize_setup(void) 0, sizeof(t_matrix), 0, A_GIMME, 0); class_addmethod (mtx_resize_class, (t_method)mtx_resize_matrix, gensym("matrix"), A_GIMME, 0); class_addmethod (mtx_resize_class, (t_method)mtx_resize_list2, gensym(""), A_GIMME, 0); - class_sethelpsymbol(mtx_resize_class, gensym("iemmatrix/mtx_size")); + } void iemtx_resize_setup(void){ mtx_resize_setup(); diff --git a/src/mtx_reverse.c b/src/mtx_reverse.c index e08a48e..f5b70cf 100644 --- a/src/mtx_reverse.c +++ b/src/mtx_reverse.c @@ -198,7 +198,7 @@ void mtx_reverse_setup (void) class_addmethod (mtx_reverse_class, (t_method) mTXreverseMatrix, gensym("matrix"), A_GIMME,0); // class_addmethod (mtx_reverse_class, (t_method) mTXSetreverseDimension, gensym("dimension"), A_DEFFLOAT,0); class_addmethod (mtx_reverse_class, (t_method) mTXSetReverseMode, gensym("mode"), A_DEFSYMBOL,0); - class_sethelpsymbol (mtx_reverse_class, gensym("iemmatrix/mtx_reverse")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("column"); diff --git a/src/mtx_rmstodb.c b/src/mtx_rmstodb.c index 672858d..f644d68 100644 --- a/src/mtx_rmstodb.c +++ b/src/mtx_rmstodb.c @@ -79,7 +79,7 @@ void mtx_rmstodb_setup(void) class_addlist (mtx_rmstodb_class, mtx_rmstodb_list); class_addbang (mtx_rmstodb_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_rmstodb_class, gensym("iemmatrix/mtx_rmstodb")); + } void iemtx_rmstodb_setup(void) diff --git a/src/mtx_roll.c b/src/mtx_roll.c index d35630a..80aacdd 100644 --- a/src/mtx_roll.c +++ b/src/mtx_roll.c @@ -66,7 +66,7 @@ void mtx_roll_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_roll_class, matrix_bang); class_addmethod(mtx_roll_class, (t_method)mtx_roll_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_roll_class, gensym("iemmatrix/mtx_transpose")); + } void iemtx_roll_setup(void){ mtx_roll_setup(); diff --git a/src/mtx_row.c b/src/mtx_row.c index 0b8daad..db2a280 100644 --- a/src/mtx_row.c +++ b/src/mtx_row.c @@ -110,7 +110,7 @@ void mtx_row_setup(void) class_addlist (mtx_row_class, mtx_row_list); class_addmethod(mtx_row_class, (t_method)mtx_row_matrix, gensym("matrix"), A_GIMME, 0); class_addmethod(mtx_row_class, (t_method)mtx_row_float, gensym(""), A_FLOAT, 0); - class_sethelpsymbol(mtx_row_class, gensym("iemmatrix/mtx_element")); + } diff --git a/src/mtx_rowrfft.c b/src/mtx_rowrfft.c index 55e67d7..b8a8f0c 100644 --- a/src/mtx_rowrfft.c +++ b/src/mtx_rowrfft.c @@ -182,7 +182,7 @@ void mtx_rowrfft_setup (void) CLASS_DEFAULT, A_GIMME, 0); class_addbang (mtx_rowrfft_class, (t_method) mTXrowrfftBang); class_addmethod (mtx_rowrfft_class, (t_method) mTXrowrfftMatrix, gensym("matrix"), A_GIMME,0); - class_sethelpsymbol (mtx_rowrfft_class, gensym("iemmatrix/mtx_rowrfft")); + } void iemtx_rowrfft_setup(void){ diff --git a/src/mtx_rowrifft.c b/src/mtx_rowrifft.c index 223600c..9478f03 100644 --- a/src/mtx_rowrifft.c +++ b/src/mtx_rowrifft.c @@ -217,7 +217,7 @@ static void mtx_rowrifft_setup (void) class_addbang (mtx_rowrifft_class, (t_method) mTXrowrifftBang); class_addmethod (mtx_rowrifft_class, (t_method) mTXrowrifftMatrixHot, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_rowrifft_class, (t_method) mTXrowrifftMatrixCold, gensym(""), A_GIMME,0); - class_sethelpsymbol (mtx_rowrifft_class, gensym("iemmatrix/mtx_rowrfft")); + } void iemtx_rowrifft_setup(void){ diff --git a/src/mtx_scroll.c b/src/mtx_scroll.c index 5f5bc4a..1f7ad56 100644 --- a/src/mtx_scroll.c +++ b/src/mtx_scroll.c @@ -52,7 +52,7 @@ void mtx_scroll_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_scroll_class, matrix_bang); class_addmethod(mtx_scroll_class, (t_method)mtx_scroll_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_scroll_class, gensym("iemmatrix/mtx_transpose")); + } void iemtx_scroll_setup(void){ mtx_scroll_setup(); diff --git a/src/mtx_sin.c b/src/mtx_sin.c index a897532..c22541b 100644 --- a/src/mtx_sin.c +++ b/src/mtx_sin.c @@ -74,7 +74,7 @@ void mtx_sin_setup(void) class_addlist (mtx_sin_class, mtx_sin_list); class_addbang (mtx_sin_class, mtx_binmtx_bang); - class_sethelpsymbol(mtx_sin_class, gensym("iemmatrix/mtx_sin")); + } void iemtx_sin_setup(void) diff --git a/src/mtx_size.c b/src/mtx_size.c index e74b82d..4395655 100644 --- a/src/mtx_size.c +++ b/src/mtx_size.c @@ -46,7 +46,7 @@ void mtx_size_setup(void) mtx_size_class = class_new(gensym("mtx_size"), (t_newmethod)mtx_size_new, 0, sizeof(t_mtx_size), 0, A_GIMME, 0); class_addmethod(mtx_size_class, (t_method)mtx_size_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_size_class, gensym("iemmatrix/mtx_size")); + } void iemtx_size_setup(void){ diff --git a/src/mtx_slice.c b/src/mtx_slice.c index 58e6db2..2ccbb4b 100644 --- a/src/mtx_slice.c +++ b/src/mtx_slice.c @@ -206,7 +206,7 @@ void mtx_slice_setup (void) class_addbang (mtx_slice_class, (t_method) mTXSliceBang); class_addmethod (mtx_slice_class, (t_method) mTXSliceMatrix, gensym("matrix"), A_GIMME,0); class_addmethod (mtx_slice_class, (t_method) mTXSliceIndexList, gensym(""), A_GIMME,0); - class_sethelpsymbol (mtx_slice_class, gensym("iemmatrix/mtx_slice")); + } void iemtx_slice_setup(void){ diff --git a/src/mtx_sort.c b/src/mtx_sort.c index e745ae5..f5d03dd 100644 --- a/src/mtx_sort.c +++ b/src/mtx_sort.c @@ -358,7 +358,7 @@ void mtx_sort_setup (void) class_addmethod (mtx_sort_class, (t_method) mTXSetSortMode, gensym("mode"), A_DEFSYMBOL,0); // class_addmethod (mtx_sort_class, (t_method) mTXSetSortDimension, gensym("dimension"), A_DEFFLOAT,0); class_addmethod (mtx_sort_class, (t_method) mTXSetSortDirection, gensym("direction"), A_DEFFLOAT,0); - class_sethelpsymbol (mtx_sort_class, gensym("iemmatrix/mtx_sort")); + row_sym = gensym("row"); col_sym = gensym("col"); col_sym2 = gensym("column"); diff --git a/src/mtx_sum.c b/src/mtx_sum.c index d19db4f..ebc3161 100644 --- a/src/mtx_sum.c +++ b/src/mtx_sum.c @@ -65,7 +65,7 @@ void mtx_sum_setup(void) class_addlist (mtx_sum_class, mtx_sum_list); // class_addbang (mtx_sum_class, matrix_bang); class_addmethod(mtx_sum_class, (t_method)mtx_sum_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_sum_class, gensym("iemmatrix/mtx_sum")); + } void iemtx_sum_setup(void){ mtx_sum_setup(); diff --git a/src/mtx_trace.c b/src/mtx_trace.c index ce70be2..99e5e07 100644 --- a/src/mtx_trace.c +++ b/src/mtx_trace.c @@ -48,7 +48,7 @@ void mtx_trace_setup(void) 0, sizeof(t_mtx_trace), 0, A_GIMME, 0); class_addbang (mtx_trace_class, mtx_trace_bang); class_addmethod(mtx_trace_class, (t_method)mtx_trace_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_trace_class, gensym("iemmatrix/mtx_trace")); + } void iemtx_trace_setup(void) diff --git a/src/mtx_transpose.c b/src/mtx_transpose.c index ecc7722..c2ffc4e 100644 --- a/src/mtx_transpose.c +++ b/src/mtx_transpose.c @@ -73,7 +73,7 @@ void mtx_transpose_setup(void) (t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0); class_addbang (mtx_transpose_class, matrix_bang); class_addmethod(mtx_transpose_class, (t_method)mtx_transpose_matrix, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_transpose_class, gensym("iemmatrix/mtx_transpose")); + } void iemtx_transpose_setup(void){ diff --git a/src/mtx_zeros.c b/src/mtx_zeros.c index 9311c9c..d5633a7 100644 --- a/src/mtx_zeros.c +++ b/src/mtx_zeros.c @@ -49,7 +49,7 @@ void mtx_zeros_setup(void) class_addbang(mtx_zeros_class, matrix_bang); class_addmethod(mtx_zeros_class, (t_method)matrix_zeros, gensym("matrix"), A_GIMME, 0); - class_sethelpsymbol(mtx_zeros_class, gensym("iemmatrix/mtx_special")); + } void iemtx_zeros_setup(void){ mtx_zeros_setup(); |