/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/tutorial/ |
H A D | lesson_17_predicated_rdom.cpp | 76 for (int r_x = 0; r_x < 7; r_x++) { in main() local 78 if ((r_x - 3) * (r_x - 3) + (r_y - 3) * (r_y - 3) <= 10) { in main() 79 c_result[r_y][r_x] *= 2; in main() 132 for (int r_x = 0; r_x < 8; r_x++) { in main() local 134 if ((r_x + r_y > 5) && (3 * r_y - 2 * r_x < 15) && (4 * r_x - r_y < 20)) { in main() 135 c_result[r_y][r_x] *= 2; in main()
|
H A D | lesson_18_parallel_associative_reductions.cpp | 172 for (int r_x = 0; r_x < input.width(); r_x++) { in main() local 173 c_intm[y][input(r_x, y) / 32] += 1; in main() 251 for (int r_x = 0; r_x < input.width(); r_x++) { in main() local 252 c_result[x] += c_intm[r_x][x]; in main()
|
/dports/devel/py-PeachPy/PeachPy-01d1515/test/x86_64/ |
H A D | test_function.py | 113 r_x = GeneralPurposeRegister32() 115 LOAD.ARGUMENT(r_x, x) 118 ADD(r_x, r_y) 119 MOV(eax, r_x) 140 r_x = GeneralPurposeRegister32() 145 LOAD.ARGUMENT(r_x, x) 148 MOV(buffer, r_x) 175 r_x = GeneralPurposeRegister64() 178 LOAD.ARGUMENT(r_x, x) 184 MOVSS(xmm_value, [r_x])
|
/dports/math/reduce/Reduce-svn5758-src/packages/cde/examples_book/results/ |
H A D | bou_ho1_res.red | 5 + 22*c(59)*q*u_x*w - 11*c(59)*q_x*u*w - 8*c(59)*r*u_x + 3*c(59)*r_x*u - c(56)*p 7 *c(56)*q_x*u*w + 2*c(56)*r*u_x - 9*c(56)*r_x*u + 22*c(6)*p_x)/22$ 11 2 - 16*c(59)*q_x*v*w - 6*c(59)*q_x*w**3 - 8*c(59)*r*v_x + 4*c(59)*r_x*v + c(56)* 14 w + 18*c(56)*q_x*w**3 + 2*c(56)*r*v_x - 12*c(56)*r_x*v - 44*c(6)*q*w_x - 88*c(6) 15 *q_x*w + 22*c(6)*r_x)/22$ 18 c(59)*r*w_x + 2*c(59)*r_x*w - c(56)*p*u_x - 9*c(56)*p_x*u - 4*c(56)*q*v_x - 12*c 19 (56)*q_x*v + 2*c(56)*r*w_x - 6*c(56)*r_x*w + 22*c(6)*q_x)/22$
|
H A D | tfh_ell1_res.red | 4 ltfh_sf(2):= - p*v_x + q_t - q_x*u - 2*r_x$ 6 ltfh_sf(3):= - p*w_x - p_x*w - r*u_x + r_t - r_x*u$ 8 ltfh_star_sf(1):= - p_t + p_y - q*v_x + r_x*w$ 12 ltfh_star_sf(3):=2*q_x - r_t + r_x*u$
|
H A D | bou_ell1_res.red | 2 lbou_sf(1):=p_t - q_x - r*w_x - r_x*w$ 4 lbou_sf(2):=p*w_x + 3*p_x*w + q_t + 3*r*u_x + r_x*u$ 8 lbou_star_sf(1):= - p_t - 2*q*w_x - 3*q_x*w + r_x$
|
H A D | tfh_ho1_res.red | 4 phi(1) := c(15)*r_x$ 6 phi(2) := (c(15)*(2*q_x + r_x*u - r_y))/2$
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | math_solvers.c | 83 const float *a, const float *b, const float *c, const float *d, float *r_x, const int count) in BLI_tridiagonal_solve() argument 115 r_x[--i] = ((float)x_prev); in BLI_tridiagonal_solve() 119 r_x[i] = ((float)x_prev); in BLI_tridiagonal_solve() 134 const float *a, const float *b, const float *c, const float *d, float *r_x, const int count) in BLI_tridiagonal_solve_cyclic() argument 144 return BLI_tridiagonal_solve(a, b, c, d, r_x, count); in BLI_tridiagonal_solve_cyclic() 166 BLI_tridiagonal_solve(a, b2, c, d, r_x, count); in BLI_tridiagonal_solve_cyclic() 170 float coeff = (r_x[0] + r_x[count - 1]) / (1.0f + tmp[0] + tmp[count - 1]); in BLI_tridiagonal_solve_cyclic() 173 r_x[i] -= coeff * tmp[i]; in BLI_tridiagonal_solve_cyclic()
|
/dports/science/lammps/lammps-stable_29Sep2021/tools/phonon/ |
H A D | green.cpp | 171 std::complex<double> Z, z_m_a, r_x, rec_x, rec_x_inv; in Recursion() local 186 r_x = sqrt(-2.*two_b + z_m_a); in Recursion() 187 ax = std::real(r_x) * rtwob; in Recursion() 188 bx = std::imag(r_x) * rtwob; in Recursion() 190 r_x = sqrt(-2.*two_b + z_m_a); in Recursion() 191 ax = -std::real(r_x) * rtwob; in Recursion() 192 bx = -std::imag(r_x) * rtwob; in Recursion() 194 r_x = sqrt(2.*two_b - z_m_a); in Recursion() 195 ax = std::imag(r_x) * rtwob; in Recursion() 196 bx = -std::real(r_x) * rtwob; in Recursion()
|
/dports/graphics/frei0r/frei0r-1.7.0-18-g86475d3/src/generator/lissajous0r/ |
H A D | lissajous0r.cpp | 37 r_x = r_y = 0.0; in lissajous0r() 38 register_param(r_x,"ratiox","x-ratio"); in lissajous0r() 48 double rx=1.0/(0.999999-r_x); in update() 69 double r_x; member in lissajous0r
|
/dports/graphics/frei0r-plugins-gavl/frei0r-1.7.0-18-g86475d3/src/generator/lissajous0r/ |
H A D | lissajous0r.cpp | 37 r_x = r_y = 0.0; in lissajous0r() 38 register_param(r_x,"ratiox","x-ratio"); in lissajous0r() 48 double rx=1.0/(0.999999-r_x); in update() 69 double r_x; member in lissajous0r
|
/dports/graphics/frei0r-plugins-opencv/frei0r-1.7.0-18-g86475d3/src/generator/lissajous0r/ |
H A D | lissajous0r.cpp | 37 r_x = r_y = 0.0; in lissajous0r() 38 register_param(r_x,"ratiox","x-ratio"); in lissajous0r() 48 double rx=1.0/(0.999999-r_x); in update() 69 double r_x; member in lissajous0r
|
/dports/math/yices/yices-2.6.2/src/utils/ |
H A D | union_find.c | 171 uint8_t r_x, r_y; in partition_merge() local 175 r_x = p->rank[x]; in partition_merge() 178 assert(r_x != 255 || r_y != 255); in partition_merge() 180 if (r_x < r_y) { in partition_merge() 184 if (r_x == r_y) { in partition_merge() 185 p->rank[x] = r_x + 1; in partition_merge()
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/atom/ |
H A D | radialgd.py | 218 def interpolate(self, f_g, r_x): argument 238 r_x = np.linspace(0, self.r_g[-1], N) 239 f_x = self.interpolate(fr_g, r_x) 240 f_x[1:] /= r_x[1:] 242 G_k = np.linspace(0, pi / r_x[1], N // 2 + 1) 243 f_k = 4 * pi * fsbt(l, f_x, r_x, G_k) 249 r_x = np.linspace(0, Rcut, N, endpoint=False) 254 r2_x = r_x**2 258 xcut = int(np.ceil(rcut / r_x[1])) 275 self.r_g, a_g)(r_x) * r_x**(l - 1) [all …]
|
/dports/math/ogdf/OGDF/include/ogdf/basic/ |
H A D | DisjointSets.h | 412 int p_r_x =m_parents[r_x]; in quickUnion() 418 if (r_x == p_r_x) in quickUnion() 420 m_parents[r_x]=p_r_y; in quickUnion() 423 m_parents[r_x]=p_r_y; in quickUnion() 424 r_x = p_r_x; in quickUnion() 425 p_r_x = m_parents[r_x]; in quickUnion() 506 int p_r_x = m_parents[r_x]; in quickUnion() 512 if (r_x==p_r_x) in quickUnion() 522 m_parents[r_x]=p_r_y; in quickUnion() 523 r_x = p_r_x; in quickUnion() [all …]
|
/dports/games/dangen/dangen-0.5/spqr/ |
H A D | normal-enemy.c | 80 double r_x; in normal_enemy_new() local 426 r_length = tenm_sqrt((int) (r_x * r_x + r_y * r_y)); in normal_enemy_new() 429 r_x /= r_length; in normal_enemy_new() 433 dr_y = r_x; in normal_enemy_new() 719 double r_x; in normal_enemy_act() local 769 r_length = tenm_sqrt((int) (r_x * r_x + r_y * r_y)); in normal_enemy_act() 772 r_x /= r_length; in normal_enemy_act() 776 dr_y = r_x; in normal_enemy_act() 919 r_length = tenm_sqrt((int) (r_x * r_x + r_y * r_y)); in normal_enemy_act() 922 r_x /= r_length; in normal_enemy_act() [all …]
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/stattests/ |
H A D | kNML_tpl.h | 184 std::size_t r_x, r_y; in score_() local 186 r_x = db.domainSize(node2cols.second(idset[0])); in score_() 189 r_x = db.domainSize(idset[0]); in score_() 222 score += _param_complexity_.log2Cnr(r_x, n_yui); in score_() 225 score -= _param_complexity_.log2Cnr(r_x, n_ui); in score_() 256 score += _param_complexity_.log2Cnr(r_x, n_yui); in score_() 258 score -= _param_complexity_.log2Cnr(r_x, N); in score_()
|
/dports/math/mfem/mfem-4.3/examples/ |
H A D | ex25.cpp | 676 double r_x = x0 / r; in maxwell_solution() local 678 double r_xy = -(r_x / r) * r_y; in maxwell_solution() 679 double r_xx = (1.0 / r) * (1.0 - r_x * r_x); in maxwell_solution() 683 val_xx = 0.25 * zi * (r_xx * Ho_r + r_x * r_x * Ho_rr); in maxwell_solution() 695 double r_x = x0 / r; in maxwell_solution() local 698 double r_xx = (1.0 / r) * (1.0 - r_x * r_x); in maxwell_solution() 699 double r_yx = -(r_y / r) * r_x; in maxwell_solution() 700 double r_zx = -(r_z / r) * r_x; in maxwell_solution() 709 val_xx = val_rr * r_x * r_x + val_r * r_xx; in maxwell_solution() 710 val_yx = val_rr * r_x * r_y + val_r * r_yx; in maxwell_solution() [all …]
|
H A D | ex25p.cpp | 756 double r_x = x0 / r; in maxwell_solution() local 758 double r_xy = -(r_x / r) * r_y; in maxwell_solution() 759 double r_xx = (1.0 / r) * (1.0 - r_x * r_x); in maxwell_solution() 763 val_xx = 0.25 * zi * (r_xx * Ho_r + r_x * r_x * Ho_rr); in maxwell_solution() 775 double r_x = x0 / r; in maxwell_solution() local 778 double r_xx = (1.0 / r) * (1.0 - r_x * r_x); in maxwell_solution() 779 double r_yx = -(r_y / r) * r_x; in maxwell_solution() 780 double r_zx = -(r_z / r) * r_x; in maxwell_solution() 789 val_xx = val_rr * r_x * r_x + val_r * r_xx; in maxwell_solution() 790 val_yx = val_rr * r_x * r_y + val_r * r_yx; in maxwell_solution() [all …]
|
/dports/math/cppad/CppAD-20210000.8/example/abs_normal/ |
H A D | qp_interior.hpp | 342 Vector r_x(n); in qp_interior_F_0() local 344 { r_x[j] = g[j]; in qp_interior_F_0() 346 r_x[j] += G[j * n + i] * x[i]; in qp_interior_F_0() 348 r_x[j] += y[i] * C[i * n + j]; in qp_interior_F_0() 365 qp_interior_join(F_0, r_x, r_y, r_s); in qp_interior_F_0() 469 Vector r_x(n), r_y(m), r_s(m); in qp_interior() local 470 qp_interior_split(F_mu, r_x, r_y, r_s); in qp_interior() 483 right_x[j] -= r_x[j]; in qp_interior()
|
/dports/graphics/jogamp-jogl/jogl/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/ |
H A D | TestGLJPanelAWTBug450.java | 71 static int r_x, r_y; field in TestGLJPanelAWTBug450 82 r_x = 5*height/4; // 5/8 * width in initClass() 115 gl.glReadPixels( r_x, r_y, 1, 1, GL2GL3.GL_BGR, GL.GL_UNSIGNED_BYTE, bytebuffer ); in runTestGL() 123 … System.err.println("BGR ("+r_x+"/"+r_y+"): "+byte0+", "+byte1+", "+byte2+" - OK "+(!failed)); in runTestGL()
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vimt3d/ |
H A D | vimt3d_transform_3d.h | 137 void set_rigid_body(double r_x, double r_y, double r_z, 156 double r_x, double r_y, double r_z, 179 double r_x, double r_y, double r_z, 351 void setRotMat(double r_x, double r_y, double r_z);
|
/dports/graphics/bmeps/dktools-4.31.1/doc/tex/wxdkdraw/ |
H A D | td-rotelli-de.tex | 54 \tilde{k}_{\text{E}}:\quad{}\ora{r}(t)&=\left(\begin{array}{c}r_x\cos t\vspace{0.2em}\\r_y \sin t\e… 56 \frac{\intd}{\intd t}\ora{r}&=\left(\begin{array}{c}-r_x\sin t\vspace{0.2em}\\r_y\cos t\end{array}\… 58 \tan{(\pi-\alpha)}&=\frac{r_y\cos t_{\text{h}}}{-r_x\sin t_{\text{h}}}\\ 60 \frac{r_y}{-r_x\tan{(\pi-\alpha)}}&=\tan t_{\text{h}}\\[0.2em] 61 t_{\text{h}}&=\arctan{-\frac{r_y}{r_x\tan{(\pi-\alpha)}}}\\ 63 \tan{\left(\tfrac{\pi}{2}-\alpha\right)}&=\frac{r_y\cos t_{\text{w}}}{-r_x\sin t_{\text{w}}}\\ 65 t_{\text{w}}&=\arctan{-\frac{r_y}{r_x\tan{\left(\tfrac{\pi}{2}-\alpha\right)}}}
|
/dports/math/octave/octave-6.4.0/scripts/signal/ |
H A D | fftfilt.m | 60 [r_x, c_x] = size (x); 77 n = 2 ^ nextpow2 (r_x + l_b - 1); 89 R = ceil (r_x / L); 90 y = zeros (r_x, c_x); 93 hi = min (r * L, r_x); 97 hi = min (lo+n-1, r_x); 102 y = y(1:r_x, :);
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/ |
H A D | BLI_math_solvers.h | 49 const float *a, const float *b, const float *c, const float *d, float *r_x, const int count); 51 const float *a, const float *b, const float *c, const float *d, float *r_x, const int count);
|