/dports/math/gsl/gsl-2.7/movstat/ |
H A D | test_minmax.c | 168 const gsl_movstat_end_t endtype, gsl_rng * rng_p) in test_minmax_sine() argument 173 test_noisy_sine(0.5, x, rng_p); in test_minmax_sine() 183 const gsl_movstat_end_t endtype, gsl_rng * rng_p) in test_minmax_random() argument 188 random_vector(x, rng_p); in test_minmax_random() 196 test_minmax(gsl_rng * rng_p) in test_minmax() argument 208 test_minmax_sine(GSL_DBL_EPSILON, 1000, 5, 7, GSL_MOVSTAT_END_PADZERO, rng_p); in test_minmax() 209 test_minmax_sine(GSL_DBL_EPSILON, 2000, 0, 2, GSL_MOVSTAT_END_PADZERO, rng_p); in test_minmax() 210 test_minmax_sine(GSL_DBL_EPSILON, 500, 3, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_minmax() 211 test_minmax_sine(GSL_DBL_EPSILON, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_minmax() 212 test_minmax_sine(GSL_DBL_EPSILON, 20, 10, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_minmax() [all …]
|
H A D | test_median.c | 86 const gsl_movstat_end_t etype, gsl_rng *rng_p) in test_median_proc() argument 104 random_vector(x, rng_p); in test_median_proc() 136 test_median(gsl_rng * rng_p) in test_median() argument 142 test_median_proc(GSL_DBL_EPSILON, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 143 test_median_proc(GSL_DBL_EPSILON, 1000, 1, 1, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 145 test_median_proc(GSL_DBL_EPSILON, 5000, 8, 8, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 146 test_median_proc(GSL_DBL_EPSILON, 5000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 147 test_median_proc(GSL_DBL_EPSILON, 5000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 154 test_median_proc(GSL_DBL_EPSILON, 1000, 0, 0, GSL_MOVSTAT_END_PADVALUE, rng_p); in test_median() 155 test_median_proc(GSL_DBL_EPSILON, 1000, 1, 1, GSL_MOVSTAT_END_PADVALUE, rng_p); in test_median() [all …]
|
H A D | test_mean.c | 58 const gsl_movstat_end_t etype, gsl_rng * rng_p) in test_mean_proc() argument 70 random_vector(x, rng_p); in test_mean_proc() 102 test_mean(gsl_rng * rng_p) in test_mean() argument 106 test_mean_proc(eps, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 107 test_mean_proc(eps, 1000, 3, 3, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 108 test_mean_proc(eps, 1000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 109 test_mean_proc(eps, 1000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 110 test_mean_proc(eps, 2000, 10, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 112 test_mean_proc(eps, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() 113 test_mean_proc(eps, 20, 10, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mean() [all …]
|
H A D | test_qqr.c | 70 const gsl_movstat_end_t etype, gsl_rng * rng_p) in test_qqr_proc() argument 82 random_vector(x, rng_p); in test_qqr_proc() 114 test_qqr(gsl_rng * rng_p) in test_qqr() argument 118 test_qqr_proc(eps, 0.1, 100, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 119 test_qqr_proc(eps, 0.1, 1000, 3, 3, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 120 test_qqr_proc(eps, 0.2, 1000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 121 test_qqr_proc(eps, 0.3, 1000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 123 test_qqr_proc(eps, 0.4, 2000, 5, 10, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 124 test_qqr_proc(eps, 0.25, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_qqr() 128 test_qqr_proc(eps, 0.1, 100, 0, 0, GSL_MOVSTAT_END_PADVALUE, rng_p); in test_qqr() [all …]
|
H A D | test_sum.c | 69 const gsl_movstat_end_t etype, gsl_rng * rng_p) in test_sum_proc() argument 81 random_vector(x, rng_p); in test_sum_proc() 113 test_sum(gsl_rng * rng_p) in test_sum() argument 115 test_sum_proc(GSL_DBL_EPSILON, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 116 test_sum_proc(GSL_DBL_EPSILON, 1000, 3, 3, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 117 test_sum_proc(GSL_DBL_EPSILON, 1000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 118 test_sum_proc(GSL_DBL_EPSILON, 1000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 119 test_sum_proc(GSL_DBL_EPSILON, 2000, 10, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 121 test_sum_proc(GSL_DBL_EPSILON, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() 122 test_sum_proc(GSL_DBL_EPSILON, 20, 10, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_sum() [all …]
|
H A D | test_Sn.c | 71 const gsl_movstat_end_t etype, gsl_rng *rng_p) in test_Sn_proc() argument 89 random_vector(x, rng_p); in test_Sn_proc() 121 test_Sn(gsl_rng * rng_p) in test_Sn() argument 123 test_Sn_proc(GSL_DBL_EPSILON, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 124 test_Sn_proc(GSL_DBL_EPSILON, 1000, 5, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 125 test_Sn_proc(GSL_DBL_EPSILON, 1000, 5, 2, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 126 test_Sn_proc(GSL_DBL_EPSILON, 1000, 2, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 129 test_Sn_proc(GSL_DBL_EPSILON, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 130 test_Sn_proc(GSL_DBL_EPSILON, 20, 1, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() 131 test_Sn_proc(GSL_DBL_EPSILON, 20, 50, 1, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Sn() [all …]
|
H A D | test_mad.c | 73 const gsl_movstat_end_t etype, gsl_rng *rng_p) in test_mad_proc() argument 94 random_vector(x, rng_p); in test_mad_proc() 144 test_mad(gsl_rng * rng_p) in test_mad() argument 146 test_mad_proc(GSL_DBL_EPSILON, 100, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mad() 147 test_mad_proc(GSL_DBL_EPSILON, 1000, 1, 1, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mad() 148 test_mad_proc(GSL_DBL_EPSILON, 5000, 8, 8, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mad() 149 test_mad_proc(GSL_DBL_EPSILON, 5000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mad() 150 test_mad_proc(GSL_DBL_EPSILON, 5000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_mad() 157 test_mad_proc(GSL_DBL_EPSILON, 100, 0, 0, GSL_MOVSTAT_END_PADVALUE, rng_p); in test_mad() 158 test_mad_proc(GSL_DBL_EPSILON, 1000, 1, 1, GSL_MOVSTAT_END_PADVALUE, rng_p); in test_mad() [all …]
|
H A D | test_Qn.c | 76 const gsl_movstat_end_t etype, gsl_rng *rng_p) in test_Qn_proc() argument 94 random_vector(x, rng_p); in test_Qn_proc() 126 test_Qn(gsl_rng * rng_p) in test_Qn() argument 128 test_Qn_proc(GSL_DBL_EPSILON, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 129 test_Qn_proc(GSL_DBL_EPSILON, 1000, 5, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 130 test_Qn_proc(GSL_DBL_EPSILON, 1000, 5, 2, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 131 test_Qn_proc(GSL_DBL_EPSILON, 1000, 2, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 134 test_Qn_proc(GSL_DBL_EPSILON, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 135 test_Qn_proc(GSL_DBL_EPSILON, 20, 1, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() 136 test_Qn_proc(GSL_DBL_EPSILON, 20, 50, 1, GSL_MOVSTAT_END_PADZERO, rng_p); in test_Qn() [all …]
|
H A D | test_variance.c | 94 const gsl_movstat_end_t etype, gsl_rng * rng_p) in test_variance_proc() argument 109 random_vector(x, rng_p); in test_variance_proc() 168 test_variance(gsl_rng * rng_p) in test_variance() argument 172 test_variance_proc(eps, 1000, 0, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 173 test_variance_proc(eps, 1000, 3, 3, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 174 test_variance_proc(eps, 1000, 0, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 175 test_variance_proc(eps, 1000, 5, 0, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 176 test_variance_proc(eps, 2000, 10, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 178 test_variance_proc(eps, 20, 50, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() 179 test_variance_proc(eps, 20, 10, 50, GSL_MOVSTAT_END_PADZERO, rng_p); in test_variance() [all …]
|
/dports/math/gsl/gsl-2.7/filter/ |
H A D | test_median.c | 52 const gsl_filter_end_t etype, gsl_rng *rng_p) in test_median_proc() argument 61 random_vector(x, rng_p); in test_median_proc() 87 test_median(gsl_rng * rng_p) in test_median() argument 89 test_median_proc(GSL_DBL_EPSILON, 1000, 1, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 90 test_median_proc(GSL_DBL_EPSILON, 1000, 3, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 91 test_median_proc(GSL_DBL_EPSILON, 1000, 5, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 92 test_median_proc(GSL_DBL_EPSILON, 100, 301, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 93 test_median_proc(GSL_DBL_EPSILON, 5000, 17, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 94 test_median_proc(GSL_DBL_EPSILON, 5000, 9, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() 95 test_median_proc(GSL_DBL_EPSILON, 50, 901, GSL_MOVSTAT_END_PADZERO, rng_p); in test_median() [all …]
|
H A D | test_rmedian.c | 136 test_rmedian(gsl_rng * rng_p) in test_rmedian() argument 148 test_rmedian_random(GSL_FILTER_END_PADZERO, 10, 1, rng_p); in test_rmedian() 149 test_rmedian_random(GSL_FILTER_END_PADZERO, 100, 3, rng_p); in test_rmedian() 150 test_rmedian_random(GSL_FILTER_END_PADZERO, 1000, 3, rng_p); in test_rmedian() 151 test_rmedian_random(GSL_FILTER_END_PADZERO, 100, 1001, rng_p); in test_rmedian() 152 test_rmedian_random(GSL_FILTER_END_PADZERO, 5, 7, rng_p); in test_rmedian() 154 test_rmedian_random(GSL_FILTER_END_PADVALUE, 10, 1, rng_p); in test_rmedian() 155 test_rmedian_random(GSL_FILTER_END_PADVALUE, 100, 3, rng_p); in test_rmedian() 156 test_rmedian_random(GSL_FILTER_END_PADVALUE, 1000, 3, rng_p); in test_rmedian() 157 test_rmedian_random(GSL_FILTER_END_PADVALUE, 100, 1001, rng_p); in test_rmedian() [all …]
|
H A D | test_gaussian.c | 107 const gsl_filter_end_t etype, gsl_rng * rng_p) in test_gaussian_proc() argument 115 random_vector(x, rng_p); in test_gaussian_proc()
|
/dports/math/gsl/gsl-2.7/multifit/ |
H A D | test_shaw.c | 124 test_shaw_system_l(gsl_rng *rng_p, const size_t n, const size_t p, in test_shaw_system_l() argument 158 test_random_vector_noise(rng_p, y); in test_shaw_system_l() 224 test_shaw_system_gcv(gsl_rng *rng_p, const size_t n, const size_t p, in test_shaw_system_gcv() argument 257 test_random_vector_noise(rng_p, y); in test_shaw_system_gcv()
|