Home
last modified time | relevance | path

Searched refs:p_x2 (Results 1 – 15 of 15) sorted by relevance

/dports/math/plplot-ada/plplot-5.15.0/src/
H A Dplline.c706 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 Dplline.c706 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 Dutils.cpp88 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 Dplline.c43 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 Dalc_pars_p.c837 *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 Dr.tileset.py181 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 Dwilderness.c1023 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 Dtest_piecewise.py38 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 DplplotP.h574 plP_clipline( PLINT *p_x1, PLINT *p_y1, PLINT *p_x2, PLINT *p_y2,
/dports/math/plplot/plplot-5.15.0/include/
H A DplplotP.h574 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 Dtest_piecewise.py65 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 Dwild.c1354 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 Dgmic_stdlib.gmic32974 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 Dgmic_stdlib.gmic38232 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 Dgmic_stdlib.gmic39947 x2,y2,rx2,ry2,R2,G2,B2,p_x2,p_y2,p_rx2,p_ry2,\