Home
last modified time | relevance | path

Searched refs:n_w (Results 1 – 25 of 93) sorted by relevance

1234

/dports/science/pagmo2/pagmo2-2.18.0/include/pagmo/utils/
H A Dmulti_objective.hpp128 …or<vector_double> decomposition_weights(vector_double::size_type n_f, vector_double::size_type n_w, in decomposition_weights() argument
132 if (n_f > n_w) { in decomposition_weights()
135 … + " was requested to the weight generation routine, while " + std::to_string(n_w) in decomposition_weights()
152 decltype(n_w) H; in decomposition_weights()
154 H = n_w - 1u; in decomposition_weights()
156 …H = static_cast<decltype(H)>(std::floor(0.5 * (std::sqrt(8. * static_cast<double>(n_w) + 1.) - 3.)… in decomposition_weights()
159 while (binomial_coefficient(H + n_f - 1u, n_f - 1u) <= static_cast<double>(n_w)) { in decomposition_weights()
165 … if (std::abs(static_cast<double>(n_w) - binomial_coefficient(H + n_f - 1u, n_f - 1u)) > 1E-8) { in decomposition_weights()
167 …error_message << "Population size of " << std::to_string(n_w) << " is detected, but not supported … in decomposition_weights()
190 for (decltype(n_w) i = n_f; i < n_w; ++i) { in decomposition_weights()
[all …]
/dports/misc/iio-oscilloscope/iio-oscilloscope-0.14-master/plugins/
H A Dcf_axi_tdd.c38 int n_w; member
53 iio_update_widgets_block_signals_by_data(priv->w, priv->n_w); in reload_settings()
75 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
79 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
83 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
87 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
91 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
95 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, chan, in cf_axi_tdd_chann_widgets_init()
134 iio_spin_button_int_init_from_builder(&priv->w[priv->n_w++], dev, NULL, "burst_count", in cf_axi_tdd_init()
180 iio_update_widgets(priv->w, priv->n_w); in cf_axi_tdd_init()
[all …]
H A Dadrv9002.c755 uint16_t *n_w = &priv->tx_widgets[chann].num_widgets; in adrv9002_tx_widgets_init() local
782 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
788 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
794 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
800 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
806 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
812 iio_toggle_button_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
830 iio_spin_button_int_init_from_builder(&priv->tx_widgets[chann].w[(*n_w)++], in adrv9002_tx_widgets_init()
855 uint16_t *n_w = &priv->rx_widgets[chann].rx.num_widgets; in adrv9002_rx_widgets_init() local
890 iio_toggle_button_init_from_builder(&priv->rx_widgets[chann].rx.w[(*n_w)++], in adrv9002_rx_widgets_init()
[all …]
/dports/security/libadacrypt/Ada-Crypto-Library-abc534f/src/
H A Dcrypto-symmetric-algorithm-threefish.adb477 n_w : constant Natural := k_l + 1; constant
489 long_Keys (n_w) := c240;
491 long_Keys (n_w) := long_Keys (n_w) xor keys.data (i);
499 for i in 0 .. n_w - 4 loop
500 ext_Keys.data (r, i) := long_Keys ((r + i) mod (n_w + 1));
503 ext_Keys.data (r, n_w - 3) :=
504 long_Keys ((r + n_w - 3) mod (n_w + 1)) +
506 ext_Keys.data (r, n_w - 2) :=
507 long_Keys ((r + n_w - 2) mod (n_w + 1)) +
509 ext_Keys.data (r, n_w - 1) :=
[all …]
/dports/multimedia/mpv/mpv-0.34.1/video/out/
H A Dwin_state.c46 int n_w = *w, n_h = *h; in apply_autofit() local
47 m_geometry_apply(&dummy, &dummy, &n_w, &n_h, scr_w, scr_h, geo); in apply_autofit()
49 if (!allow_up && *w <= n_w && *h <= n_h) in apply_autofit()
51 if (!allow_down && *w >= n_w && *h >= n_h) in apply_autofit()
57 double n_asp = (double)n_w / n_h; in apply_autofit()
59 *w = n_w; in apply_autofit()
60 *h = n_w / asp; in apply_autofit()
/dports/math/gecode/gecode-0916a1a/gecode/search/
H A Dtracer.hpp221 : pending(1U), n_e(0U), n_w(0U), es(heap), w2e(heap) {} in SearchTracer()
233 es[n_e]=EngineInfo(t,n_w,n_w+n); in engine()
245 w2e[n_w]=eid=n_e-1; in worker()
246 wid=n_w++; in worker()
248 n_active = n_w; in worker()
262 return n_w; in workers()
279 assert(wid < n_w); in eid()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/data/tools/
H A Dconvert-npow2.sh11 n_w=$(nearest_pow2 $w)
13 echo "$file: ${w}x${h} -> ${n_w}x${n_h}"
14 convert $file -resize ${n_w}x${n_h}\! new/$file
/dports/math/gecode/gecode-0916a1a/examples/
H A Dcrossword.cpp120 int n_w = dict.words(w_l); in Crossword() local
124 if (n > n_w) { in Crossword()
128 IntVarArgs words(*this,n,0,n_w-1); in Crossword()
136 IntSharedArray w2l(n_w); in Crossword()
138 for (int i=n_w; i--; ) in Crossword()
159 int n_w = dict.words(w_l); in Crossword() local
163 if (n > n_w) { in Crossword()
170 for (int i=0; i<n_w; i++) { in Crossword()
180 IntVarArgs words(*this,n,0,n_w-1); in Crossword()
H A Dword-square.cpp82 const int n_w = dict.words(w_l); in WordSquare() local
85 IntVarArgs words(*this, w_l, 0, n_w-1); in WordSquare()
93 IntSharedArray w2l(n_w); in WordSquare()
94 for (int n=0; n<n_w; n++) in WordSquare()
/dports/biology/fasta/fasta/
H A Dscalesws.c281 double sum_x, sum_y, sum_x2, sum_xy, det, n_w; in fit_llen() local
303 n_w = 0.0; in fit_llen()
308 n_w += (float)llen_hist[j]/score_var[j]; in fit_llen()
318 mu = sum_y/n_w; in fit_llen()
321 det = n_w * sum_x2 - sum_x * sum_x; in fit_llen()
323 rho = (n_w * sum_xy - sum_x * sum_y)/det; in fit_llen()
329 mu = sum_y/n_w; in fit_llen()
464 n_w = 0.0; in fit_llens()
469 n_w += (float)llen_hist[j]/score_var[j]; in fit_llens()
476 det = n_w * sum_x2 - sum_x * sum_x; in fit_llens()
[all …]
H A Dscalesw2.c282 double sum_x, sum_y, sum_x2, sum_xy, det, n_w; in fit_llen() local
306 n_w = 0.0; in fit_llen()
311 n_w += (float)llen_hist[j]/score_var[j]; in fit_llen()
321 mu = sum_y/n_w; in fit_llen()
324 det = n_w * sum_x2 - sum_x * sum_x; in fit_llen()
326 rho = (n_w * sum_xy - sum_x * sum_y)/det; in fit_llen()
332 mu = sum_y/n_w; in fit_llen()
467 n_w = 0.0; in fit_llens()
472 n_w += (float)llen_hist[j]/score_var[j]; in fit_llens()
479 det = n_w * sum_x2 - sum_x * sum_x; in fit_llens()
[all …]
/dports/lang/micropython/micropython-1.17/tests/wipy/
H A Dos.py37 n_w = f.write(test_bytes) variable
38 print(n_w == len(test_bytes))
64 n_w = f.write(test_bytes) variable
65 print(n_w == len(test_bytes))
/dports/lang/micropython/micropython-1.17/ports/cc3200/tools/
H A Dsmoke.py53 n_w = f.write(test_bytes) variable
54 print(n_w == len(test_bytes))
/dports/biology/fasta3/fasta-36.3.8/src/
H A Dscaleswt.c664 n_w = 0.0; in fit_llen()
670 n_w += dllj/llen->score_var[j]; in fit_llen()
680 pr->mu = sum_y/n_w; in fit_llen()
684 delta = n_w * sum_x2 - sum_x * sum_x; in fit_llen()
687 pr->rho_e = n_w/delta; in fit_llen()
694 pr->mu = sum_y/n_w; in fit_llen()
699 delta = n_w * sum_x2 - sum_x * sum_x; in fit_llen()
700 pr->rho = (n_w * sum_xy - sum_x * sum_y)/delta; in fit_llen()
812 n_w = 0.0; in fit_llens()
818 n_w += dllj/llen->score_var[j]; in fit_llens()
[all …]
H A Dscaleswn.c1911 n_w = 0.0; in fit_llen()
1928 pr->mu = sum_y/n_w; in fit_llen()
1936 pr->rho_e = n_w/det; in fit_llen()
1943 pr->mu = sum_y/n_w; in fit_llen()
2064 n_w = 0.0; in fit_llens()
2084 pr->mu = sum_y/n_w; in fit_llens()
2092 pr->rho_e = n_w/det; in fit_llens()
2099 pr->mu = sum_y/n_w; in fit_llens()
2243 n_w = 0.0; in fit_llen2()
2260 pr->mu = sum_y/n_w; in fit_llen2()
[all …]
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/feature_extraction/
H A Dimage.py238 n_w = i_w - p_w + 1
239 all_patches = n_h * n_w
441 n_w = i_w - p_w + 1
442 for p, (i, j) in zip(patches, product(range(n_h), range(n_w))):
/dports/x11-wm/awesome/awesome-4.3/lib/awful/
H A Dtooltip.lua142 local n_w, n_h = self.textbox:get_preferred_size(capi.mouse.screen)
143 n_w = n_w + self.marginbox.left + self.marginbox.right
147 w:geometry({ width = n_w, height = n_h })
/dports/science/py-OpenMC/openmc-0.12.2/docs/source/io_formats/
H A Ddata_wmp.rst40 \frac{\sqrt{E_{max}} - \sqrt{E_{min}}}{n_w}
43 :math:`E_{min}` is the minimum energy, and :math:`n_w` is the number of
/dports/science/openmc/openmc-0.12.2/docs/source/io_formats/
H A Ddata_wmp.rst40 \frac{\sqrt{E_{max}} - \sqrt{E_{min}}}{n_w}
43 :math:`E_{min}` is the minimum energy, and :math:`n_w` is the number of
/dports/math/heyoka/heyoka-0.16.0/benchmark/
H A Dtaylor_ANN.cpp43 auto n_w = (n_in + 1) * n_neurons + (n_neurons + 1) * n_out; in main() local
45 for (auto i = 0u; i < n_w; ++i) { in main()
/dports/devel/ppl/ppl-1.2/src/
H A DOctagonal_Shape_templates.hh4594 const dimension_type n_w = 2*w_id; in refine() local
4629 add_octagonal_constraint(n_w, n_var, d); in refine()
4638 add_octagonal_constraint(n_w + 1, n_var, d); in refine()
4641 add_octagonal_constraint(n_var + 1, n_w, d); in refine()
4660 add_octagonal_constraint(n_var, n_w, d); in refine()
5257 const dimension_type n_w = 2*w_id; in affine_image() local
5672 const dimension_type n_w = 2*w_id; in affine_form_image() local
5677 add_octagonal_constraint(n_w, n_var, b_ub); in affine_form_image()
6164 const dimension_type n_w = 2*w_id; in generalized_affine_image() local
6235 const dimension_type n_w = 2*w_id; in generalized_affine_image() local
[all …]
/dports/math/octave-forge-statistics/statistics-1.4.3/install-conditionally/tests/
H A Dmanova.m83 n_w = n - k; variable
98 delta = n_w + n_b - (p + n_b + 1) / 2;
122 v = (n_w - p - 1) / 2;
/dports/shells/ksh2020/ast-ksh2020/src/lib/libast/sfio/
H A Dsfvprintf.c136 int n_w, wc; in sfvprintf() local
737 n_w = wcwidth(*wsp); in sfvprintf()
738 if (n_w > 0) { in sfvprintf()
739 if (precis >= 0 && (w + n_w) > precis) break; in sfvprintf()
740 w += n_w; in sfvprintf()
757 n_w = wcwidth(n); in sfvprintf()
758 if (n_w > 0) { in sfvprintf()
759 if (precis >= 0 && (w + n_w) > precis) break; in sfvprintf()
760 w += n_w; in sfvprintf()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dsurface.c933 uint64_t n, n_s, n_n, n_w, n_e; /* Node variables */ in surface_set_BCs() local
950 …for (row = 0, n_w = C->node_nw_corner, n_e = C->node_ne_corner; row < C->current_ny; row++, n_w +=… in surface_set_BCs()
951 u[n_w+d_n[W1]] = u[n_e+d_n[W1]]; /* West side */ in surface_set_BCs()
952 u[n_e+d_n[E1]] = u[n_w+d_n[E1]]; /* East side */ in surface_set_BCs()
953 u[n_e] = u[n_w] = 0.5f * (u[n_e] + u[n_w]); /* Set to average of east and west */ in surface_set_BCs()
957 …for (row = 0, n_w = C->node_nw_corner, n_e = C->node_ne_corner; row < C->current_ny; row++, n_w +=… in surface_set_BCs()
959 u[n_w+d_n[W1]] = (gmt_grdfloat)(x_1_const * u[n_w+d_n[E1]] + x_0_const * u[n_w]); in surface_set_BCs()
989 u[n_w+d_n[W2]] = u[n_e+d_n[W2]]; /* West side */ in surface_set_BCs()
990 u[n_e+d_n[E2]] = u[n_w+d_n[E2]]; /* East side */ in surface_set_BCs()
994 u[n_w+d_n[W2]] = (gmt_grdfloat)(u[n_w+d_n[E2]] + C->eps_p2 * (u[n_w+d_n[NE]] + u[n_w+d_n[SE]] in surface_set_BCs()
[all …]
H A Dsurface_experimental.c1073 uint64_t n, n_s, n_n, n_w, n_e; /* Node variables */ in surface_set_BCs() local
1091 …for (row = 0, n_w = C->node_nw_corner, n_e = C->node_ne_corner; row < C->current_ny; row++, n_w +=… in surface_set_BCs()
1092 u[n_w+d_n[W1]] = u[n_e+d_n[W1]]; /* West side */ in surface_set_BCs()
1093 u[n_e+d_n[E1]] = u[n_w+d_n[E1]]; /* East side */ in surface_set_BCs()
1094 u[n_e] = u[n_w] = 0.5f * (u[n_e] + u[n_w]); /* Set to average of east and west */ in surface_set_BCs()
1099 …for (row = 0, n_w = C->node_nw_corner, n_e = C->node_ne_corner; row < C->current_ny; row++, n_w +=… in surface_set_BCs()
1101 u[n_w+d_n[W1]] = (gmt_grdfloat)(x_1_const * u[n_w+d_n[E1]] + x_0_const * u[n_w]); in surface_set_BCs()
1134 u[n_w+d_n[W2]] = u[n_e+d_n[W2]]; /* West side */ in surface_set_BCs()
1135 u[n_e+d_n[E2]] = u[n_w+d_n[E2]]; /* East side */ in surface_set_BCs()
1140 u[n_w+d_n[W2]] = (gmt_grdfloat)(u[n_w+d_n[E2]] + C->eps_p2 * (u[n_w+d_n[NE]] + u[n_w+d_n[SE]] in surface_set_BCs()
[all …]

1234