/dports/math/universal/universal-3.48/applications/ode/ |
H A D | first_order_ode.cpp | 86 void rk4(Scalar (*f)(const Scalar&, const Scalar&), int n, Scalar& h, Scalar& x, Scalar& y) { in rk4() argument 87 const Scalar x0 = x; in rk4() local 106 Scalar x0 = 0; // initial x in main() local 108 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local 118 Scalar x0 = 0; // initial x in main() local 120 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local 131 Scalar x0 = 0; // initial x in main() local 133 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local 142 Scalar x0 = 0; // initial x in main() local 144 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local
|
H A D | runge_kutta4.cpp | 47 void rk4(Scalar (*f)(const Scalar&, const Scalar&), size_t n, const Scalar& h, const Scalar& x0, co… in rk4() 66 double h = M_PI_4; // step size between intervals in main() local 70 Scalar x0 = 0; // initial x in main() local 72 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local 81 Scalar x0 = 0; // initial x in main() local 83 Scalar h = Scalar(M_PI_4); // step size between intervals in main() local 92 Scalar x0 = 0; // initial x in main() local 103 Scalar x0 = 0; // initial x in main() local 112 Scalar x0 = 0; // initial x in main() local
|
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/ |
H A D | draw_utils.c | 38 _draw_vline (uint8_t *data, int stride, int x0, int y0, int y1, uint32_t color) { in _draw_vline() 58 _draw_hline (uint8_t *data, int stride, int x0, int y0, int x1, uint32_t color) { in _draw_hline() 67 _draw_background (uint8_t *data, int w, int h, uint32_t color) in _draw_background() 80 _draw_bar (uint8_t *data, int stride, int x0, int y0, int w, int h, uint32_t color) { in _draw_bar() 95 _draw_bar_gradient_v (uint32_t *colors, uint8_t *data, int stride, int x0, int y0, int w, int h, in… in _draw_bar_gradient_v() 112 _draw_bar_gradient_h (uint32_t *colors, uint8_t *data, int stride, int x0, int y0, int w, int h, in… in _draw_bar_gradient_h() 129 …ient_bar_mode_v (uint32_t *colors, uint8_t *data, int stride, int x0, int y0, int w, int h, int to… in _draw_bar_gradient_bar_mode_v() 147 …ient_bar_mode_h (uint32_t *colors, uint8_t *data, int stride, int x0, int y0, int w, int h, int to… in _draw_bar_gradient_bar_mode_h()
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/ |
H A D | vil3d_sample_profile_trilin.hxx | 13 inline bool vil3d_profile_in_image(double x0, double y0, double z0, in vil3d_profile_in_image() 42 double x0, double y0, double z0, in vil3d_sample_profile_trilin() 67 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin() local 72 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin() local 84 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin() local 89 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin() local 107 double x0, double y0, double z0, in vil3d_sample_profile_trilin_extend() 132 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin_extend() local 137 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin_extend() local 149 for (unsigned h=0;h<n;++h,x+=dx,y+=dy,z+=dz) in vil3d_sample_profile_trilin_extend() local [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/ |
H A D | _numdiff.py | 11 def _adjust_scheme_to_bounds(x0, h, num_steps, scheme, lb, ub): argument 144 def _compute_absolute_step(rel_step, x0, f0, method): argument 175 def _prepare_bounds(bounds, x0): argument 257 def approx_derivative(fun, x0, method='3-point', rel_step=None, abs_step=None, argument 506 def _linear_operator_difference(fun, x0, f0, h, method): argument 547 def _dense_difference(fun, x0, f0, h, use_one_sided, method): argument 587 def _sparse_difference(fun, x0, f0, h, use_one_sided, argument 667 def check_derivative(fun, jac, x0, bounds=(-np.inf, np.inf), args=(), argument
|
/dports/math/octave-forge-matgeom/matgeom-1.2.3/inst/geom3d/ |
H A D | drawGrid3d.m | 92 x0 = ax(1); x1 = ax(2); variable 107 x0 = xe; x1 = xf; variable 115 h = []; variable 121 h = [h; drawEdge3d([x0 y z x1 y z])]; %#ok<AGROW> variable 128 h = [h; drawEdge3d([x y0 z x y1 z])]; %#ok<AGROW> variable 135 h = [h; drawEdge3d([x y z0 x y z1])]; %#ok<AGROW> variable
|
/dports/math/gecode/gecode-0916a1a/gecode/int/ |
H A D | element.cpp | 39 element(Home home, IntSharedArray c, IntVar x0, IntVar x1, in element() 97 element(Home home, IntSharedArray c, IntVar x0, int x1, in element() 292 pair(Home home, IntVar x, int w, IntVar y, int h) { in pair() 317 IntVar x, int w, IntVar y, int h, IntVar z, in element() 329 IntVar y, int yoff, int h, in element() 340 IntVar x, int w, IntVar y, int h, BoolVar z, in element() 351 IntVar x, int xoff, int w, IntVar y, int yoff, int h, in element() 362 IntVar x, int w, IntVar y, int h, IntVar z, in element() 374 IntVar y, int yoff, int h, in element() 385 IntVar x, int w, IntVar y, int h, BoolVar z, in element() [all …]
|
/dports/devel/nextpnr/nextpnr-48cd407/tests/gui/ |
H A D | quadtree.cc | 57 int x0 = rng.rng(width_); in TEST_F() local 60 int h = rng.rng(width_ - y0); in TEST_F() local 68 int x0 = rng.rng(width_); in TEST_F() local 85 int x0 = rng.rng(width_); in TEST_F() local 88 int h = rng.rng(width_ - y0); in TEST_F() local 97 int x0 = rng.rng(width_); in TEST_F() local 100 int h = rng.rng(width_ - y0); in TEST_F() local
|
/dports/math/fxt/fxt/src/bits/ |
H A D | bitlex.h | 58 ulong x0 = x & -x; // lowest one in next_lexrev() local 102 ulong x0 = x & -x; // lowest one in prev_lexrev() local 142 ulong h = highest_one(k); in negidx2lexrev() local 159 ulong h = x & -x; // lowest one in lexrev2negidx() local
|
/dports/math/py-algopy/algopy-0.5.7/documentation/sphinx/examples/minimization/ |
H A D | minhelper.py | 35 def show_local_curvature(f, g, h, x0): argument 50 def do_searches(f, g, h, x0): argument
|
/dports/devel/cscout/cscout-bd7dfac/swill/Examples/ |
H A D | sg.c | 72 double h,k,r,t,p,x,y,h2,k2; in solve_sg() local 139 double eval_kink(double x, double v, double x0, double k) { in eval_kink() 144 double eval_dkink(double x, double v, double x0) { in eval_dkink() 150 double eval_antikink(double x, double v, double x0, double k) { in eval_antikink() 156 double eval_dantikink(double x, double v, double x0) { in eval_dantikink() 165 void sg_kink(double vel, double x0, double k) { in sg_kink() 167 double h,x; in sg_kink() local 179 void sg_antikink(double vel, double x0, double k) { in sg_antikink() 181 double h,x; in sg_antikink() local 219 double h; in print_points() local [all …]
|
/dports/dns/totd/totd-1.5.1/SWILL-0.1/Examples/ |
H A D | sg.c | 72 double h,k,r,t,p,x,y,h2,k2; in solve_sg() local 139 double eval_kink(double x, double v, double x0, double k) { in eval_kink() 144 double eval_dkink(double x, double v, double x0) { in eval_dkink() 150 double eval_antikink(double x, double v, double x0, double k) { in eval_antikink() 156 double eval_dantikink(double x, double v, double x0) { in eval_dantikink() 165 void sg_kink(double vel, double x0, double k) { in sg_kink() 167 double h,x; in sg_kink() local 179 void sg_antikink(double vel, double x0, double k) { in sg_antikink() 181 double h,x; in sg_antikink() local 219 double h; in print_points() local [all …]
|
/dports/math/gecode/gecode-0916a1a/gecode/int/element/ |
H A D | pair.hpp | 39 Pair::Pair(Home home, IntView x0, IntView x1, IntView x2, int w0) in Pair() 43 Pair::post(Home home, IntView x0, IntView x1, IntView x2, in post() 44 int w, int h) { in post() 68 PairWithOffsets::PairWithOffsets(Home home, OffsetView x0, OffsetView x1, in PairWithOffsets() 74 PairWithOffsets::post(Home home, OffsetView x0, OffsetView x1, IntView x2, in post() 75 int w, int h) { in post()
|
/dports/misc/mnn/MNN-1.2.0/test/speed/ |
H A D | MatMulSpeed.cpp | 19 static void fillFloat(float* dst, int h, int w, float offset = 0.0f) { in fillFloat() 28 static void _originMatMul(float* C, const float* A, const float* B, int e, int l, int h) { in _originMatMul() 68 int h = iter[2]; in run() local 78 bool _run(int e, int h, int l) { in _run() 90 auto x0 = _Input({}, NHWC, halide_type_of<float>()); in _run() local 121 int h = iter[2]; in run() local 131 bool _run(int e, int h, int l) { in _run() 142 auto x0 = _Input({}, NHWC, halide_type_of<float>()); in _run() local 190 int h = iter[2]; in run() local 200 bool _runConst(int e, int h, int l) { in _runConst() [all …]
|
/dports/math/py-algopy/algopy-0.5.7/documentation/sphinx/examples/ |
H A D | comparison_to_complex_step_derivative_approximation.py | 14 h = 10**-20 variable 15 x0 = numpy.array([3,2],dtype=float) variable 26 h = 10**-8 variable
|
/dports/graphics/zbar/zbar-0.23.90/test/ |
H A D | test_images.c | 166 unsigned h) in fill_bars_y() 177 unsigned x0 = (((i + 1) * w) + 7) >> 3; in fill_bars_y() local 195 unsigned h, in fill_bars_uv() 208 unsigned x0 = (((i + 1) * w) + 7) >> 3; in fill_bars_uv() local 225 unsigned h, in fill_bars_nv() 239 unsigned x0 = (((i + 1) * w) + 7) >> 3; in fill_bars_nv() local 260 unsigned h, in fill_bars_yuv() 278 unsigned x0 = (((i + 1) * w) + 7) >> 3; in fill_bars_yuv() local 306 unsigned h, in fill_bars_rgb() 322 unsigned x0 = (((i + 1) * w) + 7) >> 3; in fill_bars_rgb() local [all …]
|
/dports/devel/clixon/clixon-4.8.0/lib/src/ |
H A D | clixon_datastore_read.c | 128 xml_copy_bottom_recurse(cxobj *x0t, in xml_copy_bottom_recurse() 202 xml_copy_from_bottom(cxobj *x0t, in xml_copy_from_bottom() 418 xmldb_readfile(clicon_handle h, in xmldb_readfile() 427 cxobj *x0 = NULL; in xmldb_readfile() local 517 xmldb_get_nocache(clicon_handle h, in xmldb_get_nocache() 624 xmldb_get_cache(clicon_handle h, in xmldb_get_cache() 635 cxobj *x0; in xmldb_get_cache() local 777 cxobj *x0; in xmldb_get_zerocopy() local 857 xmldb_get(clicon_handle h, in xmldb_get() 896 xmldb_get0(clicon_handle h, in xmldb_get0() [all …]
|
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/plugins/gpu_unai/ |
H A D | gpu_raster_sprite.h | 29 s32 x0, x1, y0, y1; in gpuDrawS() local 39 u32 h = packet.U2[7] & 0x1ff; // Max height is 511 in gpuDrawS() local 92 s32 x0, y0; in gpuDrawS16() local 96 u32 h = 16; in gpuDrawS16() local 133 s32 x0, x1, y0, y1; in gpuDrawT() local 140 u32 h = packet.U2[5] & 0x1ff; // Max height is 511 in gpuDrawT() local
|
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/plugins/gpu_unai/ |
H A D | gpu_raster_sprite.h | 29 s32 x0, x1, y0, y1; in gpuDrawS() local 39 u32 h = packet.U2[7] & 0x1ff; // Max height is 511 in gpuDrawS() local 92 s32 x0, y0; in gpuDrawS16() local 96 u32 h = 16; in gpuDrawS16() local 133 s32 x0, x1, y0, y1; in gpuDrawT() local 140 u32 h = packet.U2[5] & 0x1ff; // Max height is 511 in gpuDrawT() local
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/tests/graphics/ |
H A D | graphpath.cpp | 151 const wxDouble x0 = 20; in TestCurrentPoint() local 181 const wxDouble x0 = 25; in TestCurrentPoint() local 208 const wxDouble x0 = 20; in TestCurrentPoint() local 317 const wxDouble x0 = 50; in TestCurrentPoint() local 331 const wxDouble x0 = 50; in TestCurrentPoint() local 342 const wxDouble x0 = 10; in TestCurrentPoint() local 420 const wxDouble x0 = 10; in TestBox() local 442 const wxDouble x0 = 20; in TestBox() local 470 const wxDouble x0 = 20; in TestBox() local 509 const wxDouble x0 = 25; in TestBox() local [all …]
|
/dports/security/hashcat-legacy/hashcat-legacy-2.00/src/ |
H A D | gost-sse2.c | 289 #define R(k,h,s,i) \ argument 512 #define SHIFT61(h,v) \ argument 634 #define PASS0(h,s,u,v) \ argument 645 #define PASS2(h,s,u,v) \ argument 657 #define PASS4(h,s,u,v) \ argument 668 #define PASS6(h,s,u,v) \ argument 853 #define R_SSE2(k,h,s,i) \ argument 1267 #define PASS0_SSE2(h,s,u,v) \ argument 1278 #define PASS2_SSE2(h,s,u,v) \ argument 1290 #define PASS4_SSE2(h,s,u,v) \ argument [all …]
|
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/dotprod/tests/ |
H A D | dotprod_rrrf_autotest.c | 36 float h[16] = { in autotest_dotprod_rrrf_basic() local 40 float x0[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; in autotest_dotprod_rrrf_basic() local 84 float h[16] = { in autotest_dotprod_rrrf_uneven() local 124 float h[16] = { in autotest_dotprod_rrrf_struct() local 131 float x0[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; in autotest_dotprod_rrrf_struct() local 160 float h[16] = { in autotest_dotprod_rrrf_struct_align() local 207 float h[16] = { in autotest_dotprod_rrrf_rand01() local 234 float h[16] = { in autotest_dotprod_rrrf_rand02() local 274 float h[35] = { in autotest_dotprod_rrrf_struct_lengths() local 334 float h[_n]; in runtest_dotprod_rrrf() local
|
/dports/math/octave-forge-optim/optim-1.6.1/inst/ |
H A D | adsmax.m | 56 x0 = x(:); % Work with column vector internally. variable 104 h = sign(pi'*yi)*norm(pi.*yi)*mu; % Initial step size. variable 117 h = 2*h; lim = nstep; k = 1; variable 119 h = -h; lim = nstep+1; k = 0; variable 134 h = 2*h; variable
|
/dports/audio/rem/rem-0.5.3/src/vid/ |
H A D | draw.c | 83 unsigned x0, unsigned y0, unsigned w, in vidframe_draw_hline() 135 unsigned x0, unsigned y0, unsigned h, in vidframe_draw_vline() 159 void vidframe_draw_rect(struct vidframe *f, unsigned x0, unsigned y0, in vidframe_draw_rect() 160 unsigned w, unsigned h, in vidframe_draw_rect()
|
/dports/multimedia/ogmrip/ogmrip-1.0.1/subrip/ |
H A D | subp2pgm.c | 89 write_ppm (char *file_name, int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca, … in write_ppm() 127 write_png (char *file_name, int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca, … in write_png() 263 write_tiff (char *file_name, int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca,… in write_tiff() 333 unsigned int temp, h, m, s, ms; in write_pts() local 349 write_spu (int x0, int y0, int w, int h, unsigned char* src, unsigned char *srca, int stride) in write_spu() 430 unsigned int w, h; in parse_expand() local
|