/dports/science/pagmo2/pagmo2-2.18.0/src/problems/ |
H A D | cec2009.cpp | 296 yj = yj * yj; in UF1() 322 sum2 += yj * yj; in UF2() 329 sum1 += yj * yj; in UF2() 349 sum2 += yj * yj; in UF3() 353 sum1 += yj * yj; in UF3() 423 sum2 += yj * yj; in UF6() 427 sum1 += yj * yj; in UF6() 449 sum2 += yj * yj; in UF7() 452 sum1 += yj * yj; in UF7() 471 sum1 += yj * yj; in UF8() [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/ |
H A D | sort_angles.cpp | 36 auto yj = M(j, 0); in sort_angles() local 39 if (xi == xj && yi == yj) { in sort_angles() 52 if (xj >=0 && yj >= 0) { in sort_angles() 56 return yi < yj; in sort_angles() 60 } else if (xj < 0 && yj < 0) { in sort_angles() 66 if (xj >= 0 && yj >= 0) { in sort_angles() 72 return yi > yj; in sort_angles() 80 if (xj >= 0 && yj >= 0) { in sort_angles() 88 return yi > yj; in sort_angles() 94 if (xj >= 0 && yj >= 0) { in sort_angles() [all …]
|
/dports/graphics/wings/libigl-2.1.0/include/igl/ |
H A D | sort_angles.cpp | 36 auto yj = M(j, 0); in sort_angles() local 39 if (xi == xj && yi == yj) { in sort_angles() 52 if (xj >=0 && yj >= 0) { in sort_angles() 56 return yi < yj; in sort_angles() 60 } else if (xj < 0 && yj < 0) { in sort_angles() 66 if (xj >= 0 && yj >= 0) { in sort_angles() 72 return yi > yj; in sort_angles() 80 if (xj >= 0 && yj >= 0) { in sort_angles() 88 return yi > yj; in sort_angles() 94 if (xj >= 0 && yj >= 0) { in sort_angles() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Imaging/Stencil/ |
H A D | vtkLassoStencilSource.cxx | 243 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 247 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 256 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 261 p2[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 267 p3[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 305 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 309 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 337 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 363 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 509 yj = 2; in RequestData() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Imaging/Stencil/ |
H A D | vtkLassoStencilSource.cxx | 239 p0[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourcePolygon() 243 p1[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourcePolygon() 252 p0[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourcePolygon() 257 p2[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourcePolygon() 263 p3[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourcePolygon() 302 p0[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourceCreateSpline() 306 p1[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourceCreateSpline() 334 p0[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourceCreateSpline() 361 p1[1] = (p[yj] - origin[yj]) / spacing[yj]; in vtkLassoStencilSourceCreateSpline() 504 yj = 2; in RequestData() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Imaging/Stencil/ |
H A D | vtkLassoStencilSource.cxx | 243 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 247 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 256 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 261 p2[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 267 p3[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourcePolygon() 305 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 309 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 337 p0[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 363 p1[1] = (p[yj] - origin[yj])/spacing[yj]; in vtkLassoStencilSourceCreateSpline() 509 yj = 2; in RequestData() [all …]
|
/dports/math/cppad/CppAD-20210000.8/test_more/general/ |
H A D | sin_cos.cpp | 65 yj *= y ; in Sin() 91 yj = 1.; in Sin() 111 double value = sinjp * yj * x + double(j) * sinj * yj / y; in Sin() 115 yj *= y; in Sin() 164 yj *= y ; in Cos() 190 yj = 1.; in Cos() 210 double value = cosjp * yj * x + double(j) * cosj * yj / y; in Cos() 263 yj *= y ; in Cosh() 285 yj = 1.; in Cosh() 354 yj *= y ; in Sinh() [all …]
|
/dports/converters/yj-bruceadams/yj-1.1.34/ |
H A D | .cirrus.yml | 30 - mv target/aarch64-apple-darwin/release/yj yj.macos.aarch64 32 - mv target/x86_64-apple-darwin/release/yj yj.macos.x86_64 33 - lipo -create -output yj.macos.universal yj.macos.aarch64 yj.macos.x86_64 34 - file yj.macos.universal 36 path: yj.macos.* 57 - mv target/release/yj yj.$CIRRUS_OS.x86_64 60 path: yj.$CIRRUS_OS.* 90 - mv target/release/yj yj.$CIRRUS_OS.x86_64 93 path: yj.$CIRRUS_OS.* 137 - move target\x86_64-pc-windows-msvc\release\yj.exe yj.%CIRRUS_OS%.x86_64.exe [all …]
|
H A D | README.md | 2 …tatus](https://api.cirrus-ci.com/github/bruceadams/yj.svg)](https://cirrus-ci.com/github/bruceadam… 11 $ yj --help 12 yj 1.1.34 17 yj [FLAGS] [OPTIONS] [INPUT] 43 $ cargo install yj 47 [Github releases](https://github.com/bruceadams/yj/releases) 57 $ brew install bruceadams/utilities/yj 64 $ docker pull bruceadams/yj 84 $ yj .travis.yml 106 $ echo pi: 3.1415926 | yj [all …]
|
/dports/devel/R-cran-vctrs/vctrs/src/ |
H A D | compare.c | 36 int yj = *y; in lgl_compare_scalar() local 39 return icmp(xi, yj); in lgl_compare_scalar() 41 return (xi == NA_LOGICAL || yj == NA_LOGICAL) ? NA_INTEGER : icmp(xi, yj); in lgl_compare_scalar() 47 int yj = *y; in int_compare_scalar() local 50 return icmp(xi, yj); in int_compare_scalar() 52 return (xi == NA_INTEGER || yj == NA_INTEGER) ? NA_INTEGER : icmp(xi, yj); in int_compare_scalar() 58 double yj = *y; in dbl_compare_scalar() local 88 return (isnan(xi) || isnan(yj)) ? NA_INTEGER : dcmp(xi, yj); in dbl_compare_scalar() 96 const SEXP yj = *y; in chr_compare_scalar() local 102 return (yj == NA_STRING) ? 1 : scmp(xi, yj); in chr_compare_scalar() [all …]
|
/dports/cad/magic/magic-8.3.245/resis/ |
H A D | ResJunct.c | 46 ResNewSDDevice(tile, tp, xj, yj, direction, PendingList) in ResNewSDDevice() argument 48 int xj, yj, direction; 91 InitializeNode(resptr, xj, yj, RES_NODE_DEVICE); 95 NEWBREAK(resptr, tile, xj, yj, NULL); 114 int xj, yj, direction; 143 InitializeNode(resptr, xj, yj, RES_NODE_DEVICE); 147 NEWBREAK(resptr, tile, xj, yj, NULL); 165 ResProcessJunction(tile, tp, xj, yj, NodeList) in ResProcessJunction() argument 167 int xj, yj; 188 InitializeNode(resptr, xj, yj, RES_NODE_JUNCTION); [all …]
|
H A D | ResBasic.c | 134 int xj, yj; local 137 yj = (TOP(tile) + BOTTOM(tile)) / 2; 165 int xj, yj; local 168 yj = (TOP(tile) + BOTTOM(tile)) / 2; 200 int xj, yj, i; local 293 yj = (TOP(tp) + BOTTOM(tp)) >> 1; 316 yj = (TOP(tp)+BOTTOM(tp))>>1; 338 yj = TOP(tile); 345 yj = TOP(tile); 360 yj = BOTTOM(tile); [all …]
|
/dports/converters/yj/yj-5.0.0/ |
H A D | README.md | 1 # yj chapter 3 [![Build Status](https://travis-ci.org/sclevine/yj.svg?branch=master)](https://travis-ci.org/sclevi… 4 [![GoDoc](https://godoc.org/github.com/sclevine/yj?status.svg)](https://godoc.org/github.com/sclevi… 17 opal:yj stephen$ yj -h 18 Usage: yj [-][ytjcrneikhv] 24 -yj, -y = YAML to JSON (default) 48 The CLI is also available as a Docker image on [Docker Hub](https://hub.docker.com/r/sclevine/yj). 51 See [godoc](https://godoc.org/github.com/sclevine/yj) for details.
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos/src/scicos_sundials/src/ida/ |
H A D | ida_direct.c | 346 realtype inc, inc_inv, yj, ypj, srur, conj; in idaDlsDenseDQJac() local 384 yj = y_data[j]; in idaDlsDenseDQJac() 397 inc = (yj + inc) - yj; in idaDlsDenseDQJac() 405 if ((yj + inc)*conj < ZERO) in idaDlsDenseDQJac() 412 if ((yj + inc)*conj <= ZERO) in idaDlsDenseDQJac() 437 y_data[j] = yj; in idaDlsDenseDQJac() 525 yj = y_data[j]; in idaDlsBandDQJac() 539 inc = (yj + inc) - yj; in idaDlsBandDQJac() 548 if ((yj + inc)*conj < ZERO) in idaDlsBandDQJac() 584 yj = ytemp_data[j] = y_data[j]; in idaDlsBandDQJac() [all …]
|
/dports/math/p5-Math-Interpolate/Math-Interpolate-1.06/lib/Math/ |
H A D | Interpolate.pm | 54 my $yj = $Y->[0]; 61 $yi = $yj; 62 $yj = $yk; 65 my $r1 = ($xk - $xj)*($xk - $xj) + ($yk - $yj)*($yk - $yj); 66 my $r2 = ($xj - $xi)*($xj - $xi) + ($yj - $yi)*($yj - $yi); 69 ( ($yj - $yi)*$r1 + ($yk - $yj)*$r2 ) / 209 my $yj = $Y->[$j]; 211 my $slope = ($yk - $yj) / ($xk - $xj); 212 my $y0 = $yj + $slope * ($x - $xj); 213 my $dely0 = $yj + $dY->[$j] * ($x - $xj) - $y0;
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | thd_mattor.c | 13 double xi,xj,xk , yi,yj,yk , zi,zj,zk , val,detQ,detP ; in THD_matrix_to_orientation() local 21 UNLOAD_MAT(R,xi,xj,xk,yi,yj,yk,zi,zj,zk) ; in THD_matrix_to_orientation() 29 val = sqrt( xj*xj + yj*yj + zj*zj ) ; in THD_matrix_to_orientation() 30 if( val == 0.0 ){ xj = 0.0 ; yj = 1.0 ; zj = 0.0 ; } in THD_matrix_to_orientation() 35 xj -= val*xi ; yj -= val*yi ; zj -= val*zi ; in THD_matrix_to_orientation() 36 val = sqrt( xj*xj + yj*yj + zj*zj ) ; in THD_matrix_to_orientation() 37 xj /= val ; yj /= val ; zj /= val ; in THD_matrix_to_orientation() 41 if( val == 0.0 ){ xk = yi*zj-zi*yj; yk = zi*xj-zj*xi ; zk=xi*yj-yi*xj ; } in THD_matrix_to_orientation() 50 val = xj*xk + yj*yk + zj*zk ; /* and to col #2 */ in THD_matrix_to_orientation() 52 xk -= val*xj ; yk -= val*yj ; zk -= val*zj ; in THD_matrix_to_orientation() [all …]
|
/dports/audio/mumble/mumble-1.3.3/3rdparty/celt-0.11.0-src/libcelt/ |
H A D | cwrs.c | 418 yj=_k; in cwrsi2() 422 yj-=_k; in cwrsi2() 423 _y[0]=yj+s^s; in cwrsi2() 437 yj=_k; in cwrsi3() 443 yj-=_k; in cwrsi3() 460 yj=_k; in cwrsi4() 477 yj-=_k; in cwrsi4() 492 yj=_k; in cwrsi5() 509 yj-=_k; in cwrsi5() 531 yj=_k; in cwrsi() [all …]
|
/dports/graphics/cimg/CImg-v.2.9.7/plugins/ |
H A D | nlmeans.h | 105 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 107 if (cimg::abs(P(xi,yi,zi) - P(xj,yj,zj))/sig<3) { 110 if (xi!=xj && yi!=yj && zi!=zj){ 118 yj_ = yj + ky, 136 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,zj,v); 163 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 165 if (cimg::abs(P(xi,yi) - P(xj,yj))/sig<3.) { 168 if (!(xi==xj && yi==yj)) //{ 171 yj_ = yj + ky, 187 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,v);
|
H A D | chlpca.h | 65 for (int yi0 = std::max(0,yi-ry), yi1=std::min(yi + ry,(int)img.height() - 1), yj=yi0;yj<=yi1;++yj)… 70 for (int yi0 = std::max(0,yi-ry), yi1=std::min(yi + ry,(int)img.height() - 1), yj=yi0;yj<=yi1;++yj)… 107 cimg_forXY_window((*this), xi, yi, xj, yj, wx, wy){ in get_patch_dictionnary() 108 CImg<T> patch = get_patch(xj, yj, 0, px, py, 1); in get_patch_dictionnary() 110 if (xj==xi && yj==yi) idc = idx; in get_patch_dictionnary() 114 cimg_forXYZ_window((*this), xi,yi,zi,xj,yj,zj,wx,wy,wz){ in get_patch_dictionnary() 115 CImg<T> patch = get_patch(xj, yj, zj, px, py, pz); in get_patch_dictionnary() 117 if (xj==xi && yj==yi && zj==zi) idc = idx; in get_patch_dictionnary() 251 cimg_forXYZ_window((*this),xi,yi,zi,xj,yj,zj,wx,wy,wz){ in get_chlpca() 254 dest.add_patch(xj, yj, zj, Sk.get_column(id), px, py, pz); in get_chlpca() [all …]
|
/dports/graphics/gmic-qt/CImg-v.2.9.8/plugins/ |
H A D | nlmeans.h | 105 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 107 if (cimg::abs(P(xi,yi,zi) - P(xj,yj,zj))/sig<3) { 110 if (xi!=xj && yi!=yj && zi!=zj){ 118 yj_ = yj + ky, 136 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,zj,v); 163 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 165 if (cimg::abs(P(xi,yi) - P(xj,yj))/sig<3.) { 168 if (!(xi==xj && yi==yj)) //{ 171 yj_ = yj + ky, 187 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,v);
|
H A D | chlpca.h | 65 for (int yi0 = std::max(0,yi-ry), yi1=std::min(yi + ry,(int)img.height() - 1), yj=yi0;yj<=yi1;++yj)… 70 for (int yi0 = std::max(0,yi-ry), yi1=std::min(yi + ry,(int)img.height() - 1), yj=yi0;yj<=yi1;++yj)… 107 cimg_forXY_window((*this), xi, yi, xj, yj, wx, wy){ in get_patch_dictionnary() 108 CImg<T> patch = get_patch(xj, yj, 0, px, py, 1); in get_patch_dictionnary() 110 if (xj==xi && yj==yi) idc = idx; in get_patch_dictionnary() 114 cimg_forXYZ_window((*this), xi,yi,zi,xj,yj,zj,wx,wy,wz){ in get_patch_dictionnary() 115 CImg<T> patch = get_patch(xj, yj, zj, px, py, pz); in get_patch_dictionnary() 117 if (xj==xi && yj==yi && zj==zi) idc = idx; in get_patch_dictionnary() 251 cimg_forXYZ_window((*this),xi,yi,zi,xj,yj,zj,wx,wy,wz){ in get_chlpca() 254 dest.add_patch(xj, yj, zj, Sk.get_column(id), px, py, pz); in get_chlpca() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/CImg/ |
H A D | nlmeans.h | 105 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 107 if (cimg::abs(P(xi,yi,zi) - P(xj,yj,zj))/sig<3) { 110 if (xi!=xj && yi!=yj && zi!=zj){ 118 yj_ = yj + ky, 136 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,zj,v); 163 for (int yj = std::max(0,yi - pyi); yj<std::min(height(),yi + pyi + 1); ++yj) variable 165 if (cimg::abs(P(xi,yi) - P(xj,yj))/sig<3.) { 168 if (!(xi==xj && yi==yj)) //{ 171 yj_ = yj + ky, 187 cimg_forC(*this,v) uhat[v]+=w*(*this)(xj,yj,v);
|
/dports/science/cdcl/dcl-5.4.8-C/src/grph1/szpack/ |
H A D | szpcll.c | 30 static real yc, xi, xj[4], yj[4], yi, vx[4] /* was [2][2] */, vy[4] /* in szpcll_0_() local 141 yj[0] = ylim[(*ii << 1) + 1]; in szpcll_0_() 142 xj[0] = dxdy * (yj[0] - yc); in szpcll_0_() 144 yj[1] = yc + dydx * xj[1]; in szpcll_0_() 146 yj[2] = yc + dydx * xj[2]; in szpcll_0_() 147 yj[3] = ylim[*ii * 2]; in szpcll_0_() 148 xj[3] = dxdy * (yj[3] - yc); in szpcll_0_() 154 if (yj[1] >= ylim[*ii * 2] && yj[1] <= ylim[(*ii << 1) + 1]) { in szpcll_0_() 158 if (yj[2] >= ylim[*ii * 2] && yj[2] <= ylim[(*ii << 1) + 1]) { in szpcll_0_() 170 vy[*ii * 2] = yj[i1 - 1]; in szpcll_0_() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/ |
H A D | vil3d_resample_tricubic.hxx | 109 double xj=xk, yj=yk, zj=zk; // Start of k-th slice in vil3d_resample_tricubic() local 113 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic() 133 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic() 160 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic() 182 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic() 280 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic_edge_extend() 300 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic_edge_extend() 326 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic_edge_extend() 347 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic_edge_extend() 444 double x=xj, y=yj, z=zj; // Start of j-th row in vil3d_resample_tricubic_edge_trilin_extend() [all …]
|
/dports/math/gecode/gecode-0916a1a/test/int/ |
H A D | no-overlap.cpp | 69 int xj=xy[2*j+0], yj=xy[2*j+1]; in solution() local 71 (yi + h[i] <= yj) || (yj + h[j] <= yi))) in solution() 107 int xj=xyo[3*j+0], yj=xyo[3*j+1]; in solution() local 111 (yi + h[i] <= yj) || (yj + h[j] <= yi))) in solution() 144 int xj=xwyh[4*j+0], yj=xwyh[4*j+2]; in solution() local 147 (yi + hi <= yj) || (yj + hj <= yi))) in solution() 184 int xj=xwyho[5*j+0], yj=xwyho[5*j+2]; in solution() local 189 (yi + hi <= yj) || (yj + hj <= yi))) in solution() 229 int xj=xwyho[2*j+0], yj=xwyho[2*j+0]; in solution() local 234 (yi + hi <= yj) || (yj + hj <= yi))) in solution()
|