| line |
true |
false |
branch |
|
46
|
0 |
28 |
if (!__privtrans->broadcast.incs) return PDL->make_error(PDL_EUSERERROR, "Error in vsearch_bin_exclusive:" "broadcast.incs NULL"); |
|
91
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
|
0 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Float,F,PDL_Indx,N) |
|
92
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
0 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
93
|
0 |
0 |
{/* Open n */ PDL_EXPAND2(register PDL_Indx n=0, __n_stop=(__n_size)); for(; n<__n_stop; n+=1) { |
|
94
|
0 |
0 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,F,vals_badval_isnan) ) { |
|
|
0 |
0 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,F,vals_badval_isnan) ) { |
|
105
|
0 |
0 |
while (low <= high ) { |
|
107
|
0 |
0 |
if ( ( (x_datap)[0+(__inc_x_n*(mid))] < value ) == up ) low = mid + 1; |
|
110
|
0 |
0 |
(idx_datap)[0] = up ? high: low; |
|
119
|
0 |
0 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
|
0 |
0 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
122
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
5 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
2 |
3 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
5 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
5 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
|
0 |
5 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_Double,D,PDL_Indx,N) |
|
123
|
0 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
1123 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
5 |
5 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
124
|
802729 |
1123 |
{/* Open n */ PDL_EXPAND2(register PDL_Indx n=0, __n_stop=(__n_size)); for(; n<__n_stop; n+=1) { |
|
125
|
0 |
802729 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,D,vals_badval_isnan) ) { |
|
|
802729 |
0 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,D,vals_badval_isnan) ) { |
|
136
|
7374361 |
802729 |
while (low <= high ) { |
|
138
|
1388800 |
5985561 |
if ( ( (x_datap)[0+(__inc_x_n*(mid))] < value ) == up ) low = mid + 1; |
|
141
|
662729 |
140000 |
(idx_datap)[0] = up ? high: low; |
|
150
|
0 |
5 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
|
0 |
5 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
153
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
23 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
23 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
23 |
0 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
|
0 |
23 |
PDL_DECLARE_PARAMS_vsearch_bin_exclusive_1(PDL_LDouble,E,PDL_Indx,N) |
|
154
|
0 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
0 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
5799 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
|
23 |
23 |
PDL_BROADCASTLOOP_START_vsearch_bin_exclusive_readdata { |
|
155
|
4192677 |
5799 |
{/* Open n */ PDL_EXPAND2(register PDL_Indx n=0, __n_stop=(__n_size)); for(; n<__n_stop; n+=1) { |
|
156
|
0 |
4192677 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,E,vals_badval_isnan) ) { |
|
|
3147219 |
1045458 |
if ( !PDL_ISBAD2((vals_datap)[0],vals_badval,E,vals_badval_isnan) ) { |
|
167
|
30166452 |
3147219 |
while (low <= high ) { |
|
169
|
15814179 |
14352273 |
if ( ( (x_datap)[0+(__inc_x_n*(mid))] < value ) == up ) low = mid + 1; |
|
172
|
1574694 |
1572525 |
(idx_datap)[0] = up ? high: low; |
|
181
|
0 |
23 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
|
0 |
23 |
}PDL_BROADCASTLOOP_END_vsearch_bin_exclusive_readdata |
|
215
|
0 |
28 |
if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0}; |
|
217
|
0 |
28 |
if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans"); |
|
221
|
0 |
28 |
PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans)); |
|
222
|
0 |
28 |
PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans)); |