/dports/devel/boost-docs/boost_1_72_0/libs/date_time/test/ |
H A D | testgeneric_period.cpp | 160 a_period p1x(0, -2); in main() local 169 a_period p1x(0, -1); in main() local 178 a_period p1x(0, 0); in main() local 181 check("End", p1x.end() == 0); in main() 187 a_period p1x(0, 1); in main() local 190 check("End", p1x.end() == 1); in main() 196 a_period p1x(0, 2); in main() local 199 check("End", p1x.end() == 2); in main() 226 check("End", p1x.end() == 0); in main() 264 check("shift", p1x == p2x); in main() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/date_time/test/ |
H A D | testgeneric_period.cpp | 160 a_period p1x(0, -2); in main() local 169 a_period p1x(0, -1); in main() local 178 a_period p1x(0, 0); in main() local 181 check("End", p1x.end() == 0); in main() 187 a_period p1x(0, 1); in main() local 190 check("End", p1x.end() == 1); in main() 196 a_period p1x(0, 2); in main() local 199 check("End", p1x.end() == 2); in main() 226 check("End", p1x.end() == 0); in main() 264 check("shift", p1x == p2x); in main() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/date_time/test/ |
H A D | testgeneric_period.cpp | 160 a_period p1x(0, -2); in main() local 169 a_period p1x(0, -1); in main() local 178 a_period p1x(0, 0); in main() local 181 check("End", p1x.end() == 0); in main() 187 a_period p1x(0, 1); in main() local 190 check("End", p1x.end() == 1); in main() 196 a_period p1x(0, 2); in main() local 199 check("End", p1x.end() == 2); in main() 226 check("End", p1x.end() == 0); in main() 264 check("shift", p1x == p2x); in main() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/date_time/test/ |
H A D | testgeneric_period.cpp | 160 a_period p1x(0, -2); in main() local 169 a_period p1x(0, -1); in main() local 178 a_period p1x(0, 0); in main() local 181 check("End", p1x.end() == 0); in main() 187 a_period p1x(0, 1); in main() local 190 check("End", p1x.end() == 1); in main() 196 a_period p1x(0, 2); in main() local 199 check("End", p1x.end() == 2); in main() 226 check("End", p1x.end() == 0); in main() 264 check("shift", p1x == p2x); in main() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/predicates/ |
H A D | predicates_for_mixed_complex_3.h | 38 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3() 43 return CGAL_NTS sign(((1-s)*p1x+s*x-xx)*(dx) + in side_of_mixed_cellC3() 62 ty = (p2z-p1z) * (p3x-p1x) - (p2x-p1x) * (p3z-p1z); in side_of_mixed_cellC3() 63 tz = (p2x-p1x) * (p3y-p1y) - (p2y-p1y) * (p3x-p1x); in side_of_mixed_cellC3() 67 ny = (p2z-p1z) * tx - (p2x-p1x) * tz; in side_of_mixed_cellC3() 68 nz = (p2x-p1x) * ty - (p2y-p1y) * tx; in side_of_mixed_cellC3() 71 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3() 96 ny = (p3z-p1z) * (p2x-p1x) - (p3x-p1x) * (p2z-p1z); in side_of_mixed_cellC3() 97 nz = (p3x-p1x) * (p2y-p1y) - (p3y-p1y) * (p2x-p1x); in side_of_mixed_cellC3() 104 weighted_circumcenterC3(p1x, p1y, p1z, p1w, in side_of_mixed_cellC3() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/baml/ |
H A D | baml_warp.cxx | 64 int p1x=int(wx); in baml_warp_perspective() local 65 double normx = wx-p1x; in baml_warp_perspective() 69 double i1 = img1(p1x,p1y) + in baml_warp_perspective() 70 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective() 71 double i2 = img1(p1x+1,p1y) + in baml_warp_perspective() 72 ( img1(p1x+1,p1y+1) - (double)img1(p1x+1,p1y) )*normy; in baml_warp_perspective() 133 int p1x=int(wx); in baml_warp_perspective() local 134 double normx = wx-p1x; in baml_warp_perspective() 138 double i1 = img1(p1x,p1y) + in baml_warp_perspective() 139 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective() [all …]
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/operation/overlayng/ |
H A D | EdgeKey.java | 35 private double p1x; field in EdgeKey 58 p1x = p1.getX(); in init() 69 if (p1x < ek.p1x) return -1; in compareTo() 70 if (p1x > ek.p1x) return 1; in compareTo() 83 && p1x == ek.p1x in equals() 97 result = 37 * result + hashCode(p1x); in hashCode() 116 + ", " + format(p1x, p1y) + ")"; in toString()
|
/dports/math/p5-Math-Bezier-Convert/Math-Bezier-Convert-0.02/ |
H A D | Convert.pm | 38 $p10x = $p0x + $sep * ($p1x - $p0x); 40 $p11x = $p1x + $sep * ($p2x - $p1x); 58 $p10x = $p0x + $sep * ($p1x - $p0x); 60 $p11x = $p1x + $sep * ($p2x - $p1x); 89 my ($v01x, $v01y) = ($p1x-$p0x, $p1y-$p0y); 111 ($p1x, $p1y, $p2x, $p2y, $p3x, $p3y) = @p; 130 my $deltax = 3*($p1x - $p0x); 132 my $betax = 3*($p2x - $p1x) - $deltax; 185 @p = ($p1x, $p1y, $p2x, $p2y, $p3x, $p3y) = @cp1; 239 my ($p1x, $p1y, $p2x, $p2y); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/ |
H A D | cubic_bezier.cc | 24 InitCoefficients(p1x, p1y, p2x, p2y); in CubicBezier() 25 InitGradients(p1x, p1y, p2x, p2y); in CubicBezier() 32 void CubicBezier::InitCoefficients(double p1x, in InitCoefficients() argument 38 cx_ = 3.0 * p1x; in InitCoefficients() 39 bx_ = 3.0 * (p2x - p1x) - cx_; in InitCoefficients() 50 monotonically_increasing_ = p1x >= 0 && p1x <= 1 && p2x >= 0 && p2x <= 1; in InitCoefficients() 54 void CubicBezier::InitGradients(double p1x, in InitGradients() argument 78 if (p1x > 0) in InitGradients() 79 start_gradient_ = p1y / p1x; in InitGradients() 89 else if (p2y == 1 && p1x < 1) in InitGradients() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/geometry/ |
H A D | cubic_bezier.cc | 24 InitCoefficients(p1x, p1y, p2x, p2y); in CubicBezier() 25 InitGradients(p1x, p1y, p2x, p2y); in CubicBezier() 32 void CubicBezier::InitCoefficients(double p1x, in InitCoefficients() argument 38 cx_ = 3.0 * p1x; in InitCoefficients() 39 bx_ = 3.0 * (p2x - p1x) - cx_; in InitCoefficients() 50 monotonically_increasing_ = p1x >= 0 && p1x <= 1 && p2x >= 0 && p2x <= 1; in InitCoefficients() 54 void CubicBezier::InitGradients(double p1x, in InitGradients() argument 78 if (p1x > 0) in InitGradients() 79 start_gradient_ = p1y / p1x; in InitGradients() 89 else if (p2y == 1 && p1x < 1) in InitGradients() [all …]
|
/dports/cad/pdnmesh/pdnmesh-0.2.2/src/ |
H A D | poly.c | 136 dx1 = p1x - p0x; in ccw() 170 ccw11 = ccw (e1.p1x, e1.p1y, e1.p2x, e1.p2y, e2.p1x, e2.p1y); in intersect() 172 ccw21 = ccw (e2.p1x, e2.p1y, e2.p2x, e2.p2y, e1.p1x, e1.p1y); in intersect() 187 ccw11 = ccw (e1.p1x, e1.p1y, e1.p2x, e1.p2y, e2.p1x, e2.p1y); in clean_intersect() 189 ccw21 = ccw (e2.p1x, e2.p1y, e2.p2x, e2.p2y, e1.p1x, e1.p1y); in clean_intersect() 271 lp.p1x, lp.p1y, lp.p2x, lp.p2y, lt.p1x, lt.p1y, lt.p2x, in inside_poly() 346 lt.p1x = p.x; in inside_poly_point() 356 lv.p1x = p.x; in inside_poly_point() 385 lp.p1x, lp.p1y, lp.p2x, lp.p2y, lt.p1x, lt.p1y, lt.p2x, in inside_poly_point() 572 lt.p1x, lt.p1y, lt.p2x, lt.p2y, lp.p1x, lp.p1y, in remove_polygon_mesh_intersections() [all …]
|
/dports/graphics/geos/geos-3.9.1/src/operation/overlayng/ |
H A D | EdgeKey.cpp | 55 p1x = p1.x; in init() 68 if (p1x < ek->p1x) return -1; in compareTo() 69 if (p1x > ek->p1x) return 1; in compareTo() 81 && p1x == ek->p1x in equals()
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | generatetet_refine.f | 29 & p1x,p1y,p1z,p2x,p2y,p2z,p3x,p3y,p3z,p4x,p4y,p4z,a11, local 115 p1x=cotet(1,nodes(1)) 131 a11=p1x-p2x 134 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0 136 a21=p1x-p3x 139 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0 141 a31=p1x-p4x 144 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0 155 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2) 164 cg(1,ielement)=(p1x+p2x+p3x+p4x)/4.d0
|
H A D | updategeodata.f | 35 & doubleglob(*),x,y,z,r,ratio(20),p1x,p1y,p1z,p2x,p2y,p2z,p3x, local 115 p1x=cotet(1,nodes(1)) 131 a11=p1x-p2x 134 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0 136 a21=p1x-p3x 139 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0 141 a31=p1x-p4x 144 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0 155 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2) 164 cg(1,ielement)=(p1x+p2x+p3x+p4x)/4.d0
|
H A D | generatetet_refine2.f | 20 & p1x,p1y,p1z,p2x,p2y,p2z,p3x,p3y,p3z,p4x,p4y,p4z,a11, 106 p1x=cotet(1,nodes(1)) 122 a11=p1x-p2x 125 d1=((p1x+p2x)*a11+(p1y+p2y)*a12+(p1z+p2z)*a13)/2.d0 127 a21=p1x-p3x 130 d2=((p1x+p3x)*a21+(p1y+p3y)*a22+(p1z+p3z)*a23)/2.d0 132 a31=p1x-p4x 135 d3=((p1x+p4x)*a31+(p1y+p4y)*a32+(p1z+p4z)*a33)/2.d0 146 r=dsqrt((x-p1x)**2+(y-p1y)**2+(z-p1z)**2) 155 cg(1,ielement)=(p1x+p2x+p3x+p4x)/4.d0
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/polynomial/ |
H A D | bigcomplex_polynomial.cc | 231 add(p2x, p2x, p1x); in root() 232 multiply(p1x, x, p1x); in root() 233 add(p1x, p1x, px); in root() 246 divide(dx, u, p1x); in root() 252 divide(dx, u, p1x); in root() 286 multiply(p1x, x, p1x); in root() 287 add(p1x, p1x, px); in root() 310 p1x.assign_zero(); in root() 314 add(p2x, p2x, p1x); in root() 315 multiply(p1x, x, p1x); in root() [all …]
|
/dports/lang/cim/cim-3.37/lib/ |
H A D | copytextarrtoc.c | 37 __txtvp *p1x; local 40 p1x = (__txtvp *) ((long) p + sizeofhode); 45 p2x[i] = __rcopytexttoc (p1x[i]); 48 p2x[i] = &p1x[i]->obj->string[p1x[i]->start - 1];
|
H A D | letext.c | 32 register unsigned char *p1x, local 39 p1x = (unsigned char *) &(t1x->obj->string[t1x->start - 1]); 46 if (*p1x > *p2x) 48 if (*p1x++ < *p2x++)
|
H A D | lttext.c | 32 register unsigned char *p1x, local 40 p1x = (unsigned char *) &(t1x->obj->string[t1x->start - 1]); 46 if (*p1x < *p2x) 48 if (*p1x++ > *p2x++)
|
H A D | textvalassign.c | 31 register char *p1x, local 43 p1x = (char *) &(t1x->obj->string[t1x->start - 1]); 47 *p1x++ = *p2x++; 50 *p1x++ = ' ';
|
/dports/audio/wolf-shaper-lv2/wolf-shaper-0.1.8-33-ge84de58/plugins/wolf-shaper/Structures/src/ |
H A D | Graph.cpp | 56 const float deltaX = p2x - p1x; in ~Ringbuffer() 72 result = deltaY * std::pow((input - p1x) / deltaX, exponent) + p1y; in ~Ringbuffer() 315 if (p1x == p2x) 335 const float deltaX = p2x - p1x; 342 return powerScale(input, tension, 15.0f, p1x, p1y, p2x, p2y, false); 346 const float middleX = p1x + deltaX / 2.0f; 362 return powerScale(input, tension, 15.0f, p1x, p1y, p2x, p2y, false); 376 result = std::floor((input - p1x) / stepX) * stepY + p1y; 380 result = std::floor((input - p1x) / stepX + 1) * stepY + p1y; 395 const float phase = p1x * frequency * 2.0f * M_PI; [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vil/tests/ |
H A D | vil_test_random_access_timings.cxx | 127 int p1x = int(x); in bilin_interp1() local 128 double normx = x - p1x; in bilin_interp1() 132 const T * pix1 = data + p1y * ystep + p1x * xstep; in bilin_interp1() 144 int p1x = int(x); in bilin_interp2() local 145 double normx = x - p1x; in bilin_interp2() 152 double i1 = row1[p1x] + (row1[p1x + 1] - row1[p1x]) * normx; in bilin_interp2() 153 double i2 = row2[p1x] + (row2[p1x + 1] - row2[p1x]) * normx; in bilin_interp2()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/src/ |
H A D | zrtp_crypto_ec.c | 82 struct BigNum *p1x, struct BigNum *p1y, in zrtp_ecAdd() argument 92 if (bnCmp (p1x, &bnzero) == 0 && bnCmp (p1y, &bnzero) == 0) { in zrtp_ecAdd() 98 bnCopy (rsltx, p1x); bnCopy (rslty, p1y); in zrtp_ecAdd() 104 if (bnCmp (p1x, p2x) == 0) { in zrtp_ecAdd() 107 bnCopy (&tsum, p1x); in zrtp_ecAdd() 124 if (bnCmp (p1x, p2x) == 0 && bnCmp (p1y, p2y) == 0) { in zrtp_ecAdd() 128 bnSquareMod_ (&gam, p1x, mod); in zrtp_ecAdd() 134 bnSubMod_ (&t1, p1x, mod); in zrtp_ecAdd() 142 bnSubMod_ (&trsltx, p1x, mod); in zrtp_ecAdd() 145 bnCopy (&trslty, p1x); in zrtp_ecAdd()
|
/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/ |
H A D | SUMA_trackball.c | 98 trackball(float q[4], float p1x, float p1y, float p2x, float p2y) in trackball() argument 105 if (p1x == p2x && p1y == p2y) { in trackball() 113 vset(p1, p1x, p1y, tb_project_to_sphere(TRACKBALLSIZE, p1x, p1y)); in trackball() 135 trackball_Phi(float q[4], float p1x, float p1y, float p2x, float p2y, float phi) in trackball_Phi() argument 141 if (p1x == p2x && p1y == p2y) { in trackball_Phi() 149 vset(p1, p1x, p1y, tb_project_to_sphere(TRACKBALLSIZE, p1x, p1y)); in trackball_Phi()
|
/dports/math/vtk9/VTK-9.1.0/Views/Infovis/ |
H A D | vtkParallelCoordinatesView.cxx | 442 double p1x = p1[0], p1y = p1[1]; in SetBrushLine() local 450 if (p1x == p2x) in SetBrushLine() 457 if (p1x > p2x) in SetBrushLine() 460 tmp = p1x; in SetBrushLine() 461 p1x = p2x; in SetBrushLine() 472 if (p1x > xs[i]) in SetBrushLine() 496 p1x = xs[left]; in SetBrushLine() 504 if (p1x >= p2x) in SetBrushLine() 526 spline->SetParametricRange(p1x, p2x); in SetBrushLine() 527 spline->AddPoint(p1x, p1y); in SetBrushLine() [all …]
|