HomeSort by relevance Sort by last modified time
    Searched refs:norm (Results 1 - 25 of 306) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_glob.py 16 def norm(self, *parts): member in class:GlobTests
20 filename = self.norm(*parts)
38 os.symlink(self.norm('broken'), self.norm('sym1'))
39 os.symlink('broken', self.norm('sym2'))
40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3'))
66 eq(self.glob('a'), [self.norm('a')])
67 eq(self.glob('a', 'D'), [self.norm('a', 'D')])
68 eq(self.glob('aab'), [self.norm('aab')])
87 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_glob.py 16 def norm(self, *parts): member in class:GlobTests
20 filename = self.norm(*parts)
38 os.symlink(self.norm('broken'), self.norm('sym1'))
39 os.symlink('broken', self.norm('sym2'))
40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3'))
66 eq(self.glob('a'), [self.norm('a')])
67 eq(self.glob('a', 'D'), [self.norm('a', 'D')])
68 eq(self.glob('aab'), [self.norm('aab')])
87 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
norm.pass.cpp 14 // norm(T x);
26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), "");
27 assert(std::norm(x) == norm(std::complex<double>(x, 0)));
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), "");
35 assert(std::norm(x) == norm(std::complex<T>(x, 0)));
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp 52 btVector3 norm = btVector3(); local
53 jmeBulletUtil::convert(env, normal, &norm);
54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant);
  /external/eigen/doc/snippets/
PartialRedux_norm.cpp 3 cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl;
PartialPivLU_solve.cpp 7 cout << "Relative error: " << (A*X-B).norm() / B.norm() << endl;
  /external/eigen/doc/examples/
TutorialLinAlgExComputeSolveError.cpp 12 double relative_error = (A*x - b).norm() / b.norm(); // norm() is L2 norm
Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp 19 cout << "v.norm() = " << v.norm() << endl;
25 cout << "m.norm() = " << m.norm() << endl;
  /external/svox/pico/lib/
picosig2.c 1006 picoos_int32 *norm; local
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/
VerifyNormOperation.java 28 * Test Operation class that validates the norm of a given sensor.
58 double norm = 0.0; local
62 norm += Math.pow(value, 2);
67 norm = Math.sqrt(norm);
70 "Norm",
76 norm,
78 mSensor.verifier().assertTrue(message, Math.abs(mReferenceValue - norm) <= mThreshold);
  /external/opencv/cxcore/src/
cxnorm.cpp 57 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 );
971 double norm = 0, norm_diff = 0; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
autocorr.c 38 Word32 i, norm, shift; local
66 norm = norm_l(L_sum);
67 shift = 4 - (norm >> 1);
94 norm = norm_l(L_sum);
95 L_sum = (L_sum << norm);
115 L_sum1 = L_sum1<<norm;
116 L_sum = L_sum<<norm;
  /external/chromium_org/third_party/mesa/src/src/mesa/tnl/
t_vb_texgen.c 107 const GLfloat *norm = normal->start; local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
114 two_nu = 2.0F * DOT3(norm,u);
115 fx = f[i][0] = u[0] - norm[0] * two_nu;
116 fy = f[i][1] = u[1] - norm[1] * two_nu;
117 fz = f[i][2] = u[2] - norm[2] * two_nu;
135 GLfloat *norm = normal->start; local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
143 two_nu = 2.0F * DOT3(norm,u);
144 fx = f[i][0] = u[0] - norm[0] * two_nu
184 GLfloat *norm = normal->start; local
210 GLfloat *norm = normal->start; local
284 const GLfloat *norm = normal->start; local
389 const GLfloat *norm = normal->start; local
422 const GLfloat *norm = normal->start; local
451 const GLfloat *norm = normal->start; local
    [all...]
  /external/mesa3d/src/mesa/tnl/
