/dports/graphics/tesseract/tesseract-5.0.0/src/arch/ |
H A D | simddetect.cpp | 253 dotproduct = dotproduct_env; in SIMDDetect() 262 if (dotproduct == "auto") { in Update() 264 } else if (dotproduct == "generic") { in Update() 268 } else if (dotproduct == "native") { in Update() 273 } else if (dotproduct == "avx2") { in Update() 279 } else if (dotproduct == "avx") { in Update() 285 } else if (dotproduct == "fma") { in Update() 291 } else if (dotproduct == "sse") { in Update() 297 } else if (dotproduct == "accelerate") { in Update() 313 dotproduct.c_str()); in Update() [all …]
|
/dports/science/cdo/cdo-2.0.0/src/lib/yac/ |
H A D | check_overlap.c | 370 static inline double dotproduct(double a[], double b[]) { in dotproduct() function 406 int tmp = dotproduct(c, cross[0]) >= 0.0; in point_in_cell_unstruct_quad() 407 tmp += dotproduct(d, cross[0]) >= 0.0; in point_in_cell_unstruct_quad() 408 tmp += dotproduct(a, cross[1]) >= 0.0; in point_in_cell_unstruct_quad() 409 tmp += dotproduct(d, cross[1]) >= 0.0; in point_in_cell_unstruct_quad() 410 tmp += dotproduct(a, cross[2]) >= 0.0; in point_in_cell_unstruct_quad() 411 tmp += dotproduct(b, cross[2]) >= 0.0; in point_in_cell_unstruct_quad() 412 tmp += dotproduct(b, cross[3]) >= 0.0; in point_in_cell_unstruct_quad() 413 tmp += dotproduct(c, cross[3]) >= 0.0; in point_in_cell_unstruct_quad() 421 (dotproduct(point_coords, cross[3]) + yac_angle_tol >= 0.0); in point_in_cell_unstruct_quad() [all …]
|
/dports/science/bagel/bagel-1.2.2/src/asd/ |
H A D | asd_compute_diagonal.hpp | 84 const double dotproduct = isigma->dot_product(*icc); in compute_diagonal_1e() local 88 out->element(stateAB, stateApB) += dotproduct; in compute_diagonal_1e() 89 out->element(stateApB, stateAB) += dotproduct; in compute_diagonal_1e() 92 const double dotproduct = isigma->dot_product(*ccvecA->data(stateA)); in compute_diagonal_1e() local 95 out->element(stateAB,stateAB) += dotproduct; in compute_diagonal_1e() 104 const double dotproduct = isigma->dot_product(*icc); in compute_diagonal_1e() local 108 out->element(stateAB, stateABp) += dotproduct; in compute_diagonal_1e() 109 out->element(stateABp, stateAB) += dotproduct; in compute_diagonal_1e() 112 const double dotproduct = ccvecB->data(stateB)->dot_product(*isigma); in compute_diagonal_1e() local 115 out->element(stateAB,stateAB) += dotproduct; in compute_diagonal_1e()
|
/dports/biology/emboss/EMBOSS-6.6.0/ajax/core/ |
H A D | ajvector.c | 336 float dotproduct; in aj3dVectorAngle() local 354 dotproduct = aj3dVectorDotProduct(first, second); in aj3dVectorAngle() 357 radians = (float)atan2((double)lenproduct, (double)dotproduct); in aj3dVectorAngle() 446 float dotproduct; in aj3dVectorDotProduct() local 449 dotproduct = first->x * second->x; in aj3dVectorDotProduct() 450 dotproduct += first->y * second->y; in aj3dVectorDotProduct() 451 dotproduct += first->z * second->z; in aj3dVectorDotProduct() 453 return(dotproduct); in aj3dVectorDotProduct()
|
/dports/devel/arm-elf-binutils/binutils-2.37/gas/testsuite/gas/aarch64/ |
H A D | illegal-dotproduct.d | 3 #name: Invalid dotproduct instructions. 4 #source: illegal-dotproduct.s 5 #error_output: illegal-dotproduct.l
|
/dports/devel/gnulibiberty/binutils-2.37/gas/testsuite/gas/aarch64/ |
H A D | illegal-dotproduct.d | 3 #name: Invalid dotproduct instructions. 4 #source: illegal-dotproduct.s 5 #error_output: illegal-dotproduct.l
|
/dports/devel/binutils/binutils-2.37/gas/testsuite/gas/aarch64/ |
H A D | illegal-dotproduct.d | 3 #name: Invalid dotproduct instructions. 4 #source: illegal-dotproduct.s 5 #error_output: illegal-dotproduct.l
|
/dports/astro/gpsbabel14/gpsbabel-1.4.4/ |
H A D | grtcirc.c | 37 static double dotproduct(double x1, double y1, double z1, in dotproduct() function 211 dot = dotproduct(x3,y3,z3,xa,ya,za); in linedistprj() 227 d1 = dotproduct(xa1, ya1, za1, xa, ya, za); in linedistprj() 230 d2 = dotproduct(xa2, ya2, za2, xa, ya, za); in linedistprj() 255 c1 = dotproduct(x1,y1,z1,xp,yp,zp); in linedistprj() 256 c2 = dotproduct(x2,y2,z2,xp,yp,zp); in linedistprj() 290 dot = dotproduct(x1,y1,z1,x2,y2,z2); in linedistprj() 368 theta = atan2(dotproduct(xx,yx,zx,x2,y2,z2), in linepart() 369 dotproduct(x1,y1,z1,x2,y2,z2)); in linepart()
|
/dports/astro/gpsbabel/gpsbabel-gpsbabel_1_7_0/ |
H A D | grtcirc.cc | 41 static double dotproduct(double x1, double y1, double z1, in dotproduct() function 195 dot = dotproduct(x3, y3, z3, xa, ya, za); in linedistprj() 210 double d1 = dotproduct(xa1, ya1, za1, xa, ya, za); in linedistprj() 213 double d2 = dotproduct(xa2, ya2, za2, xa, ya, za); in linedistprj() 237 double c1 = dotproduct(x1, y1, z1, xp, yp, zp); in linedistprj() 238 double c2 = dotproduct(x2, y2, z2, xp, yp, zp); in linedistprj() 272 dot = dotproduct(x1, y1, z1, x2, y2, z2); in linedistprj() 338 double theta = atan2(dotproduct(xx,yx,zx,x2,y2,z2), in linepart() 339 dotproduct(x1,y1,z1,x2,y2,z2)); in linepart()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osgSim/ |
H A D | Sector | 64 float dotproduct = eyeLocal.x()*_sinAzim+eyeLocal.y()*_cosAzim; 66 if (dotproduct<_cosFadeAngle*length) return 0.0f; // out of sector. 67 if (dotproduct>=_cosAngle*length) return 1.0f; // fully in sector. 68 return (dotproduct-_cosFadeAngle*length)/((_cosAngle-_cosFadeAngle)*length); 101 float dotproduct = eyeLocal.z(); // against z axis - eyeLocal*(0,0,1). 103 if (dotproduct>_cosMaxFadeElevation*length) return 0.0f; // out of sector 104 if (dotproduct<_cosMinFadeElevation*length) return 0.0f; // out of sector 105 if (dotproduct>_cosMaxElevation*length) 108 … return (dotproduct-_cosMaxFadeElevation*length)/((_cosMaxElevation-_cosMaxFadeElevation)*length); 110 if (dotproduct<_cosMinElevation*length) [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/include/osgSim/ |
H A D | Sector | 64 float dotproduct = eyeLocal.x()*_sinAzim+eyeLocal.y()*_cosAzim; 66 if (dotproduct<_cosFadeAngle*length) return 0.0f; // out of sector. 67 if (dotproduct>=_cosAngle*length) return 1.0f; // fully in sector. 68 return (dotproduct-_cosFadeAngle*length)/((_cosAngle-_cosFadeAngle)*length); 101 float dotproduct = eyeLocal.z(); // against z axis - eyeLocal*(0,0,1). 103 if (dotproduct>_cosMaxFadeElevation*length) return 0.0f; // out of sector 104 if (dotproduct<_cosMinFadeElevation*length) return 0.0f; // out of sector 105 if (dotproduct>_cosMaxElevation*length) 108 … return (dotproduct-_cosMaxFadeElevation*length)/((_cosMaxElevation-_cosMaxFadeElevation)*length); 110 if (dotproduct<_cosMinElevation*length) [all …]
|
/dports/math/maxima/maxima-5.43.2/share/linearalgebra/ |
H A D | rtest_linalg.mac | 151 dotproduct(matrix([1]),matrix([1])); 154 dotproduct(matrix([%i]),matrix([%i])); 157 dotproduct(matrix([1],[2]),matrix([-2],[1])); 160 dotproduct(matrix([1],[%i]),matrix([1],[%i])); 197 every(lambda([e], e=0), map(lambda([e], apply('dotproduct,e)), 212 every(lambda([e], e=0), map(lambda([e], apply('dotproduct,e)), 228 every(lambda([e], e=0), map(lambda([e], apply('dotproduct,e)), 244 every(lambda([e], e=0), map(lambda([e], apply('dotproduct,e)), 260 every(lambda([e], e=0), map(lambda([e], apply('dotproduct,e)), 277 every(lambda([e], e=0), map(lambda([e], expand(apply('dotproduct,e))), [all …]
|
/dports/math/vowpal_wabbit/vowpal_wabbit-7.10/demo/advertising/ |
H A D | naive_baseline.py | 66 dotproduct = float(vw.stdout.readline()) 70 ll += log(1+exp(-dotproduct)) 72 ll += log(1+exp(dotproduct))
|
/dports/math/asymptote/asymptote-2.67/base/ |
H A D | three_light.asy | 102 real dotproduct=abs(dot(normal,L)); 103 diffuse += dotproduct*light.diffuse[i]; 104 dotproduct=abs(dot(normal,unit(L+Z))); 106 specular += dotproduct^s*light.specular[i];
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgSim/ |
H A D | Sector.cpp | 211 float dotproduct = eyeLocal*_axis; in operator ()() local 213 if (dotproduct>_cosAngle*length) return 1.0f; // fully in sector in operator ()() 214 if (dotproduct<_cosAngleFade*length) return 0.0f; // out of sector in operator ()() 215 return (dotproduct-_cosAngleFade*length)/((_cosAngle-_cosAngleFade)*length); in operator ()()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgSim/ |
H A D | Sector.cpp | 211 float dotproduct = eyeLocal*_axis; 213 if (dotproduct>_cosAngle*length) return 1.0f; // fully in sector 214 if (dotproduct<_cosAngleFade*length) return 0.0f; // out of sector 215 return (dotproduct-_cosAngleFade*length)/((_cosAngle-_cosAngleFade)*length);
|
/dports/lang/racket/racket-8.3/share/pkgs/deinprogramm/deinprogramm/DMdA/teachpack/ |
H A D | line3d.rkt | 15 dotproduct-vec3 29 dotproduct-vec4
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/ |
H A D | region_prism.cpp | 440 if (dotproduct(xproduct,norm) < 0.0) return 0; in inside_tri() 445 if (dotproduct(xproduct,norm) < 0.0) return 0; in inside_tri() 450 if (dotproduct(xproduct,norm) < 0.0) return 0; in inside_tri() 471 double t = dotproduct(ca,ba) / dotproduct(ba,ba); in point_on_line_segment() 530 double RegPrism::dotproduct(double *v1, double *v2) in dotproduct() function in RegPrism
|
H A D | region_cone.h | 78 double dotproduct(double *, double *);
|
/dports/science/chrono/chrono-7.0.1/src/chrono/multicore_math/ |
H A D | simd_avx.h | 275 __m256d dotproduct = _mm256_add_pd(swapped, blended); in Dot4() local 276 return dotproduct; in Dot4() 297 __m256d dotproduct = _mm256_add_pd(swapped, blended); in Dot4() local 298 return dotproduct; in Dot4()
|
H A D | matrix.cpp | 59 __m256d dotproduct = _mm256_add_pd(swapped, blended); in DotMM() local 60 return dotproduct; in DotMM() 88 __m256d dotproduct = _mm256_add_pd(swapped, blended); in DotMM() local 89 return dotproduct; in DotMM() 128 __m256d dotproduct = _mm256_add_pd(swapped, blended); in MulM_TM() local 129 _mm256_storeu_pd(&result.array[i * 4], dotproduct); in MulM_TM() 190 __m256d dotproduct = _mm256_add_pd(swapped, blended); in NormalEquations() local 192 _mm256_storeu_pd(&result.array[0], dotproduct); in NormalEquations() 198 dotproduct = _mm256_add_pd(swapped, blended); in NormalEquations() 199 _mm256_storeu_pd(&result.array[4], dotproduct); in NormalEquations()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/onl/ |
H A D | levenberg_marquardt.cl | 40 void dot_product(__local float * x1, __local float * x2, __local float * dotproduct, int n ) 46 dotproduct[0] = 0.0f; 48 dotproduct[0] = dotproduct[0] + x1[k]*x2[k];
|
/dports/games/openmw/openmw-openmw-0.47.0/components/nifosg/ |
H A D | particle.cpp | 425 float dotproduct = particle->getVelocity() * mPlaneInParticleSpace.getNormal(); in operate() local 427 if (dotproduct > 0) in operate() 432 …reflectedVelocity = particle->getVelocity() - mPlaneInParticleSpace.getNormal() * (2 * dotproduct); in operate() 498 float dotproduct = particle->getVelocity() * normal; in operate() local 500 osg::Vec3 reflectedVelocity = particle->getVelocity() - normal * (2 * dotproduct); in operate()
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/vector/ |
H A D | vector.py | 128 dotproduct = Integer(0) 130 dotproduct += (v1.components.get(x, 0) * 133 return dotproduct
|
/dports/science/pybrain/pybrain-0.3.3/pybrain/rl/environments/ode/tools/ |
H A D | mathhelpers.py | 5 def dotproduct(p, q): function
|