/external/chromium_org/third_party/flot/ |
jquery.flot.symbol.min.js | 10 symbol: "square" // or "diamond", "triangle", "cross" 14 */(function(e){function t(e,t,n){var r={square:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.rect(t-s,n-s,s+s,s+s)},diamond:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI/2);e.moveTo(t-s,n),e.lineTo(t,n-s),e.lineTo(t+s,n),e.lineTo(t,n+s),e.lineTo(t-s,n)},triangle:function(e,t,n,r,i){var s=r*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),o=s*Math.sin(Math.PI/3);e.moveTo(t-s/2,n+o/2),e.lineTo(t+s/2,n+o/2),i||(e.lineTo(t,n-o/2),e.lineTo(t-s/2,n+o/2))},cross:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.moveTo(t-s,n-s),e.lineTo(t+s,n+s),e.moveTo(t-s, (…) method
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
Vector.cpp | 96 Vector3 Vector3::cross(const Vector3 &a, const Vector3 &b) function in class:Vector3
|
/ndk/tests/build/issue22345-ICE-postreload/jni/ |
issue22345-ICE-postreload.cpp | 38 inline Vector3 cross(const Vector3& v1, const Vector3& v2) { function in namespace:math 49 math::normalize(math::cross(v1, v2));
|
/external/eigen/Eigen/src/Geometry/ |
OrthoMethods.h | 18 * \returns the cross product of \c *this and \a other 20 * Here is a very good explanation of cross-product: http://xkcd.com/199/ 26 MatrixBase<Derived>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::MatrixBase 64 * \returns the cross product of \c *this and \a other using only the x, y, and z coefficients 69 * \sa MatrixBase::cross() 89 /** \returns a matrix expression of the cross product of each column or row 97 * \sa MatrixBase::cross() */ 101 VectorwiseOp<ExpressionType,Direction>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::VectorwiseOp 206 * \sa cross()
|
/frameworks/native/include/ui/ |
vec3.h | 94 // cross product works only on vectors of size 3 97 tvec3 __attribute__((pure)) cross(const tvec3& u, const tvec3<RT>& v) { function in class:android::tvec3
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-raytrace.js | 87 function cross(v1, v2) { function 128 var normal = cross(edge1, edge2); 263 var xaxis = normaliseVector(cross(up, zaxis)); 264 var yaxis = normaliseVector(cross(xaxis, subVector([0,0,0], zaxis)));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-raytrace.js | 87 function cross(v1, v2) { function 128 var normal = cross(edge1, edge2); 263 var xaxis = normaliseVector(cross(up, zaxis)); 264 var yaxis = normaliseVector(cross(xaxis, subVector([0,0,0], zaxis)));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
3d-raytrace.js | 87 function cross(v1, v2) { function 128 var normal = cross(edge1, edge2); 263 var xaxis = normaliseVector(cross(up, zaxis)); 264 var yaxis = normaliseVector(cross(xaxis, subVector([0,0,0], zaxis)));
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatPoint3D.h | 99 // Sets this FloatPoint3D to the cross product of the passed two. 102 void cross(const FloatPoint3D& a, const FloatPoint3D& b) function in class:WebCore::FloatPoint3D 112 // Convenience function returning "this cross point" as a 114 FloatPoint3D cross(const FloatPoint3D& point) const function in class:WebCore::FloatPoint3D 117 result.cross(*this, point);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
do_plc.c | 41 int32_t cross, ener, cross_comp, ener_comp = 0; local 90 WebRtcIlbcfix_CompCorr( &cross, &ener, 93 /* Normalize and store cross^2 and the number of shifts */ 94 shiftMax = WebRtcSpl_GetSizeInBits(WEBRTC_SPL_ABS_W32(cross))-15; 95 crossSquareMax = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(WEBRTC_SPL_SHIFT_W32(cross, -shiftMax), 96 WEBRTC_SPL_SHIFT_W32(cross, -shiftMax), 15); 104 do a cross multiplication */ 131 cross = cross_comp; 160 /* Square the cross correlation and norm it such that max_perSquare 164 tmp1 = (int16_t)WEBRTC_SPL_SHIFT_W32(cross, (totscale>>1)) [all...] |
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
AKFS_AOC.c | 159 AKFVEC cross; local 193 cross = tempv; 200 temp = dv[i].u.x * cross.u.x 201 + dv[i].u.y * cross.u.y 202 + dv[i].u.z * cross.u.z;
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
vec2.js | 330 * Computes the cross product of two vec2's 331 * Note that the cross product must by definition produce a 3D vector 338 vec2.cross = function(out, a, b) {
|
vec3.js | 351 * Computes the cross product of two vec3's 358 vec3.cross = function(out, a, b) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_graph.cpp | 79 case CROSS: return "cross"; 286 Stack bb, cross; local 307 case Graph::Edge::CROSS: 309 cross.push(ei.getNode()); 319 cross.moveTo(bb); 374 edge->type = node->tag ? Edge::BACK : Edge::CROSS; 390 edge->type = node->tag ? Edge::BACK : Edge::CROSS;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aatriangle.c | 223 /* 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.0F) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPoint.h | 149 /** Returns the cross product of a and b, treating them as 2D vectors 439 /** Returns the cross product of a and b, treating them as 2D vectors 445 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint 465 * the values are consistent with the sign of (b-a) cross (pt-a)
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsPoint.h | 53 double cross(const SkDVector& a) const { function in struct:SkDVector 57 // similar to cross, this bastardization considers nearly coincident to be zero
|
/external/deqp/framework/common/ |
tcuVectorUtil.hpp | 163 inline Vector<T, Size> cross (const Vector<T, Size>& a, const Vector<T, Size>& b) function in namespace:tcu
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_graph.cpp | 79 case CROSS: return "cross"; 286 Stack bb, cross; local 307 case Graph::Edge::CROSS: 309 cross.push(ei.getNode()); 319 cross.moveTo(bb); 374 edge->type = node->tag ? Edge::BACK : Edge::CROSS; 390 edge->type = node->tag ? Edge::BACK : Edge::CROSS;
|
/external/mesa3d/src/mesa/swrast/ |
s_aatriangle.c | 223 /* 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.0F) [all...] |
/external/skia/include/core/ |
SkPoint.h | 149 /** Returns the cross product of a and b, treating them as 2D vectors 439 /** Returns the cross product of a and b, treating them as 2D vectors 445 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint 465 * the values are consistent with the sign of (b-a) cross (pt-a)
|
/external/skia/src/pathops/ |
SkPathOpsPoint.h | 53 double cross(const SkDVector& a) const { function in struct:SkDVector 57 // similar to cross, this bastardization considers nearly coincident to be zero
|
/external/chromium_org/third_party/skia/src/utils/ |
SkCamera.cpp | 52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { 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 229 SkUnit3D::Cross(axis, zenith, &cross); 237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX) [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
SelfAdjointEigenSolver.h | 583 VectorType cross; local 585 n = (cross = tmp.row(0).cross(tmp.row(1))).squaredNorm(); 588 eivecs.col(k) = cross / sqrt(n); 591 n = (cross = tmp.row(0).cross(tmp.row(2))).squaredNorm(); 594 eivecs.col(k) = cross / sqrt(n); 597 n = (cross = tmp.row(1).cross(tmp.row(2))).squaredNorm(); 600 eivecs.col(k) = cross / sqrt(n) [all...] |
/external/opencv/cvaux/src/ |
cv3dtracker.cpp | 531 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;
|