Searched refs:dot (Results 26 - 50 of 255) sorted by relevance

1234567891011

/external/eigen/test/
H A Dgeo_orthomethods.cpp32 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v1), Scalar(1));
33 VERIFY_IS_MUCH_SMALLER_THAN(v1.dot(v1.cross(v2)), Scalar(1));
34 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v2), Scalar(1));
35 VERIFY_IS_MUCH_SMALLER_THAN(v2.dot(v1.cross(v2)), Scalar(1));
36 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(Vector3::Random()).dot(v1), Scalar(1));
71 VERIFY_IS_MUCH_SMALLER_THAN(v40.cross3(Vector4::Random()).dot(v40), Scalar(1));
91 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().dot(v0), Scalar(1));
99 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().dot(v0), Scalar(1));
H A Dsparse_vector.cpp85 VERIFY_IS_APPROX(v1.dot(v2), refV1.dot(refV2));
86 VERIFY_IS_APPROX(v1.dot(refV2), refV1.dot(refV2));
89 VERIFY_IS_APPROX(v1.dot(m1*v2), refV1.dot(refM1*refV2));
92 VERIFY_IS_APPROX(v1.dot(m1.col(i)), refV1.dot(refM1.col(i)));
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
H A DSkinnedVertShader.vsh95 Light.x = dot(normalize(worldTangent), TmpLightDir);
96 Light.y = dot(normalize(worldBiNormal), TmpLightDir);
97 Light.z = dot(normalize(worldNormal), TmpLightDir);
101 Light.x = dot(normalize(worldNormal), TmpLightDir);
/external/vulkan-validation-layers/libs/glm/detail/
H A Dfunc_geometric.hpp67 /// Returns the dot product of x and y, i.e., result = x * y.
71 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/dot.xml">GLSL dot man page</a>
74 GLM_FUNC_DECL T dot(
78 /// Returns the dot product of x and y, i.e., result = x * y.
82 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/dot.xml">GLSL dot man page</a>
85 GLM_FUNC_DECL genType dot(
108 /// If dot(Nref, I) < 0.0, return N, otherwise, return -N.
121 /// returns the reflection direction : result = I - 2.0 * dot(
[all...]
/external/skia/src/effects/
H A DSkEmbossMask.cpp119 SkFixed dot = numer / denom;
120 dot >>= 8; // now dot is 2^8 instead of 2^16
125 // SkFixed dot = SkFixedMul(numer, gTable[]) >> 8
126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20; local
128 mul = SkFastMin32(mul + dot, 255);
135 int hilite = (2 * dot - lz_dot8) * lz_dot8 >> 8;
/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DDefaultDataContext.java183 int dot = name.indexOf('.');
184 if (dot != -1) {
185 firstChunk = name.substring(0, dot);
205 if (dot == -1) {
210 return curr.node.createChild(name.substring(dot + 1));
212 return curr.node.getChild(name.substring(dot + 1));
218 if (dot == -1) {
/external/fec/
H A Ddotprod_mmx_assist.s1 # SIMD MMX dot product
30 # MMX dot product loop unrolled 4 times, crunching 16 terms per loop
58 # MMX dot product loop, not unrolled, crunching 4 terms per loop
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
H A Dd3d11spikysphere.hlsl101 float ff = dot(f, f);
102 return (ff * dfdt - dot(f, dfdt) * f) / (ff * sqrt(ff));
165 float3 dc_dU = s * dot(dd, ds_dU) + ds_dU * d;
166 float3 dc_dV = s * dot(dd, ds_dV) + ds_dV * d;
172 float3 dc_dU = s * dot(dd, _u) + _u * d;
173 float3 dc_dV = s * dot(dd, _v) + _v * d;
188 r.xyz = pseudoambient * saturate(dot(normalize(input.objnormal), normalize(input.objpos)));
189 r.xyz += saturate(dot(light, normalize(input.worldnormal))) * diffuse;
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DRequestLine.java170 boolean dot = false;
172 if (dot) {
179 dot = true;
H A DStatusLine.java195 boolean dot = false;
197 if (dot) {
204 dot = true;
/external/skia/experimental/
H A DSkSetPoly3To3_D.cpp50 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { function
70 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
72 matrix->setTranslateY(dstAve.fY - dot(srcAve.fX, srcAve.fY,
H A DSkSetPoly3To3_A.cpp47 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { function
80 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
82 matrix->setTranslateY(dstAve.fY - dot(srcAve.fX, srcAve.fY,
/external/libvpx/libvpx/test/
H A Dvp9_arf_freq_test.cc70 const char *dot = strrchr(filename, '.'); local
71 if (!dot || dot == filename) {
74 return !strcmp(dot, ".y4m");
H A Dvp9_end_to_end_test.cc69 const char *dot = strrchr(filename, '.'); local
70 if (!dot || dot == filename) {
73 return !strcmp(dot, ".y4m");
/external/skia/src/pathops/
H A DSkPathOpsCubic.h37 return v03.dot(v01) > 0 && v03.dot(v02) > 0 && v03.dot(v13) > 0 && v03.dot(v23) > 0;
H A DSkPathOpsQuad.h36 return v02.dot(v01) > 0 && v02.dot(v12) > 0;
/external/eigen/Eigen/src/Geometry/
H A DHyperplane.h71 offset() = -n.dot(e);
92 result.offset() = -p0.dot(result.normal());
114 result.offset() = -p0.dot(result.normal());
126 offset() = -parametrized.origin().dot(normal());
143 EIGEN_DEVICE_FUNC inline Scalar signedDistance(const VectorType& p) const { return normal().dot(p) + offset(); }
245 offset() -= normal().dot(t.translation());
H A DParametrizedLine.h85 return (diff - direction().dot(diff) * direction()).squaredNorm();
94 { return origin() + direction().dot(p-origin()) * direction(); }
168 return -(hyperplane.offset()+hyperplane.normal().dot(origin()))
169 / hyperplane.normal().dot(direction());
/external/skia/src/utils/
H A DSkCamera.cpp221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); local
223 zenith.fX = fZenith.fX - dot * axis.fX;
224 zenith.fY = fZenith.fY - dot * axis.fY;
225 zenith.fZ = fZenith.fZ - dot * axis.fZ;
273 SkScalar dot; local
279 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff),
284 // the view axis (which is 'dot'). This transforms the patch (which transforms from local path
288 // The divide by 'dot' isn't strictly necessary as the homogeneous divide would do much the
289 // same thing (it's just scaling the entire matrix by 1/dot). It looks like it's normalizing
292 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
[all...]
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
H A DDot.py2 altgraph.Dot - Interface to the dot language
8 (the **dot** file generation) while transparently exposing most of its features.
11 package needs to be installed on the system, moreover the :command:`dot` and :command:`dotty` programs must
26 # create a dot representation of the graph
27 dot = Dot.Dot(graph)
30 dot.display()
32 # save the dot representation into the mydot.dot file
33 dot.save_dot(file_name='mydot.dot')
[all...]
/external/eigen/blas/
H A Dlevel1_cplx_impl.h39 // computes a dot product of a conjugated vector with another vector.
54 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).dot(make_vector(y,*n)));
55 else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,*incy)));
56 else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,*incy)));
57 else if(*incx>0 && *incy<0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,-*incy).reverse()));
58 else if(*incx<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,-*incy).reverse()));
62 // computes a vector-vector dot product without complex conjugation.
/external/owasp/sanitizer/tools/
H A Dupdate_tree_in_svn.py81 dot = dst.rfind('.')
82 if dot >= 0:
83 mime_type = MIME_TYPES_BY_EXTENSION.get(dst[dot+1:])
/external/eigen/Eigen/src/SparseCore/
H A DSparseDot.h18 SparseMatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const function in class:Eigen::SparseMatrixBase
43 SparseMatrixBase<Derived>::dot(const SparseMatrixBase<OtherDerived>& other) const function in class:Eigen::SparseMatrixBase
/external/eigen/unsupported/test/
H A Dalignedvector3.cpp51 VERIFY_IS_APPROX(f2.dot(f3),r2.dot(r3));
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_lower_texture_gradients.cpp133 rho = expr(ir_binop_max, expr(ir_unop_sqrt, dot(dPdx, dPdx)),
134 expr(ir_unop_sqrt, dot(dPdy, dPdy)));

Completed in 584 milliseconds

1234567891011