/dports/graphics/evolvotron/evolvotron/libfunction/ |
H A D | xy.h | 32 class XY 63 XY() in XY() function 67 XY(const XY& v) in XY() function 81 ~XY() in ~XY() 171 inline real operator%(const XY& a,const XY& b) 177 inline const XY operator+(const XY& a,const XY& b) 183 inline const XY operator-(const XY& a,const XY& b) 189 inline const XY operator*(real k,const XY& v) 197 inline const XY operator*(const XY& v,real k) 205 inline const XY operator/(const XY& v,real k) [all …]
|
H A D | friezegroup.h | 74 const boost::tuple<real,XY,XY> b(blend(p.xy())); in FriezegroupBlend() 145 const XY operator()(const XY& p) const in operator() 167 const boost::tuple<real,XY,XY> operator()(const XY& p) const in operator() 170 return boost::tuple<real,XY,XY> in operator() 211 const XY operator()(const XY& p) const in operator() 223 const boost::tuple<float,XY,XY> operator()(const XY& p) const in operator() 259 const XY operator()(const XY& p) const in operator() 287 const XY operator()(const XY& p) const in operator() 311 const XY operator()(const XY& p) const in operator() 346 const boost::tuple<real,XY,XY> operator()(const XY& p) const in operator() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cursive_core-0.2.2/src/ |
H A D | xy.rs | 6 pub struct XY<T> { struct 23 impl<T> XY<T> { implementation 26 XY { x, y } in new() 252 pub fn zip<U>(self, other: XY<U>) -> XY<(T, U)> { in zip() 267 pub fn zip3<U, V>(self, a: XY<U>, b: XY<V>) -> XY<(T, U, V)> { in zip3() 356 pub fn keep(self, keep: XY<bool>) -> XY<Option<T>> { in keep() 441 pub fn unwrap_or(self, other: XY<T>) -> XY<T> { in unwrap_or() 510 pub fn select<T>(self, other: XY<T>) -> XY<Option<T>> { in select() 527 pub fn select_or<T>(self, if_true: XY<T>, if_false: XY<T>) -> XY<T> { in select_or() 567 impl<T, U> From<(XY<T>, XY<U>)> for XY<(T, U)> { implementation [all …]
|
H A D | vec.rs | 9 use crate::XY; 18 pub type Vec2 = XY<usize>; 40 impl XY<usize> { implementation 168 impl<T: Ord> XY<T> { implementation 229 pub fn max<A: Into<XY<T>>, B: Into<XY<T>>>(a: A, b: B) -> Self { in max() 243 pub fn min<A: Into<XY<T>>, B: Into<XY<T>>>(a: A, b: B) -> Self { in min() 348 impl<'a, T> From<&'a XY<T>> for XY<T> implementation 442 O: Into<XY<T>>, 461 O: Into<XY<T>>, 507 impl<T> Mul<XY<T>> for XY<T> implementation [all …]
|
/dports/games/zaz/zaz-1.0.1/src/ |
H A D | bezier.cpp | 28 std::vector<XY> ret; in Generate() 51 XY l1 = MIDP(p0, p1, t); in Generate() 52 XY l2 = MIDP(p1, p2, t); in Generate() 53 XY l3 = MIDP(p2, p3, t); in Generate() 55 XY m1 = MIDP(l1, l2, t); in Generate() 56 XY m2 = MIDP(l2, l3, t); in Generate() 67 double veclen(XY a, XY b) in veclen() 77 std::vector<XY> ret; in GenerateUniform() 102 XY lp = p0; in GenerateUniform() 130 std::vector<XY> ret; in GenerateBalls() [all …]
|
/dports/math/octave-forge-informationtheory/informationtheory-0.1.8/doc/ |
H A D | info-theory.m | 26 XY=[ 1/8 1/16 1/32 1/32; 31 mutualinformation(XY) 34 entropy(marginalc(XY)) - conditionalentropy_XY(XY) 35 entropy(marginalr(XY)) - conditionalentropy_YX(XY) 36 jointentropy(XY) 49 XY=[ 1/8 1/16 1/32 1/32; 54 % x=marginalr(XY) 55 % y=marginalc(XY) 59 j=jointentropy(XY); 68 XY=[ 1/8 1/16 1/32 1/32; [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dGcc/ |
H A D | Geom2dGcc_FunctionTanObl.cxx | 41 Fval = TheDirection.XY().Crossed(Vect.XY())/NormeD1; in Value() 54 Deriv = TheDirection.XY().Crossed(Vec2.XY())/NormeD1- in Derivative() 55 Vec1.XY().Dot(Vec2.XY())*TheDirection.XY().Crossed(Vec1.XY())/NormeD1; in Derivative() 68 Fval = TheDirection.XY().Crossed(Vec1.XY())/NormeD1; in Values() 69 Deriv = TheDirection.XY().Crossed(Vec2.XY())/NormeD1- in Values() 70 Vec1.XY().Dot(Vec2.XY())*TheDirection.XY().Crossed(Vec1.XY())/NormeD1; in Values()
|
/dports/math/py-matplotlib/matplotlib-3.4.3/src/tri/ |
H A D | _tri.h | 92 struct XY struct 94 XY(); 102 const XY& operator+=(const XY& other); 103 const XY& operator-=(const XY& other); 104 XY operator+(const XY& other) const; 105 XY operator-(const XY& other) const; 129 void add(const XY& point); argument 130 void expand(const XY& delta); 134 XY lower, upper; 546 struct Point : XY [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/tri/ |
H A D | _tri.h | 92 struct XY struct 94 XY(); 102 const XY& operator+=(const XY& other); 103 const XY& operator-=(const XY& other); 104 XY operator+(const XY& other) const; 105 XY operator-(const XY& other) const; 129 void add(const XY& point); argument 130 void expand(const XY& delta); 134 XY lower, upper; 546 struct Point : XY [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/include/simmath/internal/ |
H A D | BicubicSurface.h | 231 BicubicSurface(const Vec2& XY, const Vec2& spacing, 252 Real calcValue(const Vec2& XY) const; 271 UnitVec3 calcUnitNormal(const Vec2& XY) const; 305 const Vec2& XY) const; 318 bool isSurfaceDefined(const Vec2& XY) const; 423 void calcParaboloid(const Vec2& XY, PatchHint& hint, 549 Real calcValue(const Vector& XY) const override { in calcValue() argument 552 XY.size()); in calcValue() 553 return surface.calcValue(Vec2(XY[0],XY[1]), hint); in calcValue() 579 XY.size()); in calcDerivative() [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/samples/floatcanvas/ |
H A D | PixelBitmap.py | 31 def __init__(self, Bitmap, XY, Position = 'tl'): argument 52 self.XY = np.asarray(XY, dtype=np.int).reshape((2,)) 60 XY = self.XY 62 XY = (XY[0], h - XY[1] - self.Height) 64 XY = (XY[0], XY[1] + (h - self.Height)/2) 67 XY = (w - XY[0] - self.Width, XY[1]) 69 XY = (XY[0] + (w - self.Width)/2, XY[1]) 71 dc.DrawBitmap(self.Bitmap, XY, True)
|
/dports/cad/opencascade/opencascade-7.6.0/src/GccAna/ |
H A D | GccAna_Circ2d2TanRad.cxx | 123 pnttg1sol(1)=gp_Pnt2d(center2.XY()+signe*R2*dir1.XY()); in GccAna_Circ2d2TanRad() 124 pnttg2sol(1)=gp_Pnt2d(center1.XY()+R1*dir1.XY()); in GccAna_Circ2d2TanRad() 194 pnttg2sol(1)=gp_Pnt2d(center2.XY()+R2*dir1.XY()); in GccAna_Circ2d2TanRad() 332 pnttg1sol(1) = gp_Pnt2d(center1.XY()+R1*dir1.XY()); in GccAna_Circ2d2TanRad() 404 pnttg1sol(1) = gp_Pnt2d(center1.XY()-R1*dir1.XY()); in GccAna_Circ2d2TanRad() 449 pnttg1sol(1) = gp_Pnt2d(center1.XY()+R1*dir1.XY()); in GccAna_Circ2d2TanRad() 489 pnttg1sol(1) = gp_Pnt2d(center1.XY()+R1*dir1.XY()); in GccAna_Circ2d2TanRad() 490 pnttg2sol(1) = gp_Pnt2d(center2.XY()-R2*dir1.XY()); in GccAna_Circ2d2TanRad() 537 pnttg1sol(1) = gp_Pnt2d(center1.XY()+R1*dir1.XY()); in GccAna_Circ2d2TanRad() 591 dir1 = gp_Dir2d(Center.XY()-center1.XY()); in GccAna_Circ2d2TanRad() [all …]
|
H A D | GccAna_Circ2d2TanOn_7.cxx | 88 gp_Dir2d dircc(OnCirc.Location().XY()-center1.XY()); in GccAna_Circ2d2TanOn() 89 gp_Pnt2d pinterm(center1.XY()+(distcco-Ron)*dircc.XY()); in GccAna_Circ2d2TanOn() 95 pinterm = gp_Pnt2d(center1.XY()+(distcco-Ron)*dircc.XY()); in GccAna_Circ2d2TanOn() 114 gp_Dir2d dirbid(origin2.XY()-pinterm.XY()); in GccAna_Circ2d2TanOn() 128 gp_Dir2d dc1(center1.XY()-pinterm.XY()); in GccAna_Circ2d2TanOn() 129 gp_Dir2d dc2(origin2.XY()-pinterm.XY()); in GccAna_Circ2d2TanOn() 151 pnttg1sol(NbrSol) = gp_Pnt2d(pinterm.XY()+Rradius(i)*dc1.XY()); in GccAna_Circ2d2TanOn() 152 pnttg2sol(NbrSol) = gp_Pnt2d(pinterm.XY()+Rradius(i)*dc2.XY()); in GccAna_Circ2d2TanOn() 224 gp_Dir2d dc2(origin2.XY()-Center.XY()); in GccAna_Circ2d2TanOn() 249 gp_Dir2d dc1(center1.XY()-Center.XY()); in GccAna_Circ2d2TanOn() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos_blocks/macros/Misc/ |
H A D | anim_pen.sci | 47 xsegs(XY(1,:),XY(2,:)-rcirc) 57 xfpoly(XY(1,:),XY(2,:))// cart 59 xfarc(XY(1,1),XY(2,1),rcirc,rcirc,0,360*64) //wheel 60 xfarc(XY(1,2),XY(2,2),rcirc,rcirc,0,360*64) //wheel 63 xsegs(XY(1,:),XY(2,:)) 72 Axe.children(4).data=XY' 74 Axe.children(3).data(1)=XY(1,1) 75 Axe.children(3).data(2)=XY(2,1) 77 Axe.children(2).data(1)=XY(1,2) 78 Axe.children(2).data(2)=XY(2,2) [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/src/ |
H A D | _contour.h | 185 struct XY struct 187 XY(); 188 XY(const double& x_, const double& y_); 189 bool operator==(const XY& other) const; 192 const XY& operator+=(const XY& other); 193 const XY& operator-=(const XY& other); 194 XY operator+(const XY& other) const; 195 XY operator-(const XY& other) const; 207 class ContourLine : public std::vector<XY> argument 219 void push_back(const XY& point); [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/src/ |
H A D | _contour.h | 185 struct XY struct 187 XY(); 188 XY(const double& x_, const double& y_); 189 bool operator==(const XY& other) const; 192 const XY& operator+=(const XY& other); 193 const XY& operator-=(const XY& other); 194 XY operator+(const XY& other) const; 195 XY operator-(const XY& other) const; 207 class ContourLine : public std::vector<XY> argument 219 void push_back(const XY& point); [all …]
|
/dports/graphics/py-blockdiag/blockdiag-2.0.1/src/blockdiag/noderenderer/ |
H A D | actor.py | 20 from blockdiag.utils import XY, Box, Size 41 self.connectors[2] = XY(self.center.x, 70 return [XY(bodyC.x + neckWidth, bodyC.y - r * 2), 72 XY(bodyC.x + arm, bodyC.y - armWidth), 76 XY(bodyC.x + legXout, bodyC.y + legYout), 77 XY(bodyC.x + legXin, bodyC.y + legYin), 81 XY(bodyC.x - legXin, bodyC.y + legYin), 82 XY(bodyC.x - legXout, bodyC.y + legYout), 85 XY(bodyC.x - arm, bodyC.y), 86 XY(bodyC.x - arm, bodyC.y - armWidth), [all …]
|
/dports/biology/molden/molden5.8/test/ |
H A D | uracil_gauss.out | 539 13 4XY 0.00000 0.00000 0.00000 0.00000 -0.00001 554 28 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 569 43 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 584 58 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 619 93 4XY 0.00000 0.00000 0.00000 0.00000 0.00001 634 108 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 649 123 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 664 138 4XY 0.00000 0.00000 0.00000 0.00000 0.00000 682 13 4XY 0.00000 0.00000 0.00000 -0.00016 0.00003 697 28 4XY 0.00001 0.00000 0.00000 0.00003 0.00017 [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/meta/editing/other/ |
H A D | typing-around-link-element-at-collapsed-selection.tentative.html.ini | 162 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 165 …[Inserting "XY" after making a link in <b> (following Selection.collapseToEnd) in <p><b>[abc\]</b>… 168 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 171 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 177 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] 180 [Inserting "XY" after making a link in <b> (following Home key press) in <p><b>[abc\]</b></p>] 265 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 271 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 274 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 280 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/meta/editing/other/ |
H A D | typing-around-link-element-at-collapsed-selection.tentative.html.ini | 162 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 165 …[Inserting "XY" after making a link in <b> (following Selection.collapseToEnd) in <p><b>[abc\]</b>… 168 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 171 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 177 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] 180 [Inserting "XY" after making a link in <b> (following Home key press) in <p><b>[abc\]</b></p>] 265 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 271 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 274 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 280 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/meta/editing/other/ |
H A D | typing-around-link-element-at-collapsed-selection.tentative.html.ini | 162 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 165 …[Inserting "XY" after making a link in <b> (following Selection.collapseToEnd) in <p><b>[abc\]</b>… 168 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 171 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 177 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] 180 [Inserting "XY" after making a link in <b> (following Home key press) in <p><b>[abc\]</b></p>] 265 [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>] 271 …[Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p… 274 [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>] 280 …[Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>] [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/demos/ |
H A D | anim_pen.sci | 19 XY=S*[rpar(4),rpar(5);-csiz/2,-csiz/2] 22 xsegs(XY(1,:),XY(2,:)) 25 XY=S*[x1 x2 x2 x1 x1;y1,y1,y2,y2,y1] 26 xpoly(XY(1,:),XY(2,:),"lines",1) 27 XY=S*[x,x+plen*sin(theta);0,0+plen*cos(theta)] 28 xsegs(XY(1,:),XY(2,:)); 37 XY=Axe.children(2).data' + [cos(phi)*(x-xold);sin(phi)*(x-xold)]*ones(1,5); 38 Axe.children(2).data=XY' ; 40 XY=[x1,x1+plen*sin(theta);y1,y1+plen*cos(theta)] ; 41 Axe.children(1).data=XY' ;
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/tests/unit_tests/ |
H A D | anim_pen.sci | 19 XY=S*[rpar(4),rpar(5);-csiz/2,-csiz/2] 22 xsegs(XY(1,:),XY(2,:)) 25 XY=S*[x1 x2 x2 x1 x1;y1,y1,y2,y2,y1] 26 xpoly(XY(1,:),XY(2,:),"lines",1) 27 XY=S*[x,x+plen*sin(theta);0,0+plen*cos(theta)] 28 xsegs(XY(1,:),XY(2,:)); 37 XY=Axe.children(2).data' + [cos(phi)*(x-xold);sin(phi)*(x-xold)]*ones(1,5); 38 Axe.children(2).data=XY' ; 40 XY=[x1,x1+plen*sin(theta);y1,y1+plen*cos(theta)] ; 41 Axe.children(1).data=XY' ;
|
/dports/graphics/py-seqdiag/seqdiag-2.0.0/src/seqdiag/ |
H A D | metrics.py | 145 lines.append(((XY(pt.x, y1 + d), XY(pt.x, y2 - d)), '2,8')) 452 return [XY(box[0], box[1]), XY(box[2], box[1]), 453 XY(box[2] + r, box[1] + r), XY(box[2] + r, box[3]), 454 XY(box[0], box[3]), XY(box[0], box[1])] 481 return [XY(box[0], box[1]), XY(box[2], box[1]), 482 XY(box[2] + r, box[1] + r), XY(box[2] + r, box[3]), 483 XY(box[0], box[3]), XY(box[0], box[1])] 526 lines.append((XY(x1, y - d), XY(self.labelbox[0], y - d))) 527 lines.append((XY(x1, y + d), XY(self.labelbox[0], y + d))) 528 lines.append((XY(self.labelbox[2], y - d), XY(x2, y - d))) [all …]
|
/dports/biology/mopac/mopac7-1.15/fortran/ |
H A D | aababc.f | 24 COMMON /XYIJKL/ XY(NMECI,NMECI,NMECI,NMECI) local 34 50 SUM=SUM+ (XY(I,J,K,K)-XY(I,K,J,K))*(IOCCA1(K)-OCCA(K)) + 53 COMMON /XYIJKL/ XY(NMECI,NMECI,NMECI,NMECI) local 77 XR=XY(I,J,K,L) 119 COMMON /XYIJKL/ XY(NMECI,NMECI,NMECI,NMECI) local 132 SUM=(XY(I,K,J,L)-XY(I,L,K,J)) 161 50 SUM=SUM+ (XY(I,J,K,K)-XY(I,K,J,K))*(IOCCB1(K)-OCCA(K)) + 198 BABBCD=(XY(I,K,J,L)-XY(I,L,J,K))*ONE 201 FUNCTION DIAGI(IALPHA,IBETA,EIGA,XY,NMOS) 216 X=X+((XY(I,I,J,J)-XY(I,J,I,J))*IALPHA(J)*0.5D0 + [all …]
|