/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
D | NelderMead.java | 90 final double[] centroid = new double[n]; in iterateSimplex() local 94 centroid[j] += x[j]; in iterateSimplex() 99 centroid[j] *= scaling; in iterateSimplex() 105 xR[j] = centroid[j] + rho * (centroid[j] - xWorst[j]); in iterateSimplex() 120 xE[j] = centroid[j] + khi * (xR[j] - centroid[j]); in iterateSimplex() 139 xC[j] = centroid[j] + gamma * (xR[j] - centroid[j]); in iterateSimplex() 154 xC[j] = centroid[j] - gamma * (centroid[j] - xWorst[j]); in iterateSimplex()
|
/external/deqp/data/gles3/shaders/ |
D | qualification_order.test | 17 invariant smooth centroid out lowp float x0; 36 smooth centroid in lowp float x0; 58 smooth centroid out lowp float x0; 77 smooth centroid in lowp float x0; 99 invariant smooth centroid out float x0; 118 smooth centroid in float x0; 140 invariant centroid out lowp float x0; 159 centroid in lowp float x0; 181 centroid out lowp float x0; 200 centroid in lowp float x0; [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | GeometryUtils.java | 105 …2 triangleCentroid (float x1, float y1, float x2, float y2, float x3, float y3, Vector2 centroid) { in triangleCentroid() argument 106 centroid.x = (x1 + x2 + x3) / 3; in triangleCentroid() 107 centroid.y = (y1 + y2 + y3) / 3; in triangleCentroid() 108 return centroid; in triangleCentroid() 130 Vector2 centroid) { in quadrilateralCentroid() argument 135 centroid.x = avgX1 - (avgX1 - avgX2) / 2; in quadrilateralCentroid() 136 centroid.y = avgY1 - (avgY1 - avgY2) / 2; in quadrilateralCentroid() 137 return centroid; in quadrilateralCentroid() 141 static public Vector2 polygonCentroid (float[] polygon, int offset, int count, Vector2 centroid) { in polygonCentroid() argument 168 centroid.x = 0; in polygonCentroid() [all …]
|
D | DelaunayTriangulator.java | 39 private final Vector2 centroid = new Vector2(); field in DelaunayTriangulator 344 centroid); in trim() 345 if (!Intersector.isPointInPolygon(hull, offset, count, centroid.x, centroid.y)) { in trim()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | EuclideanIntegerPoint.java | 62 int[] centroid = new int[getPoint().length]; in centroidOf() local 64 for (int i = 0; i < centroid.length; i++) { in centroidOf() 65 centroid[i] += p.getPoint()[i]; in centroidOf() 68 for (int i = 0; i < centroid.length; i++) { in centroidOf() 69 centroid[i] /= points.size(); in centroidOf() 71 return new EuclideanIntegerPoint(centroid); in centroidOf()
|
/external/deqp/doc/testspecs/GLES31/ |
D | functional.shaders.multisample_interpolation.txt | 64 interpolate_at_sample.centroid_qualifier cases interpolate a centroid-qualified 67 different centroid-qualification. The centroid qualifier should not have any 79 interpolateAtCentroid are equal to the values of a centroid qualified varying. 81 centroid-qualified and non-centroid-qualified varying and then compares the 82 values of centroid-qualified varying and interpolateAtCentroid function return 83 value when given the non-centroid-qualified varying as an input. 95 qualifiers, with centroid qualifier and with per-sample qualifier.
|
/external/ImageMagick/MagickCore/ |
D | vision.c | 402 object[id].centroid.x+=x; in ConnectedComponentsImage() 403 object[id].centroid.y+=y; in ConnectedComponentsImage() 443 object[i].centroid.x=object[i].centroid.x/object[i].area; in ConnectedComponentsImage() 444 object[i].centroid.y=object[i].centroid.y/object[i].area; in ConnectedComponentsImage() 626 object[i].centroid.x=0; in ConnectedComponentsImage() 627 object[i].centroid.y=0; in ConnectedComponentsImage() 662 object[id].centroid.x+=x; in ConnectedComponentsImage() 663 object[id].centroid.y+=y; in ConnectedComponentsImage() 672 object[i].centroid.x=object[i].centroid.x/object[i].area; in ConnectedComponentsImage() 673 object[i].centroid.y=object[i].centroid.y/object[i].area; in ConnectedComponentsImage() [all …]
|
D | statistic.c | 1497 centroid[MaxPixelChannels+1]; in GetImageMoments() local 1513 (void) ResetMagickMemory(centroid,0,sizeof(centroid)); in GetImageMoments() 1576 centroid[channel].x=(double) image->columns/2.0; in GetImageMoments() 1577 centroid[channel].y=(double) image->rows/2.0; in GetImageMoments() 1581 centroid[channel].x=M10[channel]/M00[channel]; in GetImageMoments() 1582 centroid[channel].y=M01[channel]/M00[channel]; in GetImageMoments() 1616 M11[channel]+=(x-centroid[channel].x)*(y-centroid[channel].y)* in GetImageMoments() 1618 M11[MaxPixelChannels]+=(x-centroid[channel].x)*(y-centroid[channel].y)* in GetImageMoments() 1620 M20[channel]+=(x-centroid[channel].x)*(x-centroid[channel].x)* in GetImageMoments() 1622 M20[MaxPixelChannels]+=(x-centroid[channel].x)*(x-centroid[channel].x)* in GetImageMoments() [all …]
|
D | vision.h | 37 centroid; member
|
D | statistic.h | 55 centroid, member
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/defs/ |
D | interpolations.txt | 4 linear centroid 6 linear noperspective centroid
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | btCompoundFromGimpact.h | 52 btVector3 centroid = (v0+v1+v2)/3; in internalProcessTriangleIndex() local 55 btVector3 rayFrom = centroid; in internalProcessTriangleIndex() 56 btVector3 rayTo = centroid-normal*m_depth; in internalProcessTriangleIndex()
|
/external/libvorbis/vq/ |
D | vqgen.h | 30 int centroid; member 72 float *(*weight)(vqgen *,float *),int centroid);
|
D | vqgen.c | 242 float *(*weight)(vqgen *,float *),int centroid){ in vqgen_init() argument 245 v->centroid=centroid; in vqgen_init() 502 if(v->centroid==0){ in vqgen_iterate() 540 if(v->centroid==0){ in vqgen_iterate()
|
/external/opencv3/modules/imgproc/src/ |
D | phasecorr.cpp | 421 Point2d centroid; in weightedCentroid() local 453 centroid.x += (double)x*dataIn[x]; in weightedCentroid() 454 centroid.y += (double)y*dataIn[x]; in weightedCentroid() 469 centroid.x += (double)x*dataIn[x]; in weightedCentroid() 470 centroid.y += (double)y*dataIn[x]; in weightedCentroid() 483 centroid.x /= sumIntensity; in weightedCentroid() 484 centroid.y /= sumIntensity; in weightedCentroid() 486 return centroid; in weightedCentroid()
|
D | connectedcomponents.cpp | 111 double *centroid = ¢roidsv.at<double>(l, 0); in finish() local 113 centroid[0] = double(integral.x) / area; in finish() 114 centroid[1] = double(integral.y) / area; in finish()
|
/external/opencv3/doc/py_tutorials/py_video/py_meanshift/ |
D | py_meanshift.markdown | 22 rectangle, named "C1_o". But if you find the centroid of the points inside that window, you will 23 get the point "C1_r" (marked in small blue circle) which is the real centroid of window. Surely 25 centroid. Again find the new centroid. Most probably, it won't match. So move it again, and continue 26 the iterations such that center of window and its centroid falls on the same location (or with a
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.h | 35 boolean centroid; member
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_shader.h | 37 bool centroid; member
|
/external/ImageMagick/coders/ |
D | dds.c | 1435 centroid; in ComputeWeightedCovariance() local 1444 VectorInit3(centroid,0.0f); in ComputeWeightedCovariance() 1449 centroid.x += (points[i].x * points[i].w); in ComputeWeightedCovariance() 1450 centroid.y += (points[i].y * points[i].w); in ComputeWeightedCovariance() 1451 centroid.z += (points[i].z * points[i].w); in ComputeWeightedCovariance() 1456 centroid.x /= total; in ComputeWeightedCovariance() 1457 centroid.y /= total; in ComputeWeightedCovariance() 1458 centroid.z /= total; in ComputeWeightedCovariance() 1470 a.x = points[i].x - centroid.x; in ComputeWeightedCovariance() 1471 a.y = points[i].y - centroid.y; in ComputeWeightedCovariance() [all …]
|
/external/deqp/data/gles31/shaders/ |
D | linkage_geometry.test | 1018 case centroid 1020 desc "varying declared with centroid qualifier" 1030 centroid out mediump float vtx_var; 1040 centroid in mediump float vtx_var[]; 1041 centroid out mediump float geo_var; 1056 centroid in float geo_var;
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_driver.h | 46 unsigned centroid : 1; member
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 103 unsigned char centroid; member 324 unsigned centroid) in ureg_DECL_fs_input_cyl_centroid() argument 340 ureg->fs_input[i].centroid = centroid; in ureg_DECL_fs_input_cyl_centroid() 1237 unsigned centroid) in emit_decl_fs() argument 1256 out[2].decl_interp.Centroid = centroid; in emit_decl_fs() 1465 ureg->fs_input[i].centroid); in emit_decls()
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.shaders.linkage.txt | 31 + Flat and centroid varyings
|
/external/opencv3/doc/py_tutorials/py_feature2d/py_orb/ |
D | py_orb.markdown | 25 It computes the intensity weighted centroid of the patch with located corner at center. The 26 direction of the vector from this corner point to centroid gives the orientation. To improve the
|