/dports/math/alberta/alberta3-920315ae1bbfd1b1fb6672d916619ac37a411e95/demo/src/4d/ |
H A D | ellipt-klein-bottle.c | 221 REAL cos2t = SQR(cost); in f() 223 REAL cos2s2 = SQR(coss2); in f() 224 REAL gss = SQR(A)*( in f() 225 0.25-0.25*cos2t+1.0*cos2s2-1.0*cos2s2*cos2t+1.0/SQR(A)+2.0/A*sint*coss2); in f() 226 REAL gtt = SQR(A); in f() 233 REAL d2s_u = -SQR(k/2.0)*sin(k*s/2.0 + phase)*sin(K_t*t); in f() 234 REAL d2t_u = -SQR(K_t)*sin(k*s/2.0 + phase)*sin(K_t*t); in f() 240 f += -0.5*ds_u*ds_gss/SQR(gss) + 0.5*dt_u*dt_gss/gss/gtt; in f()
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | impulse_denoise.cc | 184 … dirwt = 1 / (SQR(lab->L[i1][j1] - lab->L[i][j]) + eps); //use more sophisticated rangefn??? in impulse_nr() 212 … dirwt = 1 / (SQR(lab->L[i1][j1] - lab->L[i][j]) + eps); //use more sophisticated rangefn??? in impulse_nr() 240 … dirwt = 1 / (SQR(lab->L[i1][j1] - lab->L[i][j]) + eps); //use more sophisticated rangefn??? in impulse_nr() 446 …dirwt = 1.f / (SQR(ncie->sh_p[i1][j1] - ncie->sh_p[i][j]) + eps); //use more sophisticated rangefn… in impulse_nrcam() 474 …dirwt = 1.f / (SQR(ncie->sh_p[i1][j1] - ncie->sh_p[i][j]) + eps); //use more sophisticated rangefn… in impulse_nrcam() 502 …dirwt = 1.f / (SQR(ncie->sh_p[i1][j1] - ncie->sh_p[i][j]) + eps); //use more sophisticated rangefn… in impulse_nrcam() 549 ncie->C_p[i][j] = sqrt(SQR(interb) + SQR(intera)); in impulse_nrcam()
|
/dports/math/alberta/alberta3-920315ae1bbfd1b1fb6672d916619ac37a411e95/alberta_util/src/ |
H A D | symmlq.c | 304 if (bnorm < SQR(eps) && xnorm < SQR(eps)) { in oem_symmlq() 544 tnorm = tnorm + SQR(alpha) + SQR(beta) * 2.0; in oem_symmlq() 562 gamma = sqrt(SQR(gbar) + SQR(oldb)); in oem_symmlq()
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/ |
H A D | hecmw_vis_generate_histogram_vr.c | 348 sqrt(SQR(vertex[0]) + SQR(vertex[1]) + SQR(vertex[2])); in find_dis_minmax() 350 dis = sqrt(SQR(vertex[i * 3] - view_point_d[0]) + in find_dis_minmax() 351 SQR(vertex[i * 3 + 1] - view_point_d[1]) + in find_dis_minmax() 352 SQR(vertex[i * 3 + 2] - view_point_d[2])); in find_dis_minmax()
|
H A D | hecmw_vis_pvr_main.c | 420 nview_n = sqrt(SQR(view_n[0]) + SQR(view_n[1]) + SQR(view_n[2])); in HECMW_vis_pvr_rendering() 448 nview_n = sqrt(SQR(view_n[0]) + SQR(view_n[1]) + SQR(view_n[2])); in HECMW_vis_pvr_rendering() 694 av_length = sqrt(SQR(voxel_dxyz[mynode * 3] / nx) + in HECMW_vis_pvr_rendering() 695 SQR(voxel_dxyz[mynode * 3 + 1] / ny) + in HECMW_vis_pvr_rendering() 696 SQR(voxel_dxyz[mynode * 3 + 2] / nz)); in HECMW_vis_pvr_rendering() 794 nn = sqrt(SQR(ray_direction[0]) + in HECMW_vis_pvr_rendering() 795 SQR(ray_direction[1]) + in HECMW_vis_pvr_rendering() 796 SQR(ray_direction[2])); in HECMW_vis_pvr_rendering() 955 dis_c_v = sqrt(SQR(center[0] - vr->view_point_d[0]) + in HECMW_vis_pvr_rendering() 956 SQR(center[1] - vr->view_point_d[1]) + in HECMW_vis_pvr_rendering() [all …]
|
/dports/audio/aubio/aubio-0.4.9/src/tempo/ |
H A D | beattracking.c | 102 p->rwv->data[i] = ((smpl_t) (i + 1.) / SQR ((smpl_t) rayparam)) * in new_aubio_beattracking() 103 EXP ((-SQR ((smpl_t) (i + 1.)) / (2. * SQR ((smpl_t) rayparam)))); in new_aubio_beattracking() 357 EXP (-.5 * SQR ((smpl_t) (j + 1. - gp)) / SQR (bt->g_var)); in aubio_beattracking_checkstate() 369 EXP (-.5 * SQR ((smpl_t) (1. + j - step + in aubio_beattracking_checkstate()
|
/dports/audio/py-aubio/aubio-0.4.9/src/tempo/ |
H A D | beattracking.c | 102 p->rwv->data[i] = ((smpl_t) (i + 1.) / SQR ((smpl_t) rayparam)) * 103 EXP ((-SQR ((smpl_t) (i + 1.)) / (2. * SQR ((smpl_t) rayparam)))); 357 EXP (-.5 * SQR ((smpl_t) (j + 1. - gp)) / SQR (bt->g_var)); 369 EXP (-.5 * SQR ((smpl_t) (1. + j - step +
|
/dports/graphics/art/ART-1.9.3/rtgui/ |
H A D | focusmask.cc | 33 using rtengine::SQR; in addFocusMask() 48 … const float kernel_size = SQR(2.f * blur_radius + 1.f); // count of pixels in the big blur kernel in addFocusMask() 50 …const float kernel_size2 = SQR(2.f * blur_radius2 + 1.f); // count of pixels in the small blur ker… in addFocusMask() 102 sumLSqu += SQR(curL); in addFocusMask()
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | PF_correct_RT.cc | 107 chromaChfactor = SQR(1.f + chparam); in PF_correct_RT() 110 …const float chroma = chromaChfactor * (SQR(lab->r(i, j) - tmpa[i][j]) + SQR(lab->b(i, j) - tmpb[i]… in PF_correct_RT() 129 const float threshfactor = 1.f / (SQR(thresh / 33.f) * chromave * 5.0f + chromave); in PF_correct_RT()
|
/dports/biology/cufflinks/cufflinks-2.2.1-89-gdc3b0cb/src/locfit/ |
H A D | lf_vari.c | 59 ww = SQR(des->w[i])*link[ZDDLL]; 61 tr[1] += SQR(des->w[i]); 112 multmatscal(M12,1/SQR(lf->dp[DSWT]),p*p); 148 ww = SQR(des->w[i])*des->w[i]*link[ZDDLL];
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/TonemappingOperators/fattal02/ |
H A D | pde_fft.cpp | 88 #ifndef SQR 89 #define SQR(x) (x) * (x) macro 175 v[i] = -4.0 * SQR(sin((double)i / (2 * (n - 1)) * in get_lambda() 319 res += SQR(laplace - F(x, y)); in residual_pde()
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/jai/opimage/ |
H A D | BilateralFilterOpImage.java | 24 private static float SQR(float x) { return x * x; } in SQR() method in BilateralFilterOpImage 46 kernel[wr+i] = (float) (1 / (2 * SQR(sigma_d)) * i * i + 0.25); in BilateralFilterOpImage() 47 scale_r = 1 / (2 * SQR(sigma_r)); in BilateralFilterOpImage()
|
/dports/multimedia/svt-hevc/SVT-HEVC-1.5.1/Source/Lib/Codec/ |
H A D | EbSampleAdaptiveOffsetGenerationDecision.c | 88 …* saoStats->boDiff[0][boIndex]) + ((EB_S32)saoStats->boCount[0][boIndex] * SQR(boOffset[boIndex]))… in DetermineSaoLumaModeOffsets() 126 …ff[0][eoType][eoIndex]) + ((EB_S32)saoStats->eoCount[0][eoType][eoIndex] * SQR(eoOffset[eoType][eo… in DetermineSaoLumaModeOffsets() 238 …Diff[0][boIndex]) + ((EB_S32)saoStats->boCount[chromaComponent][boIndex] * SQR(boOffset[chromaComp… in DetermineSaoChromaModeOffsets() 284 …eoIndex]) + ((EB_S32)saoStats->eoCount[chromaComponent][eoType][eoIndex] * SQR(eoOffset[chromaComp… in DetermineSaoChromaModeOffsets() 392 …ff[0][eoType][eoIndex]) + ((EB_S32)saoStats->eoCount[0][eoType][eoIndex] * SQR(eoOffset[eoType][eo… in DetermineSaoLumaModeOffsets_OnlyEo_90_45_135() 519 …romaComponent][leftSaoPtr->saoBandPosition[chromaComponent] + saoOffset] * SQR(leftSaoPtr->saoOffs… in TestSaoCopyModes() 557 …MPONENT_LUMA][upSaoPtr->saoBandPosition[SAO_COMPONENT_LUMA] + saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 563 …MPONENT_LUMA][upSaoPtr->saoTypeIndex[SAO_COMPONENT_LUMA] - 1][saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 577 …chromaComponent][upSaoPtr->saoBandPosition[chromaComponent] + saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 587 …aComponent][upSaoPtr->saoTypeIndex[SAO_COMPONENT_CHROMA] - 1][saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() [all …]
|
/dports/multimedia/gstreamer1-plugins-svt-hevc/SVT-HEVC-1.5.1/Source/Lib/Codec/ |
H A D | EbSampleAdaptiveOffsetGenerationDecision.c | 88 …* saoStats->boDiff[0][boIndex]) + ((EB_S32)saoStats->boCount[0][boIndex] * SQR(boOffset[boIndex]))… in DetermineSaoLumaModeOffsets() 126 …ff[0][eoType][eoIndex]) + ((EB_S32)saoStats->eoCount[0][eoType][eoIndex] * SQR(eoOffset[eoType][eo… in DetermineSaoLumaModeOffsets() 238 …Diff[0][boIndex]) + ((EB_S32)saoStats->boCount[chromaComponent][boIndex] * SQR(boOffset[chromaComp… in DetermineSaoChromaModeOffsets() 284 …eoIndex]) + ((EB_S32)saoStats->eoCount[chromaComponent][eoType][eoIndex] * SQR(eoOffset[chromaComp… in DetermineSaoChromaModeOffsets() 392 …ff[0][eoType][eoIndex]) + ((EB_S32)saoStats->eoCount[0][eoType][eoIndex] * SQR(eoOffset[eoType][eo… in DetermineSaoLumaModeOffsets_OnlyEo_90_45_135() 519 …romaComponent][leftSaoPtr->saoBandPosition[chromaComponent] + saoOffset] * SQR(leftSaoPtr->saoOffs… in TestSaoCopyModes() 557 …MPONENT_LUMA][upSaoPtr->saoBandPosition[SAO_COMPONENT_LUMA] + saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 563 …MPONENT_LUMA][upSaoPtr->saoTypeIndex[SAO_COMPONENT_LUMA] - 1][saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 577 …chromaComponent][upSaoPtr->saoBandPosition[chromaComponent] + saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() 587 …aComponent][upSaoPtr->saoTypeIndex[SAO_COMPONENT_CHROMA] - 1][saoOffset] * SQR(upSaoPtr->saoOffset… in TestSaoCopyModes() [all …]
|
/dports/graphics/frei0r/frei0r-1.7.0-18-g86475d3/include/ |
H A D | frei0r_math.h | 56 #ifndef SQR 58 #define SQR(x) ((x) * (x)) macro
|
/dports/graphics/frei0r-plugins-gavl/frei0r-1.7.0-18-g86475d3/include/ |
H A D | frei0r_math.h | 56 #ifndef SQR 58 #define SQR(x) ((x) * (x)) macro
|
/dports/graphics/frei0r-plugins-opencv/frei0r-1.7.0-18-g86475d3/include/ |
H A D | frei0r_math.h | 56 #ifndef SQR 58 #define SQR(x) ((x) * (x)) macro
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPreIntegration.cxx | 378 #define SQR(x) ((x) * (x)) in Initialize() macro 379 double diagonal_length = sqrt(SQR(cellbounds[1] - cellbounds[0]) + in Initialize() 380 SQR(cellbounds[3] - cellbounds[2]) + SQR(cellbounds[5] - cellbounds[4])); in Initialize() 381 #undef SQR in Initialize()
|
/dports/lang/tcbasic/tcbasic-2.2.0/ |
H A D | factor.c | 95 case SQR: in new_factor() 207 return new_factor(SQR, sqr); in parse_factor() 261 case SQR: in eval_factor() 320 case SQR: in print_factor() 384 case SQR: in free_factor()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPreIntegration.cxx | 399 #define SQR(x) ((x)*(x)) in Initialize() macro 400 double diagonal_length = sqrt( SQR(cellbounds[1]-cellbounds[0]) in Initialize() 401 + SQR(cellbounds[3]-cellbounds[2]) in Initialize() 402 + SQR(cellbounds[5]-cellbounds[4]) ); in Initialize() 403 #undef SQR in Initialize()
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPreIntegration.cxx | 399 #define SQR(x) ((x)*(x)) in Initialize() macro 400 double diagonal_length = sqrt( SQR(cellbounds[1]-cellbounds[0]) in Initialize() 401 + SQR(cellbounds[3]-cellbounds[2]) in Initialize() 402 + SQR(cellbounds[5]-cellbounds[4]) ); in Initialize() 403 #undef SQR in Initialize()
|
/dports/graphics/netpbm/netpbm-10.91.01/lib/util/ |
H A D | pm_c_util.h | 40 #undef SQR 41 #define SQR(a) ((a)*(a)) macro
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/contrib/ |
H A D | PerfectCrystal.comp | 375 E0 = SQR(v0) * VS2E; 496 vmin = v0 - sqrt(SQR(vx)+SQR(vy)+SQR(vz)) - smartwidth; 570 tt = RAD2DEG * atan2( sqrt(SQR(x)+SQR(y)) , zprime ); 574 phi = RAD2DEG * asin( y/sqrt( SQR(x) + SQR(y) + SQR(zprime) ) ); 590 phi1 = asin( y/sqrt( SQR(x) + SQR(y) + SQR(zprime) ) ); 627 xi = RAD2DEG * acos( - vperp / sqrt( SQR(vx) + SQR(vy) + SQR(vz+vd) ) ); 650 R = 1.0 - sqrt(SQR(eps)-1.0) / eps; 655 R = eps - sqrt(SQR(eps)-1.0); 670 R = exp( -SQR(eps) / 2.0 );
|
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/ |
H A D | mass.cpp | 36 #define SQR(x) ((x)*(x)) //!< Returns x square macro 373 Fcc = k3 * (SQR(n[A])*Paa + 2*n[A]*n[B]*Pab + SQR(n[B])*Pbb + in dMassSetTrimesh() 378 Fccc = -k4 * (CUBE(n[A])*Paaa + 3*SQR(n[A])*n[B]*Paab in dMassSetTrimesh() 379 + 3*n[A]*SQR(n[B])*Pabb + CUBE(n[B])*Pbbb in dMassSetTrimesh() 380 + 3*w*(SQR(n[A])*Paa + 2*n[A]*n[B]*Pab + SQR(n[B])*Pbb) in dMassSetTrimesh() 385 Fcca = k3 * (SQR(n[A])*Paaa + 2*n[A]*n[B]*Paab + SQR(n[B])*Pabb in dMassSetTrimesh()
|
/dports/games/alienarena-data/alienarena-7.66/source/unix/odesrc/ |
H A D | mass.cpp | 36 #define SQR(x) ((x)*(x)) //!< Returns x square macro 373 Fcc = k3 * (SQR(n[A])*Paa + 2*n[A]*n[B]*Pab + SQR(n[B])*Pbb + in dMassSetTrimesh() 378 Fccc = -k4 * (CUBE(n[A])*Paaa + 3*SQR(n[A])*n[B]*Paab in dMassSetTrimesh() 379 + 3*n[A]*SQR(n[B])*Pabb + CUBE(n[B])*Pbbb in dMassSetTrimesh() 380 + 3*w*(SQR(n[A])*Paa + 2*n[A]*n[B]*Pab + SQR(n[B])*Pbb) in dMassSetTrimesh() 385 Fcca = k3 * (SQR(n[A])*Paaa + 2*n[A]*n[B]*Paab + SQR(n[B])*Pabb in dMassSetTrimesh()
|