/dports/math/plplot-ada/plplot-5.15.0/src/ |
H A D | plline.c | 706 if ( ( *p_x1 <= xmin && *p_x2 <= xmin ) || in plP_clipline() 707 ( *p_x1 >= xmax && *p_x2 >= xmax ) || in plP_clipline() 714 ( *p_x2 == PLINT_MIN ) || ( *p_y2 == PLINT_MIN ) ) in plP_clipline() 720 if ( *p_x2 < *p_x1 ) in plP_clipline() 723 *p_x2 = 2 * xmin - *p_x2; in plP_clipline() 742 dx = *p_x2 - *p_x1; in plP_clipline() 771 *p_x2 = *p_x2 - ROUND( ( *p_y2 - ymax ) * dxdy ); in plP_clipline() 775 if ( *p_x2 > xmax ) in plP_clipline() 778 *p_y2 = *p_y2 - ROUND( ( *p_x2 - xmax ) * dydx ); in plP_clipline() 779 *p_x2 = xmax; in plP_clipline() [all …]
|
/dports/math/plplot/plplot-5.15.0/src/ |
H A D | plline.c | 706 if ( ( *p_x1 <= xmin && *p_x2 <= xmin ) || 707 ( *p_x1 >= xmax && *p_x2 >= xmax ) || 714 ( *p_x2 == PLINT_MIN ) || ( *p_y2 == PLINT_MIN ) ) 720 if ( *p_x2 < *p_x1 ) 723 *p_x2 = 2 * xmin - *p_x2; 742 dx = *p_x2 - *p_x1; 771 *p_x2 = *p_x2 - ROUND( ( *p_y2 - ymax ) * dxdy ); 775 if ( *p_x2 > xmax ) 778 *p_y2 = *p_y2 - ROUND( ( *p_x2 - xmax ) * dydx ); 779 *p_x2 = xmax; [all …]
|
/dports/math/R-cran-NMF/NMF/src/ |
H A D | utils.cpp | 88 double* p_x2 = p_x + n-1; in ptr_pmax() local 90 if( *p_x2 < lim ) in ptr_pmax() 91 *p_x2 = lim; in ptr_pmax() 92 --p_x2; in ptr_pmax() 94 p_x2 = NULL; in ptr_pmax()
|
/dports/biology/emboss/EMBOSS-6.6.0/plplot/ |
H A D | plline.c | 43 clipline(PLINT *p_x1, PLINT *p_y1, PLINT *p_x2, PLINT *p_y2, 1073 if ((*p_x1 <= xmin && *p_x2 <= xmin) || in clipline() 1074 (*p_x1 >= xmax && *p_x2 >= xmax) || in clipline() 1082 if (*p_x2 < *p_x1) { in clipline() 1084 *p_x2 = 2 * xmin - *p_x2; in clipline() 1102 dx = *p_x2 - *p_x1; in clipline() 1127 *p_x2 = *p_x2 - ROUND((*p_y2 - ymax) * dxdy); in clipline() 1131 if (*p_x2 > xmax) { in clipline() 1133 *p_y2 = *p_y2 - ROUND((*p_x2 - xmax) * dydx); in clipline() 1134 *p_x2 = xmax; in clipline() [all …]
|
/dports/cad/alliance/alliance/src/mbk/src/ |
H A D | alc_pars_p.c | 837 *p_x , *p_y , *p_x2 , *p_y2 , *p_w, local 918 mc_nexttoken( p_y , p_x2 , ENBFIELDS); 919 mc_nexttoken( p_x2 , p_y2 , ENBFIELDS); 930 x2 = atol( p_x2); 1024 mc_nexttoken( p_y , p_x2 , ENBFIELDS); 1025 mc_nexttoken( p_x2 , p_y2 , ENBFIELDS); 1044 x2 = atol( p_x2 );
|
/dports/databases/grass7/grass-7.8.6/scripts/r.tileset/ |
H A D | r.tileset.py | 181 p_x2, p_y2, p_z2 = list(map(float, line.split(';'))) 182 points.append((p_x2 / dest['scale'], p_y2 / dest['scale']))
|
/dports/games/mangband/mangband-1.5.3/src/server/ |
H A D | wilderness.c | 1023 int h_x1,h_y1,h_x2,h_y2, p_x1,p_y1,p_x2,p_y2, in wild_add_dwelling() local 1099 reserve_building_plot(Depth, &p_x1, &p_y1, &p_x2, &p_y2, plot_xlen, plot_ylen, x, y); in wild_add_dwelling() 1102 h_x2 = p_x2 - ((plot_xlen - house_xlen)/2); h_y2 = p_y2 - ((plot_ylen - house_ylen)/2); in wild_add_dwelling()
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/functions/ |
H A D | test_piecewise.py | 38 p_x2 = Piecewise((-1, x**2 < -1), (x**4, x**2 < 0), (log(x**2), x**2 >= 0)) 39 assert p.subs({x: x**2}) == p_x2
|
/dports/math/plplot-ada/plplot-5.15.0/include/ |
H A D | plplotP.h | 574 plP_clipline( PLINT *p_x1, PLINT *p_y1, PLINT *p_x2, PLINT *p_y2,
|
/dports/math/plplot/plplot-5.15.0/include/ |
H A D | plplotP.h | 574 plP_clipline( PLINT *p_x1, PLINT *p_y1, PLINT *p_x2, PLINT *p_y2,
|
/dports/math/py-sympy/sympy-1.9/sympy/functions/elementary/tests/ |
H A D | test_piecewise.py | 65 p_x2 = Piecewise((-1, x**2 < -1), (x**4, x**2 < 0), (log(x**2), x**2 >= 0)) 66 assert p.subs(x, x**2) == p_x2
|
/dports/games/tomenet/tomenet-4.6.0/src/server/ |
H A D | wild.c | 1354 int h_x1,h_y1,h_x2,h_y2, p_x1,p_y1,p_x2,p_y2, local 1487 reserve_building_plot(wpos, &p_x1, &p_y1, &p_x2, &p_y2, plot_xlen, plot_ylen, x, y); 1490 h_x2 = p_x2 - ((plot_xlen - house_xlen)/2); h_y2 = p_y2 - ((plot_ylen - house_ylen)/2);
|
/dports/multimedia/zart/gmic-2.8.1/src/ |
H A D | gmic_stdlib.gmic | 32974 x2,y2,rx2,ry2,R2,G2,B2,p_x2,p_y2,p_rx2,p_ry2,\
|
/dports/graphics/gmic-qt/gmic-qt-v.2.9.8/gmic/src/ |
H A D | gmic_stdlib.gmic | 38232 x2,y2,rx2,ry2,R2,G2,B2,p_x2,p_y2,p_rx2,p_ry2,\
|
/dports/graphics/gmic/gmic-3.0.0/src/ |
H A D | gmic_stdlib.gmic | 39947 x2,y2,rx2,ry2,R2,G2,B2,p_x2,p_y2,p_rx2,p_ry2,\
|