Searched defs:cross (Results 1 - 19 of 19) sorted by relevance

/external/eigen/Eigen/src/Geometry/
H A DOrthoMethods.h18 * \returns the cross product of \c *this and \a other
20 * Here is a very good explanation of cross-product: http://xkcd.com/199/
22 * With complex numbers, the cross product is implemented as
34 MatrixBase<Derived>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::MatrixBase
72 * \returns the cross product of \c *this and \a other using only the x, y, and z coefficients
77 * \sa MatrixBase::cross()
99 * \returns a matrix expression of the cross product of each column or row
105 * \sa MatrixBase::cross() */
110 VectorwiseOp<ExpressionType,Direction>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::VectorwiseOp
222 * \sa cross()
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A DConformanceTest.java189 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC);
190 cross(field[1] /*NFC String*/, field[2]/*NFD String*/, Normalizer.NFD);
223 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC);
224 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD);
359 private void cross(String s1, String s2,Normalizer.Mode mode){ method in class:ConformanceTest
362 errln("cross test failed s1: " + Utility.hex(s1) + " s2: "
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DConformanceTest.java188 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC);
189 cross(field[1] /*NFC String*/, field[2]/*NFD String*/, Normalizer.NFD);
222 cross(field[4] /*NFKD String*/, field[3]/*NFKC String*/, Normalizer.NFKC);
223 cross(field[3] /*NFKC String*/, field[4]/*NFKD String*/, Normalizer.NFKD);
358 private void cross(String s1, String s2,Normalizer.Mode mode){ method in class:ConformanceTest
361 errln("cross test failed s1: " + Utility.hex(s1) + " s2: "
/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DIMath.js102 void cross(in J3DVector3 v); // replace the vector with vector x v
717 // X vector = Y cross Z
722 // Recompute Y = Z cross X
727 // cross product gives area of parallelogram, which is < 1.0 for
865 pdum3.cross(row2);
1026 J3DIVector3.prototype.cross = function(v)
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp79 case CROSS: return "cross";
286 Stack bb, cross; local
309 cross.push(ei.getNode());
319 cross.moveTo(bb);
/external/mesa3d/src/mesa/swrast/
H A Ds_aatriangle.c223 /* cross product determines if sample is inside or outside each edge */
224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); local
225 /* Check if the sample is exactly on an edge. If so, let cross be a
228 if (cross == 0.0F)
229 cross = dx0 + dy0;
230 if (cross < 0.0F) {
237 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0]));
238 if (cross == 0.0F)
239 cross = dx1 + dy1;
240 if (cross < 0.
[all...]
/external/skia/src/pathops/
H A DSkPathOpsPoint.h56 double cross(const SkDVector& a) const { function in struct:SkDVector
60 // similar to cross, this bastardization considers nearly coincident to be zero
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Ddo_plc.c41 int32_t cross, ener, cross_comp, ener_comp = 0; local
92 WebRtcIlbcfix_CompCorr( &cross, &ener,
95 /* Normalize and store cross^2 and the number of shifts */
96 shiftMax = WebRtcSpl_GetSizeInBits(WEBRTC_SPL_ABS_W32(cross))-15;
98 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax) *
99 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax)) >> 15);
107 do a cross multiplication */
134 cross = cross_comp;
163 /* Square the cross correlation and norm it such that max_perSquare
167 tmp1 = (int16_t)WEBRTC_SPL_SHIFT_W32(cross, (totscal
[all...]
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp162 inline Vector<T, Size> cross (const Vector<T, Size>& a, const Vector<T, Size>& b) function in namespace:tcu
/external/skia/include/core/
H A DSkPoint.h149 /** Returns the cross product of a and b, treating them as 2D vectors
458 /** Returns the cross product of a and b, treating them as 2D vectors
464 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint
484 * the values are consistent with the sign of (b-a) cross (pt-a)
/external/skia/src/utils/
H A DSkCamera.cpp52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { argument
53 SkASSERT(cross);
55 // use x,y,z, in case &a == cross or &b == cross
61 cross->set(x, y, z);
215 SkUnit3D axis, zenith, cross; local
217 // construct a orthonormal basis of cross (x), zenith (y), and axis (z)
230 SkUnit3D::Cross(axis, zenith, &cross);
245 // |____________\ cross
252 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross
[all...]
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py199 def cross(a, b): return a.cross(b) member in class:GenMath
471 def cross(self, v): member in class:Vec3
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py209 def cross(a, b): return a.cross(b) member in class:GenMath
564 def cross(self, v): member in class:Vec3
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py209 def cross(a, b): return a.cross(b) member in class:GenMath
566 def cross(self, v): member in class:Vec3
/external/libpng/contrib/tools/
H A Dgenpng.c560 double cross, dot; local
565 /* The dot product is the distance down the line, the cross product is
568 * distance = |cross| / sqrt(len2)
570 cross = x * ly - y * lx;
575 * |cross| >= w * sqrt(len2)
576 * cross^2 >= w^2 * len2:
578 if (cross*cross >= (w+expand)*(w+expand)*len2)
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp531 CvPoint3D32f cross = cvPoint3D32f(d1.y*d2.z - d1.z*d2.y, local
534 double den = cross.x*cross.x + cross.y*cross.y + cross.z*cross.z;
539 double t1 = det(x, d2, cross) / den;
540 double t2 = det(x, d1, cross) / den;
H A Dcvepilines.cpp413 if( pointB[2] < 0 )/* If negative use other lines for cross */
878 {/* We have not cross */
895 /* We have cross. And it's result cross for up line. Set result coefs */
913 {/* Line 1 cross image 2 */
951 {/* We have not cross */
969 /* We have cross. And it's result cross for down line. Set result coefs */
987 {/* Line 2 cross image 2 */
1013 /* Get cross fo
1018 icvGetCrossDirectDirect( CvVect64d direct1,CvVect64d direct2, CvPoint2D64d *cross,int* result) argument
1053 icvGetCrossPieceDirect( CvPoint2D64d p_start,CvPoint2D64d p_end, double a,double b,double c, CvPoint2D64d *cross,int* result) argument
1095 icvGetCrossPiecePiece( CvPoint2D64d p1_start,CvPoint2D64d p1_end, CvPoint2D64d p2_start,CvPoint2D64d p2_end, CvPoint2D64d* cross, int* result) argument
1181 CvPoint2D64d cross[4]; local
2190 CvPoint2D32f cross[4]; local
[all...]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTVector.h641 @fn cross
643 @brief calculate the cross product of two PVRTVec3s
645 PVRTVec3 cross(const PVRTVec3& rhs) const function in struct:PVRTVec3
2048 vSide = vUp.cross( vForward);
2050 vUpNorm = vForward.cross(vSide);
/external/skia/src/core/
H A DSkPath.cpp249 // check the cross product of v with the vec from edgeBegin to each rect corner
2347 SkScalar cross = SkPoint::CrossProduct(fLastVec, curVec); local
2353 if (!almost_equal(largest, largest + cross)) {
2354 int sign = SkScalarSignAsInt(cross);
2360 if (cross) {
2428 // fLastVec does not necessarily start at fLastPt. We only advance it when the cross product
2583 // returns cross product of (p1 - p0) and (p2 - p0)
2585 SkScalar cross = SkPoint::CrossProduct(p1 - p0, p2 - p0); local
2588 if (0 == cross) {
2598 cross
2662 crossToDir(SkScalar cross, SkPathPriv::FirstDirection* dir) argument
2701 SkScalar cross = 0; local
3041 SkScalar cross = (x1 - x0) * (y - pts[0].fY) - dy * (x - x0); local
[all...]

Completed in 842 milliseconds