Home
last modified time | relevance | path

Searched refs:y_w (Results 1 – 25 of 145) sorted by relevance

123456

/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/C_manyvector/
H A Dark_brusselator1D_manyvec.c330 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in fe() local
339 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in fe()
364 f_w[i] = (y_w[i-1] - TWO*y_w[i] + y_w[i+1])*wconst; in fe()
382 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in fi() local
390 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in fi()
406 f_u[i] = a - (y_w[i]+ONE)*y_u[i] + y_v[i]*y_u[i]*y_u[i]; in fi()
409 f_v[i] = y_w[i]*y_u[i] - y_v[i]*y_u[i]*y_u[i]; in fi()
412 f_w[i] = (b-y_w[i])/ep - y_w[i]*y_u[i]; in fi()
429 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in JacVI() local
438 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in JacVI()
[all …]
/dports/math/sundials/sundials-5.7.0/examples/arkode/C_manyvector/
H A Dark_brusselator1D_manyvec.c330 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in fe() local
339 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in fe()
364 f_w[i] = (y_w[i-1] - TWO*y_w[i] + y_w[i+1])*wconst; in fe()
382 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in fi() local
390 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in fi()
406 f_u[i] = a - (y_w[i]+ONE)*y_u[i] + y_v[i]*y_u[i]*y_u[i]; in fi()
409 f_v[i] = y_w[i]*y_u[i] - y_v[i]*y_u[i]*y_u[i]; in fi()
412 f_w[i] = (b-y_w[i])/ep - y_w[i]*y_u[i]; in fi()
429 realtype *y_u=NULL, *y_v=NULL, *y_w=NULL; in JacVI() local
438 y_w = N_VGetArrayPointer(N_VGetSubvector_ManyVector(y, 2)); in JacVI()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/impl/
H A Dbilateral_upsampling.hpp109 for (int y_w = start_window_y; y_w < end_window_y; ++ y_w) in performProcessing() local
112 … static_cast<Eigen::MatrixXf::Index> (y - y_w + window_size_)); in performProcessing()
115 … std::abs ((*input_)[y_w * input_->width + x_w].r - (*input_)[y * input_->width + x].r) + in performProcessing()
116 … std::abs ((*input_)[y_w * input_->width + x_w].g - (*input_)[y * input_->width + x].g) + in performProcessing()
117 … std::abs ((*input_)[y_w * input_->width + x_w].b - (*input_)[y * input_->width + x].b)); in performProcessing()
121 if (std::isfinite ((*input_)[y_w*input_->width + x_w].z)) in performProcessing()
123 sum += val_exp_depth * val_exp_rgb * (*input_)[y_w*input_->width + x_w].z; in performProcessing()
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/pooling/
H A Daverage_pooling_2d.py41 y_w = conv.get_conv_outsize(
43 assert y_w > 0, 'Width in the output should be positive.'
45 pr = self.sx * (y_w - 1) + self.kw - w - self.pw
48 (n, c, y_h, y_w),
67 y_w = conv.get_conv_outsize(w, self.kw, self.sx, self.pw)
68 y = cuda.cupy.empty((n, c, y_h, y_w), dtype=x[0].dtype)
92 kern(x[0].reduced_view(), h, w, y_h, y_w, self.kh, self.kw,
132 y_h, y_w = gy[0].shape[2:]
136 pr = self.sx * (y_w - 1) + self.kw - w - self.pw
155 y_h, y_w = gy[0].shape[2:]
[all …]
H A Dpooling_2d.py52 y_w = conv.get_conv_outsize(
54 assert y_w > 0, 'Width in the output should be positive.'
55 y = cuda.cupy.empty((n, c, y_h, y_w), dtype=x.dtype)
H A Dmax_pooling_nd.py104 y_w = conv_nd.get_conv_outsize(w, kw, sx, pw, cover_all)
105 assert y_w > 0, 'Width in the output should be positive.'
107 pr = sx * (y_w - 1) + kw - w - pw
110 (n, c, y_h, y_w),
225 y_h, y_w = gy[0].shape[2:]
229 pr = sx * (y_w - 1) + kw - w - pw
/dports/cad/tkgate/tkgate-2.1/src/tkgate/
H A Dascii.c203 int x_w,y_w; in PosDrawString() local
210 y_w = fontheight(F); in PosDrawString()
213 ZDrawLine(TkGate.D,GatePainter_drawable(painter),gc,x - x_w/2,y - 2*y_w/3, in PosDrawString()
214 x + x_w/2,y - 2*y_w/3); in PosDrawString()
216 ZDrawLine(TkGate.D,GatePainter_drawable(painter),gc,x - x_w,y - 2*y_w/3, in PosDrawString()
217 x,y - 2*y_w/3); in PosDrawString()
219 ZDrawLine(TkGate.D,GatePainter_drawable(painter),gc,x,y - 2*y_w/3, in PosDrawString()
220 x + x_w,y - 2*y_w/3); in PosDrawString()
/dports/graphics/freeglut/freeglut-3.2.1/src/wayland/
H A Dfg_input_devices_wl.c155 wl_fixed_t x_w, wl_fixed_t y_w ) in fghTouchDown() argument
159 win->State.MouseY = wl_fixed_to_int( y_w ); in fghTouchDown()
177 wl_fixed_t x_w, wl_fixed_t y_w ) in fghTouchMotion() argument
181 win->State.MouseY = wl_fixed_to_int( y_w ); in fghTouchMotion()
207 wl_fixed_t x_w, wl_fixed_t y_w ) in fghPointerEnter() argument
212 win->State.MouseY = wl_fixed_to_int( y_w ); in fghPointerEnter()
224 wl_fixed_t x_w, wl_fixed_t y_w ) in fghPointerMotion() argument
228 win->State.MouseY = wl_fixed_to_int( y_w ); in fghPointerMotion()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/device/generic_sensor/
H A Dorientation_euler_angles_fusion_algorithm_using_quaternion.cc35 double y_w = 2 * y * w; in ComputeRotationMatrixFromQuaternion() local
41 r[2] = x_z + y_w; in ComputeRotationMatrixFromQuaternion()
45 r[6] = x_z - y_w; in ComputeRotationMatrixFromQuaternion()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/device/generic_sensor/
H A Dorientation_euler_angles_fusion_algorithm_using_quaternion.cc35 double y_w = 2 * y * w; in ComputeRotationMatrixFromQuaternion() local
41 r[2] = x_z + y_w; in ComputeRotationMatrixFromQuaternion()
45 r[6] = x_z - y_w; in ComputeRotationMatrixFromQuaternion()
/dports/science/code_saturne/code_saturne-7.1.0/src/ctwr/
H A Dcs_ctwr.c937 if (y_w[cell_id] < 0.0) in cs_ctwr_init_field_vars()
938 y_w[cell_id] = 0; //TODO count it in cs_ctwr_init_field_vars()
940 if (y_w[cell_id] >= 1.0) in cs_ctwr_init_field_vars()
944 x[cell_id] = y_w[cell_id]/(1.0-y_w[cell_id]); in cs_ctwr_init_field_vars()
1364 if (y_w[cell_id] < 0.0) in cs_ctwr_restart_field_vars()
1365 y_w[cell_id] = 0; //TODO count it in cs_ctwr_restart_field_vars()
1367 if (y_w[cell_id] >= 1.0) in cs_ctwr_restart_field_vars()
1370 x[cell_id] = y_w[cell_id]/(1.0-y_w[cell_id]); in cs_ctwr_restart_field_vars()
1565 if (y_w[cell_id] < 0.0) in cs_ctwr_phyvar_update()
1568 if (y_w[cell_id] >= 1.0) in cs_ctwr_phyvar_update()
[all …]
/dports/math/py-colormath/colormath-3.0.0/colormath/
H A Dcolor_appearance_models.py282 x_w, y_w, z_w, argument
344 n_cb = 0.725 * (y_w / y_b) ** 0.2
348 n_bb = 0.725 * (y_w / y_b) ** 0.2
365 s_w = y_w
373 xyz_w = numpy.array([x_w, y_w, z_w])
473 z = 1 + (y_b / y_w) ** 0.5
481 1.64 - 0.29 ** (y_b / y_w))
510 y_w = xyz_w[1]
525 d_rgb = self._f_n((y_b / y_w) * f_l * f_rgb[1]) - self._f_n((y_b / y_w) * f_l * f_rgb)
1088 xyz_w = numpy.array([x_w, y_w, z_w])
[all …]
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/ffi/
H A Dffi_mp.cpp200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal() argument
202 return BOTAN_FFI_RETURNING(Botan::BigInt, x_w, x, { return x == safe_get(y_w); }); in botan_mp_equal()
220 int botan_mp_cmp(int* result, const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_cmp() argument
222 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { *result = x.cmp(safe_get(y_w)); }); in botan_mp_cmp()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap() argument
227 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { x.swap(safe_get(y_w)); }); in botan_mp_swap()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/ffi/
H A Dffi_mp.cpp200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal() argument
202 return BOTAN_FFI_RETURNING(Botan::BigInt, x_w, x, { return x == safe_get(y_w); }); in botan_mp_equal()
220 int botan_mp_cmp(int* result, const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_cmp() argument
222 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { *result = x.cmp(safe_get(y_w)); }); in botan_mp_cmp()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap() argument
227 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { x.swap(safe_get(y_w)); }); in botan_mp_swap()
/dports/security/botan2/Botan-2.18.2/src/lib/ffi/
H A Dffi_mp.cpp200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal() argument
202 return BOTAN_FFI_RETURNING(Botan::BigInt, x_w, x, { return x == safe_get(y_w); }); in botan_mp_equal()
220 int botan_mp_cmp(int* result, const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_cmp() argument
222 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { *result = x.cmp(safe_get(y_w)); }); in botan_mp_cmp()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap() argument
227 return BOTAN_FFI_DO(Botan::BigInt, x_w, x, { x.swap(safe_get(y_w)); }); in botan_mp_swap()
/dports/devel/sgb/sgb-20090810_1/
H A Dgb_plane.w417 \right\vert=\left\vert\matrix{x_u-x_w&y_u-y_w\cr x_v-x_w&y_v-y_w\cr}
465 x_w&y_w&x_w^2+y_w^2&1\cr}\right\vert=
466 \left\vert\matrix{x_t-x_w&y_t-y_w&(x_t-x_w)^2+(y_t-y_w)^2\cr
467 x_u-x_w&y_u-y_w&(x_u-x_w)^2+(y_u-y_w)^2\cr
468 x_v-x_w&y_v-y_w&(x_v-x_w)^2+(y_v-y_w)^2\cr}
513 \matrix{x_t-x_v&(x_t-x_w)^2+(y_t-y_w)^2-(x_v-x_w)^2-(y_v-y_w)^2\cr
514 x_u-x_v&(x_u-x_w)^2+(y_u-y_w)^2-(x_v-x_w)^2-(y_v-y_w)^2\cr}
517 \matrix{y_t-y_v&(x_t-x_w)^2+(y_t-y_w)^2-(x_v-x_w)^2-(y_v-y_w)^2\cr
518 y_u-y_v&(x_u-x_w)^2+(y_u-y_w)^2-(x_v-x_w)^2-(y_v-y_w)^2\cr}
520 |hh|(t,u,v,w)&=(x_u-x_t)(y_v-y_w)\,,\cr
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/video/
H A Djangou_blitter.cpp49 map(0x03, 0x03).w(FUNC(jangou_blitter_device::y_w)); in blit_v1_regs()
62 map(0x04, 0x04).w(FUNC(jangou_blitter_device::y_w)); in blit_v2_regs()
231 void jangou_blitter_device::y_w(uint8_t data) { m_y = data; } in y_w() function in jangou_blitter_device
/dports/emulators/mame/mame-mame0226/src/devices/video/
H A Djangou_blitter.cpp49 map(0x03, 0x03).w(FUNC(jangou_blitter_device::y_w)); in blit_v1_regs()
62 map(0x04, 0x04).w(FUNC(jangou_blitter_device::y_w)); in blit_v2_regs()
231 void jangou_blitter_device::y_w(uint8_t data) { m_y = data; } in y_w() function in jangou_blitter_device
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/clients/
H A Dsimple-touch.c163 int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_down() argument
167 float y = wl_fixed_to_double(y_w); in touch_handle_down()
180 uint32_t time, int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_motion() argument
184 float y = wl_fixed_to_double(y_w); in touch_handle_motion()
/dports/graphics/weston/weston-1.9.0/clients/
H A Dsimple-touch.c161 int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_down() argument
165 float y = wl_fixed_to_double(y_w); in touch_handle_down()
178 uint32_t time, int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_motion() argument
182 float y = wl_fixed_to_double(y_w); in touch_handle_motion()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/clients/
H A Dsimple-touch.c163 int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_down() argument
167 float y = wl_fixed_to_double(y_w); in touch_handle_down()
180 uint32_t time, int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) in touch_handle_motion() argument
184 float y = wl_fixed_to_double(y_w); in touch_handle_motion()
/dports/emulators/mess/mame-mame0226/src/devices/bus/pc1512/
H A Dmouse.h77 void y_w(uint8_t data) { m_write_y(data); } in y_w() function
106 DECLARE_INPUT_CHANGED_MEMBER( mouse_y_changed ) { m_port->y_w(newval); } in DECLARE_INPUT_CHANGED_MEMBER()
/dports/emulators/mame/mame-mame0226/src/devices/bus/pc1512/
H A Dmouse.h77 void y_w(uint8_t data) { m_write_y(data); } in y_w() function
106 DECLARE_INPUT_CHANGED_MEMBER( mouse_y_changed ) { m_port->y_w(newval); } in DECLARE_INPUT_CHANGED_MEMBER()
/dports/math/py-cmaes/cmaes-0.8.2/cmaes/
H A D_sepcma.py260 y_w = np.sum(y_k[: self._mu].T * self._weights[: self._mu], axis=1)
261 self._mean += self._cm * self._sigma * y_w
266 ) * (y_w / D)
284 ) * y_w
H A D_cma.py307 y_w = np.sum(y_k[: self._mu].T * self._weights[: self._mu], axis=1) # eq.41
308 self._mean += self._cm * self._sigma * y_w
316 ) * C_2.dot(y_w)
334 ) * y_w

123456