t_vb_texgen.c 107 const GLfloat *norm = normal->start; local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
114 two_nu = 2.0F * DOT3(norm,u);
115 fx = f[i][0] = u[0] - norm[0] * two_nu;
116 fy = f[i][1] = u[1] - norm[1] * two_nu;
117 fz = f[i][2] = u[2] - norm[2] * two_nu;
135 GLfloat *norm = normal->start; local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
143 two_nu = 2.0F * DOT3(norm,u);
144 fx = f[i][0] = u[0] - norm[0] * two_nu
184 GLfloat *norm = normal->start; local
210 GLfloat *norm = normal->start; local
284 const GLfloat *norm = normal->start; local
389 const GLfloat *norm = normal->start; local
422 const GLfloat *norm = normal->start; local
451 const GLfloat *norm = normal->start; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
tstnrapi.cpp 26 Normalizer norm(iter, UNORM_NFC);
27 if(norm.next()!=0xe4) {
32 Normalizer copy(norm);
74 norm.setIndexOnly(3);
75 if(norm.current()!=0x4e3d) {
134 norm.setMode(UNORM_NONE);
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) {
  /external/icu4c/test/intltest/
tstnrapi.cpp 26 Normalizer norm(iter, UNORM_NFC);
27 if(norm.next()!=0xe4) {
32 Normalizer copy(norm);
74 norm.setIndexOnly(3);
75 if(norm.current()!=0x4e3d) {
134 norm.setMode(UNORM_NONE);
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) {
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
Image.cpp 109 FloatRect norm = rect; local
110 if (norm.width() < 0) {
111 norm.setX(norm.x() + norm.width());
112 norm.setWidth(-norm.width());
114 if (norm.height() < 0) {
115 norm.setY(norm.y() + norm.height())
    [all...]
  /external/eigen/test/
householder.cpp 47 VERIFY_IS_APPROX(v1.norm(), v2.norm());
48 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm());
52 VERIFY_IS_APPROX(v1.norm(), v2.norm());
63 VERIFY_IS_APPROX(m1.norm(), m2.norm());
64 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm());
    [all...]
adjoint.cpp 48 // check basic properties of dot, norm, norm2
51 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm());
57 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm());
59 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized());
62 VERIFY_IS_APPROX(v1, v1.norm() * v3);
64 VERIFY_IS_APPROX(v3.norm(), RealScalar(1));
70 ref = NumTraits<Scalar>::IsInteger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint() * v1).norm()))
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
autocorr.cpp 171 norm = normalized autocorrelation at lag zero of type Word16
207 Word16 i, j, norm;
252 norm = norm_l (sum);
253 sum = L_shl (sum, norm);
267 sum = L_shl (sum, norm);
271 norm = sub (norm, overfl_shft);
273 return norm;
311 register Word16 norm; local
414 norm = norm_l(sum)
416 sum <<= norm; local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
norm.pass.cpp 14 // norm(const complex<T>& x);
26 assert(norm(z) == 25);
34 double r = norm(x[i]);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
NormFilter.java 28 * Filter to calculate the 2-norm of the inputs. i.e. sqrt(x^2 + y^2)
45 .addOutputPort("norm", Signature.PORT_REQUIRED, floatT)
56 float norm = (float) Math.hypot(xValue, yValue); local
57 if (mLogVerbose) Log.v(TAG, "Norm = " + norm);
58 OutputPort outPort = getConnectedOutputPort("norm");
60 outFrame.setValue(norm);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_parse.py 55 def __init__(self, type, norm, pure, size, name = ''):
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.size == other.size
81 if self.norm:
97 if self.norm:
121 '''Make up a short norm for a format, suitable to be used as suffix in
162 if channel.norm != ref_channel.norm
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_parse.py 55 def __init__(self, type, norm, pure, size, name = ''):
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.size == other.size
81 if self.norm:
97 if self.norm:
121 '''Make up a short norm for a format, suitable to be used as suffix in
162 if channel.norm != ref_channel.norm
    [all...]
  /external/ceres-solver/internal/ceres/
block_random_access_crs_matrix_test.cc 98 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(),
102 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(),
106 EXPECT_NEAR((dense.block(3, 3 + 4, 4, 5) - 2 * 3 * Matrix::Ones(4, 5)).norm(),
110 EXPECT_NEAR((dense.block(3 + 4, 0, 5, 3) - 3 * 1 * Matrix::Ones(5, 3)).norm(),
115 EXPECT_NEAR(dense.norm(), sqrt(9. + 16. * 16. + 36. * 20. + 9. * 15.),

Completed in 610 milliseconds

1 2 3 4 5 6 7 8 91011>>