/dports/math/stanmath/math-4.2.0/test/unit/math/prim/functor/ |
H A D | harmonic_oscillator.hpp | 19 if (y_in.size() != 2) in operator ()() 25 res.push_back(-y_in.at(0) - theta.at(0) * y_in.at(1)); in operator ()() 37 if (y_in.size() != 2) in operator ()() 42 res(0) = y_in(1); in operator ()() 43 res(1) = -y_in(0) - theta[0] * y_in(1); in operator ()() 60 if (y_in.size() != 2) in operator ()() 66 res.push_back(-x.at(1) * y_in.at(0) - x.at(2) * theta.at(0) * y_in.at(1) in operator ()() 79 if (y_in.size() != 2) in operator ()() 87 (-x.at(1) * y_in(0) - x.at(2) * p * y_in(1) + x_int.at(1)); in operator ()() 104 if (y_in.size() != 2) in operator ()() [all …]
|
H A D | lorenz.hpp | 13 lorenz_ode(const T0& t_in, const std::vector<T1>& y_in, in lorenz_ode() argument 17 res.push_back(theta.at(0) * (y_in.at(1) - y_in.at(0))); in lorenz_ode() 18 res.push_back(theta.at(1) * y_in.at(0) - y_in.at(1) in lorenz_ode() 19 - y_in.at(0) * y_in.at(2)); in lorenz_ode() 20 res.push_back(-theta.at(2) * y_in.at(2) + y_in.at(0) * y_in.at(1)); in lorenz_ode() 32 operator()(const T0& t_in, const std::vector<T1>& y_in, in operator ()() 35 return lorenz_ode(t_in, y_in, theta, x, x_int); in operator ()()
|
H A D | forced_harmonic_oscillator.hpp | 16 operator()(const T0& t_in, const std::vector<T1>& y_in, in operator ()() 19 if (y_in.size() != 2) in operator ()() 24 res.push_back(y_in.at(1)); in operator ()() 25 res.push_back(-y_in.at(0) * sin(theta.at(1) * t_in) in operator ()() 26 - theta.at(0) * y_in.at(1)); in operator ()()
|
/dports/math/stanmath/math-4.2.0/test/unit/math/rev/functor/ |
H A D | test_fixture_ode_lorenz.hpp | 20 const T0& t_in, const T1& y_in, std::ostream* msgs, in operator ()() 23 res << theta.at(0) * (y_in(1) - y_in(0)), in operator ()() 24 theta.at(1) * y_in(0) - y_in(1) - y_in(0) * y_in(2), in operator ()() 25 -theta.at(2) * y_in(2) + y_in(0) * y_in(1); in operator ()()
|
H A D | test_fixture_ode_fho.hpp | 20 const T0& t_in, const T1& y_in, std::ostream* msgs, in operator ()() 22 if (y_in.size() != 2) in operator ()() 27 res << y_in(1), in operator ()() 28 -y_in(0) * sin(theta.at(1) * t_in) - theta.at(0) * y_in(1); in operator ()()
|
/dports/science/mcstas/mcstas-2.5-src/nlib/share/ |
H A D | mcstas-r.c | 161 y_in = y + tt*vy; in box_intersect() 163 if( y_in > -dy/2 && y_in < dy/2 && z_in > -dz/2 && z_in < dz/2) in box_intersect() 169 y_in = y + tt*vy; in box_intersect() 171 if( y_in > -dy/2 && y_in < dy/2 && z_in > -dz/2 && z_in < dz/2) in box_intersect() 204 y_in = y + tt*vy; in box_intersect() 205 if( x_in > -dx/2 && x_in < dx/2 && y_in > -dy/2 && y_in < dy/2) in box_intersect() 212 y_in = y + tt*vy; in box_intersect() 213 if( x_in > -dx/2 && x_in < dx/2 && y_in > -dy/2 && y_in < dy/2) in box_intersect() 287 y_in = vy*t_in + y; in cylinder_intersect() 290 if ( (y_in > h/2 && y_out > h/2) || (y_in < -h/2 && y_out < -h/2) ) in cylinder_intersect() [all …]
|
/dports/lang/pocl/pocl-1.8/lib/kernel/sleef/libm/ |
H A D | sleef_glue_auto.c | 253 y_in.t = y; in Sleef_atan2f4_u10() 264 y_in.t = y; in Sleef_atan2f4_u35() 277 y_in.t = y; in Sleef_atan2d2_u10() 288 y_in.t = y; in Sleef_atan2d2_u35() 403 y_in.t = y; in Sleef_powf4_u10() 416 y_in.t = y; in Sleef_powd2_u10() 429 y_in.t = y; in Sleef_pownf4_u10() 444 y_in.t = y; in Sleef_pownd2_u10_long() 457 y_in.t = y; in Sleef_pownd2_u10() 473 y_in.t = y; in Sleef_powrf4_u10() [all …]
|
/dports/misc/iio-oscilloscope/iio-oscilloscope-0.14-master/plugins/ |
H A D | block_diagram.h | 82 int x_big, y_big, x_click, y_click, x_in, y_in; in draw_block_diagram() local 92 y_in = y * 0.95; in draw_block_diagram() 105 pixbuf = gdk_pixbuf_new_from_file_at_scale(name, x_in , y_in, true, &err); in draw_block_diagram() 107 y_in = gdk_pixbuf_get_height(pixbuf); in draw_block_diagram() 126 y_click = y_block * (y_big - y_in) / y_in; in draw_block_diagram() 134 if (y_click + y_in > y_big) in draw_block_diagram() 135 y_click = y_big - y_in; in draw_block_diagram() 137 sub_pixbuf = gdk_pixbuf_new_subpixbuf(pixbuf, x_click, y_click, x_in, y_in); in draw_block_diagram() 138 p = gdk_pixbuf_scale_simple(sub_pixbuf, x_in, y_in, GDK_INTERP_BILINEAR); in draw_block_diagram() 141 p = gdk_pixbuf_scale_simple(pixbuf, x_in, y_in, GDK_INTERP_BILINEAR); in draw_block_diagram()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/video_filter/ |
H A D | extract.c | 281 val = (*y_in[0]++ * m[0] + (**u_in - u) * m[1] + (**v_in - v) * m[2]) / 65536; \ 292 get_custom_pix_8b( uint8_t *y_in[2], uint8_t *y_out[2], in get_custom_pix_8b() 303 get_custom_pix_10b( uint16_t *y_in[2], uint16_t *y_out[2], in get_custom_pix_10b() 322 uint8_t *y_in[2] = { p_inpic->p[yp].p_pixels }; in get_custom_from_yuv() local 328 uint8_t *const y_end = y_in[0] + i_visible_lines * i_in_pitch; in get_custom_from_yuv() 330 while (y_in[0] < y_end) in get_custom_from_yuv() 332 y_in[1] = y_in[0] + i_in_pitch; in get_custom_from_yuv() 334 for (uint8_t *const y_row_end = y_in[0] + i_visible_pitch; y_in[0] < y_row_end; ) in get_custom_from_yuv() 337 ? get_custom_pix_8b(y_in, y_out, &u_in, &u_out, &v_in, &v_out, U8, in get_custom_from_yuv() 339 : get_custom_pix_10b((uint16_t **)y_in, (uint16_t **)y_out, in get_custom_from_yuv() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/ |
H A D | geo_trans.c | 112 double x_in, double y_in, in GTIFTiepointTranslate() argument 120 (void) y_in; in GTIFTiepointTranslate() 190 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 192 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 193 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 290 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 304 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 305 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/gtiff/libgeotiff/ |
H A D | geo_trans.c | 77 double x_in, double y_in, in GTIFTiepointTranslate() argument 85 (void) y_in; in GTIFTiepointTranslate() 155 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 157 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 158 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 255 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 269 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 270 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/graphics/libgeotiff/libgeotiff-1.7.0/ |
H A D | geo_trans.c | 78 double x_in, double y_in, in GTIFTiepointTranslate() argument 86 (void) y_in; in GTIFTiepointTranslate() 156 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 158 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 159 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 256 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 270 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 271 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/misc/vxl/vxl-3.3.2/v3p/geotiff/ |
H A D | geo_trans.c | 110 double x_in, double y_in, in GTIFTiepointTranslate() argument 118 (void) y_in; in GTIFTiepointTranslate() 188 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 190 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 191 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 288 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 302 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 303 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/gtiff/libgeotiff/ |
H A D | geo_trans.c | 78 double x_in, double y_in, in GTIFTiepointTranslate() argument 86 (void) y_in; in GTIFTiepointTranslate() 156 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 158 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 159 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 256 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 270 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 271 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/gtiff/libgeotiff/ |
H A D | geo_trans.c | 78 double x_in, double y_in, in GTIFTiepointTranslate() argument 86 (void) y_in; in GTIFTiepointTranslate() 156 double x_in = *x, y_in = *y; in GTIFImageToPCS() local 158 *x = x_in * transform[0] + y_in * transform[1] + transform[3]; in GTIFImageToPCS() 159 *y = x_in * transform[4] + y_in * transform[5] + transform[7]; in GTIFImageToPCS() 256 double x_in = *x, y_in = *y; in GTIFPCSToImage() local 270 *x = x_in * gt_out[0] + y_in * gt_out[1] + gt_out[2]; in GTIFPCSToImage() 271 *y = x_in * gt_out[3] + y_in * gt_out[4] + gt_out[5]; in GTIFPCSToImage()
|
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/Mpeg3Plugin/libmpeg/video/ |
H A D | output.c | 455 y_l = y_in[video->x_table[w]]; \ 496 y_l = *y_in++; \ 505 y_l = mpeg3_601_to_rgb[*y_in++]; \ 696 mpeg3_bgra32_mmx(*y_in++, in mpeg3video_ditherframe() 701 mpeg3_bgra32_mmx(*y_in++, in mpeg3video_ditherframe() 712 mpeg3_601_bgra32_mmx(*y_in++, in mpeg3video_ditherframe() 717 mpeg3_601_bgra32_mmx(*y_in++, in mpeg3video_ditherframe() 729 mpeg3_rgba32_mmx(*y_in++, in mpeg3video_ditherframe() 734 mpeg3_rgba32_mmx(*y_in++, in mpeg3video_ditherframe() 1063 y_l = *y_in++; in mpeg3video_ditherframeFastRGBA() [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/timeseries/periodograms/bls/ |
H A D | bls.c | 16 double y_in, in compute_objective() argument 28 double arg = y_out - y_in; in compute_objective() 32 *depth = y_out - y_in; in compute_objective() 181 double y_in = mean_y[n+dur] - mean_y[n]; in run_bls() local 183 double y_out = sum_y - y_in; in run_bls() 192 y_in /= ivar_in; in run_bls() 197 compute_objective(y_in, y_out, ivar_in, ivar_out, obj_flag, in run_bls() 201 if (y_out >= y_in && objective > best_objective[p]) { in run_bls() 205 compute_objective(y_in, y_out, ivar_in, ivar_out, (obj_flag == 0), in run_bls()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/ |
H A D | vf_w3fdif.c | 147 int i, j, y_in, y_out; in deinterlace_plane() local 173 y_in = (y_out + 1) + (j * 2) - n_coef_lf[filter]; in deinterlace_plane() 175 while (y_in < 0) in deinterlace_plane() 176 y_in += 2; in deinterlace_plane() 177 while (y_in >= height) in deinterlace_plane() 178 y_in -= 2; in deinterlace_plane() 202 y_in = (y_out + 1) + (j * 2) - n_coef_hf[filter]; in deinterlace_plane() 204 while (y_in < 0) in deinterlace_plane() 205 y_in += 2; in deinterlace_plane() 206 while (y_in >= height) in deinterlace_plane() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/ |
H A D | vf_w3fdif.c | 147 int i, j, y_in, y_out; in deinterlace_plane() local 173 y_in = (y_out + 1) + (j * 2) - n_coef_lf[filter]; in deinterlace_plane() 175 while (y_in < 0) in deinterlace_plane() 176 y_in += 2; in deinterlace_plane() 177 while (y_in >= height) in deinterlace_plane() 178 y_in -= 2; in deinterlace_plane() 202 y_in = (y_out + 1) + (j * 2) - n_coef_hf[filter]; in deinterlace_plane() 204 while (y_in < 0) in deinterlace_plane() 205 y_in += 2; in deinterlace_plane() 206 while (y_in >= height) in deinterlace_plane() [all …]
|
/dports/astro/oskar/OSKAR-2.8.0/oskar/math/src/ |
H A D | oskar_dftw.c | 44 const oskar_Mem* y_in, in oskar_dftw() argument 78 oskar_mem_location(y_in) != location || in oskar_dftw() 87 oskar_mem_type(y_in) != type || in oskar_dftw() 130 oskar_mem_double_const(y_in, status), in oskar_dftw() 146 oskar_mem_float_const(y_in, status), in oskar_dftw() 165 oskar_mem_double_const(y_in, status), 0, in oskar_dftw() 179 oskar_mem_float_const(y_in, status), 0, in oskar_dftw() 199 oskar_mem_double_const(y_in, status), in oskar_dftw() 215 oskar_mem_float_const(y_in, status), in oskar_dftw() 248 oskar_mem_float_const(y_in, status), 0, in oskar_dftw() [all …]
|
H A D | oskar_dft_c2r.c | 27 const oskar_Mem* y_in, in oskar_dft_c2r() argument 54 oskar_mem_location(y_in) != location || in oskar_dft_c2r() 64 oskar_mem_type(y_in) != type || in oskar_dft_c2r() 95 oskar_mem_double_const(y_in, status), in oskar_dft_c2r() 108 oskar_mem_float_const(y_in, status), in oskar_dft_c2r() 124 oskar_mem_double_const(y_in, status), 0, in oskar_dft_c2r() 135 oskar_mem_float_const(y_in, status), 0, in oskar_dft_c2r() 199 {PTR_SZ, oskar_mem_buffer_const(y_in)}, in oskar_dft_c2r()
|
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/src/ |
H A D | hermite_interpolation.c | 27 void hermite_interpolation(double *y_in, double *slope, double *x_out, in hermite_interpolation() argument 40 y_out[idx] = y_in[i_0]; in hermite_interpolation() 46 a_0 = y_in[i_0]; in hermite_interpolation() 47 a_1 = y_in[i_1]; in hermite_interpolation()
|
/dports/games/xonotic/Xonotic/misc/tools/ |
H A D | spherefunc2skybox.c | 248 void map_back(double x_in, double y_in, double *x_out, double *y_out, double *z_out) in map_back() argument 252 *z_out = 1 - 2 * y_in; in map_back() 255 void map_right(double x_in, double y_in, double *x_out, double *y_out, double *z_out) in map_right() argument 259 *z_out = 1 - 2 * y_in; in map_right() 266 *z_out = 1 - 2 * y_in; in map_front() 269 void map_left(double x_in, double y_in, double *x_out, double *y_out, double *z_out) in map_left() argument 273 *z_out = 1 - 2 * y_in; in map_left() 276 void map_up(double x_in, double y_in, double *x_out, double *y_out, double *z_out) in map_up() argument 278 *x_out = 2 * y_in - 1; in map_up() 283 void map_down(double x_in, double y_in, double *x_out, double *y_out, double *z_out) in map_down() argument [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_w3fdif.c | 366 int j, y_in, y_out; in deinterlace_slice() local 389 y_in = (y_out + 1) + (j * 2) - n_coef_lf[filter]; in deinterlace_slice() 391 while (y_in < 0) in deinterlace_slice() 392 y_in += 2; in deinterlace_slice() 393 while (y_in >= height) in deinterlace_slice() 394 y_in -= 2; in deinterlace_slice() 412 y_in = (y_out + 1) + (j * 2) - n_coef_hf[filter]; in deinterlace_slice() 414 while (y_in < 0) in deinterlace_slice() 415 y_in += 2; in deinterlace_slice() 416 while (y_in >= height) in deinterlace_slice() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/perf/common/ |
H A D | gapi_render_perf_tests_inl.hpp | 80 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 82 std::tie(y_out, uv_out) = cv::gapi::wip::draw::renderNV12(y_in, uv_in, arr); in PERF_TEST_P_() 84 cv::GComputation comp(cv::GIn(y_in, uv_in, arr), cv::GOut(y_out, uv_out)); in PERF_TEST_P_() 164 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 242 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 324 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 408 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 485 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 572 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local 652 cv::GMat y_in, uv_in, y_out, uv_out; in PERF_TEST_P_() local [all …]
|