Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 25 of 269) sorted by relevance

1234567891011

/external/libxml2/result/
Datt5.sax12 SAX.startElement(norm, attr=' ')
13 SAX.endElement(norm)
16 SAX.startElement(norm, attr=' foo bar ')
17 SAX.endElement(norm)
20 SAX.startElement(norm, attr=' foobar')
21 SAX.endElement(norm)
24 SAX.startElement(norm, attr=' foo bar ')
25 SAX.endElement(norm)
28 SAX.startElement(norm, attr='foobar ')
29 SAX.endElement(norm)
[all …]
Datt5.rde8 1 1 norm 1 0
11 1 1 norm 1 0
14 1 1 norm 1 0
17 1 1 norm 1 0
20 1 1 norm 1 0
23 1 1 norm 1 0
26 1 1 norm 1 0
29 1 1 norm 1 0
32 1 1 norm 1 0
35 1 1 norm 1 0
[all …]
Datt5.rdr8 1 1 norm 1 0
11 1 1 norm 1 0
14 1 1 norm 1 0
17 1 1 norm 1 0
20 1 1 norm 1 0
23 1 1 norm 1 0
26 1 1 norm 1 0
29 1 1 norm 1 0
32 1 1 norm 1 0
35 1 1 norm 1 0
[all …]
Datt5.sax212 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' '...', 3)
13 SAX.endElementNs(norm, NULL, NULL)
16 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 13)
17 SAX.endElementNs(norm, NULL, NULL)
20 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 8)
21 SAX.endElementNs(norm, NULL, NULL)
24 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' foo...', 9)
25 SAX.endElementNs(norm, NULL, NULL)
28 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 8)
29 SAX.endElementNs(norm, NULL, NULL)
[all …]
/external/svox/pico/lib/
Dpicosig2.c1006 picoos_int32 *norm; in gen_hann2() local
1009 norm = sig_inObj->norm_window_p; in gen_hann2()
1011 norm[0] = 80224; in gen_hann2()
1012 norm[1] = 320832; in gen_hann2()
1013 norm[2] = 721696; in gen_hann2()
1014 norm[3] = 1282560; in gen_hann2()
1015 norm[4] = 2003104; in gen_hann2()
1016 norm[5] = 2882880; in gen_hann2()
1017 norm[6] = 3921376; in gen_hann2()
1018 norm[7] = 5117984; in gen_hann2()
[all …]
/external/opencv/cxcore/src/
Dcxnorm.cpp57 norm = _update_op_( norm, t0 ); \
58 norm = _update_op_( norm, t1 ); \
64 norm = _update_op_( norm, t0 ); \
65 norm = _update_op_( norm, t1 ); \
72 norm = _update_op_( norm, t0 ); \
83 norm = _update_op_( norm, t0 ); \
98 norm = _update_op_( norm, t0 ); \
99 norm = _update_op_( norm, t1 ); \
107 norm = _update_op_( norm, t0 ); \
108 norm = _update_op_( norm, t1 ); \
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
DbtMinkowskiPenetrationDepthSolver.cpp90 btVector3 norm = getPenetrationDirections()[i]; in calcPenDepth() local
91 seperatingAxisInABatch[i] = (-norm) * transA.getBasis() ; in calcPenDepth()
92 seperatingAxisInBBatch[i] = norm * transB.getBasis() ; in calcPenDepth()
101 btVector3 norm; in calcPenDepth() local
102 convexA->getPreferredPenetrationDirection(i,norm); in calcPenDepth()
103 norm = transA.getBasis() * norm; in calcPenDepth()
104 getPenetrationDirections()[numSampleDirections] = norm; in calcPenDepth()
105 seperatingAxisInABatch[numSampleDirections] = (-norm) * transA.getBasis(); in calcPenDepth()
106 seperatingAxisInBBatch[numSampleDirections] = norm * transB.getBasis(); in calcPenDepth()
118 btVector3 norm; in calcPenDepth() local
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c107 const GLfloat *norm = normal->start; in build_m3() local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
114 two_nu = 2.0F * DOT3(norm,u); in build_m3()
115 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
116 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
117 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
135 GLfloat *norm = normal->start; in build_m2() local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
143 two_nu = 2.0F * DOT3(norm,u); in build_m2()
144 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
[all …]
/external/skia/tools/
Dsk_tool_utils.cpp240 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument
241 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb()
242 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb()
243 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb()
244 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb()
253 SkVector3 norm; in create_hemi_normal_map() local
257 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map()
258 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
260 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map()
262 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map()
[all …]
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DCommon.glsllib1 vec3 Common_UnpackNormal(in vec3 norm){
2 return (norm * vec3(2.0)) - vec3(1.0);
5 vec3 Common_UnpackNormalLA(in vec4 norm){
6 vec3 newNorm = norm.agb;
11 vec3 Common_PackNormal(in vec3 norm){
12 return (norm * vec3(0.5)) + vec3(0.5);
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py55 def __init__(self, type, norm, pure, size, name = ''): argument
57 self.norm = norm
65 if self.norm:
73 …return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.si…
81 if self.norm:
97 if self.norm:
162 if channel.norm != ref_channel.norm:
282 norm = True
287 norm = False
290 norm = False
[all …]
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
Dnorm.pass.cpp26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), ""); in test()
27 assert(std::norm(x) == norm(std::complex<double>(x, 0))); in test()
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), ""); in test()
35 assert(std::norm(x) == norm(std::complex<T>(x, 0))); in test()
/external/eigen/test/
Dhouseholder.cpp45 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm()); in householder()
50 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
61 VERIFY_IS_APPROX(m1.norm(), m2.norm()); in householder()
62 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm()); in householder()
73 VERIFY_IS_APPROX(m3.norm(), m4.norm()); in householder()
74 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm()); in householder()
Dstable_norm.cpp72 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in stable_norm()
73 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm()); in stable_norm()
74 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm()); in stable_norm()
75 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm()); in stable_norm()
98 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm()); in stable_norm()
99 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm()); in stable_norm()
100 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm()); in stable_norm()
101 VERIFY_IS_APPROX(vrand.rowwise().stableNorm(), vrand.rowwise().norm()); in stable_norm()
102 VERIFY_IS_APPROX(vrand.rowwise().blueNorm(), vrand.rowwise().norm()); in stable_norm()
103 VERIFY_IS_APPROX(vrand.rowwise().hypotNorm(), vrand.rowwise().norm()); in stable_norm()
Dadjoint.cpp33 … = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm()); in run()
37 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm()); in run()
39 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized()); in run()
42 VERIFY_IS_APPROX(v1, v1.norm() * v3); in run()
44 VERIFY_IS_APPROX(v3.norm(), RealScalar(1)); in run()
47 …teger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adj… in run()
52 VERIFY_IS_APPROX(Vec::Random(v1.size()).normalized().norm(), RealScalar(1)); in run()
/external/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI() local
27 if(norm.next()!=0xe4) { in TestNormalizerAPI()
32 Normalizer copy(norm); in TestNormalizerAPI()
74 norm.setIndexOnly(3); in TestNormalizerAPI()
75 if(norm.current()!=0x4e3d) { in TestNormalizerAPI()
134 norm.setMode(UNORM_NONE); in TestNormalizerAPI()
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) { in TestNormalizerAPI()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DQuaternion.java397 float norm = norm(); in toRotationMatrix() local
400 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0; in toRotationMatrix()
442 float norm = norm(); in toRotationMatrix() local
445 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0; in toRotationMatrix()
506 float norm = norm(); in getRotationColumn() local
507 if (norm != 1.0f) { in getRotationColumn()
508 norm = FastMath.invSqrt(norm); in getRotationColumn()
511 float xx = x * x * norm; in getRotationColumn()
512 float xy = x * y * norm; in getRotationColumn()
513 float xz = x * z * norm; in getRotationColumn()
[all …]
/external/ceres-solver/internal/ceres/
Dsmall_blas_test.cc73 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
91 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
108 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
156 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
173 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
190 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
229 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
238 EXPECT_NEAR((c_minus_ref - c_minus).norm(), 0.0, kTolerance) in TEST()
247 EXPECT_NEAR((c_assign_ref - c_assign).norm(), 0.0, kTolerance) in TEST()
278 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
[all …]
Drotation_test.cc318 double norm = 0; in TEST() local
321 norm += axis_angle[i] * axis_angle[i]; in TEST()
323 norm = sqrt(norm); in TEST()
328 axis_angle[i] = axis_angle[i] * theta / norm; in TEST()
350 double norm = 0; in TEST() local
353 norm += quaternion[i] * quaternion[i]; in TEST()
355 norm = sqrt(norm); in TEST()
358 quaternion[i] = quaternion[i] / norm; in TEST()
427 double norm = 0; in TEST() local
430 norm += in_axis_angle[i] * in_axis_angle[i]; in TEST()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java511 Vector3f norm = vars.vect2; in doTransforms() local
525 norm.x = tmpFloatN[index++]; in doTransforms()
527 norm.y = tmpFloatN[index++]; in doTransforms()
529 norm.z = tmpFloatN[index]; in doTransforms()
532 transform.multNormal(norm, norm); in doTransforms()
536 tmpFloatN[index++] = norm.x; in doTransforms()
538 tmpFloatN[index++] = norm.y; in doTransforms()
540 tmpFloatN[index++] = norm.z; in doTransforms()
555 Vector3f norm = vars.vect2; in doTransformsTangents() local
577 norm.x = tmpFloatN[index++]; in doTransformsTangents()
[all …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c70 float norm = sqrtf((*ax) * (*ax) + (*ay) * (*ay) + (*az) * (*az)); in normalize() local
71 if (norm > 0) in normalize()
73 *ax /= norm; in normalize()
74 *ay /= norm; in normalize()
75 *az /= norm; in normalize()
77 return norm; in normalize()
90 float norm = normalize(&ax, &ay, &az); in Matrix4x4_Rotate() local
92 if (norm == 0 || angle == 0) in Matrix4x4_Rotate()
/external/webrtc/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c38 int16_t norm; in WebRtcSpl_LevinsonDurbin() local
42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin()
46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin()
135 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin()
136 if ((Alpha_exp <= norm) || (temp3W32 == 0)) in WebRtcSpl_LevinsonDurbin()
212 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
213 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); in WebRtcSpl_LevinsonDurbin()
219 Alpha_exp = Alpha_exp + norm; in WebRtcSpl_LevinsonDurbin()
/external/eigen/doc/snippets/
DRealQZ_compute.cpp13 << "\n|A-QSZ|: " << (A-qz.matrixQ()*qz.matrixS()*qz.matrixZ()).norm()
14 << ", |B-QTZ|: " << (B-qz.matrixQ()*qz.matrixT()*qz.matrixZ()).norm()
15 << "\n|QQ* - I|: " << (qz.matrixQ()*qz.matrixQ().adjoint() - MatrixXf::Identity(4,4)).norm()
16 << ", |ZZ* - I|: " << (qz.matrixZ()*qz.matrixZ().adjoint() - MatrixXf::Identity(4,4)).norm()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DDeferred.frag24 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir, in vec3 viewdir){
26 float NdotL = max(0.0, dot(norm, lightdir));
27 float NdotV = max(0.0, dot(norm, viewdir));
30 return max(0.0, dot(norm, lightdir));
34 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){
39 return pow(max(dot(H, norm), 0.0), shiny);
44 float NdotH = max(0.001, tangDot(norm, halfVec));
45 float NdotV = max(0.001, tangDot(norm, viewdir));
46 float NdotL = max(0.001, tangDot(norm, lightdir));
52 vec3 R = reflect(-lightdir, norm);
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h46 GLuint (*norm)[4]; in TAG() local
117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in TAG()
164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); in TAG()
189 v[0].ui = norm[0][0]; in TAG()
190 v[1].ui = norm[0][1]; in TAG()
191 v[2].ui = norm[0][2]; in TAG()
193 norm = (GLuint (*)[4])((GLubyte *)norm + norm_stride); in TAG()

1234567891011