HomeSort by relevance Sort by last modified time
    Searched full:norm (Results 26 - 50 of 593) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu4c/tools/gennorm2/
n2builder.cpp 98 struct Norm {
176 normMem=utm_open("gennorm2 normalization structs", 10000, 0x110100, sizeof(Norm));
177 norms=allocNorm(); // unused Norm struct at index 0
211 Norm *Normalizer2DataBuilder::allocNorm() {
212 Norm *p=(Norm *)utm_alloc(normMem);
213 norms=(Norm *)utm_getStart(normMem); // in case it got reallocated
217 /* get an existing Norm unit */
218 Norm *Normalizer2DataBuilder::getNorm(UChar32 c) {
226 const Norm &Normalizer2DataBuilder::getNormRef(UChar32 c) const
449 Norm &norm=norms[value]; local
1057 const Norm &norm=norms[i]; 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/WebKit/Source/platform/graphics/
Image.cpp 107 FloatRect norm = rect; local
108 if (norm.width() < 0) {
109 norm.setX(norm.x() + norm.width());
110 norm.setWidth(-norm.width());
112 if (norm.height() < 0) {
113 norm.setY(norm.y() + norm.height())
    [all...]
  /external/eigen/Eigen/src/Core/
Dot.h 58 * \sa squaredNorm(), norm()
104 //---------- implementation of L2 norm and related functions ----------
106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm.
110 * \sa dot(), norm()
118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm.
125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase
130 /** \returns an expression of the quotient of *this by its own norm.
134 * \sa norm(), normalize(
    [all...]
Fuzzy.h 85 * For matrices, the comparison is done using the Hilbert-Schmidt norm (aka Frobenius norm
86 * L2 norm).
106 /** \returns \c true if the norm of \c *this is much smaller than \a other,
113 * For matrices, the comparison is done using the Hilbert-Schmidt norm. For this reason,
114 * the value of the reference scalar \a other should come from the Hilbert-Schmidt norm
128 /** \returns \c true if the norm of \c *this is much smaller than the norm of \a other,
134 * For matrices, the comparison is done using the Hilbert-Schmidt norm.
StableNorm.h 32 /** \returns the \em l2 norm of \c *this avoiding underflow and overflow.
40 * \sa norm(), blueNorm(), hypotNorm()
63 /** \returns the \em l2 norm of \c *this using the Blue's algorithm.
64 * A Portable Fortran Program to Find the Euclidean Norm of a Vector,
70 * \sa norm(), stableNorm(), hypotNorm()
165 /** \returns the \em l2 norm of \c *this avoiding undeflow and overflow.
168 * \sa norm(), stableNorm()
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
Deferred.frag 24 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);
    [all...]
Lighting.frag 85 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir, in vec3 viewdir){
87 float NdotL = max(0.0, dot(norm, lightdir));
88 float NdotV = max(0.0, dot(norm, viewdir));
91 return max(0.0, dot(norm, lightdir));
95 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){
102 return pow(max(tangDot(H, norm), 0.0), shiny);
106 float NdotH = max(0.001, tangDot(norm, halfVec));
107 float NdotV = max(0.001, tangDot(norm, viewdir));
108 float NdotL = max(0.001, tangDot(norm, lightdir));
114 vec3 R = reflect(-lightdir, norm);
    [all...]
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BaseCluster.java 189 double norm = 0; local
191 norm += mCenter[i] * mCenter[i];
193 norm = Math.sqrt(norm);
195 mCenter[i] /= norm;
203 double norm = 0; local
206 norm += mCenter[i] * mCenter[i];
208 norm = Math.sqrt(norm);
210 mCenter[i] /= norm;
    [all...]
  /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/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
simple_water.vert 46 vec4 norm = vec4(0.0, 1.0, 0.0, 0.0);
54 viewDir.z = dot(temp, norm);
60 lightDir.z = dot(temp, norm);
  /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]);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
LIST 20 math-spectral-norm
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
LIST 20 math-spectral-norm
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
LIST 20 math-spectral-norm
  /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/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/chromium_org/third_party/sqlite/src/test/
fts1b.test 106 # norm: words for the bits of rowid
111 CREATE VIRTUAL TABLE t4 USING fts1([norm],'plusone',"invert");
115 db eval "INSERT INTO t4(norm,plusone,invert) VALUES([join $vset ,]);"
119 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one'}
122 execsql {SELECT rowid FROM t4 WHERE norm MATCH 'one'}
134 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one plusone:two'}
137 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one two'}
140 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'plusone:two norm:one'}
143 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'two norm:one'}
fts2b.test 106 # norm: words for the bits of rowid
111 CREATE VIRTUAL TABLE t4 USING fts2([norm],'plusone',"invert");
115 db eval "INSERT INTO t4(norm,plusone,invert) VALUES([join $vset ,]);"
119 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one'}
122 execsql {SELECT rowid FROM t4 WHERE norm MATCH 'one'}
134 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one plusone:two'}
137 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one two'}
140 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'plusone:two norm:one'}
143 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'two norm:one'}
fts3ab.test 106 # norm: words for the bits of rowid
111 CREATE VIRTUAL TABLE t4 USING fts3([norm],'plusone',"invert");
115 db eval "INSERT INTO t4(norm,plusone,invert) VALUES([join $vset ,]);"
120 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one'}
123 execsql {SELECT rowid FROM t4 WHERE norm MATCH 'one'}
135 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one plusone:two'}
138 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'norm:one two'}
141 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'plusone:two norm:one'}
144 execsql {SELECT rowid FROM t4 WHERE t4 MATCH 'two norm:one'}
  /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/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/eigen/test/eigen2/
eigen2_adjoint.cpp 51 // check basic properties of dot, norm, norm2
58 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm());
61 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1));
76 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1));
  /external/eigen/unsupported/test/
FFTW.cpp 19 float norm(float x) {return x*x;} function
20 double norm(double x) {return x*x;} function
21 long double norm(long double x) {return x*x;} function
43 totalpower += norm(acc);
46 difpower += norm(dif);
47 //cerr << k0 << "\t" << acc << "\t" << x << "\t" << sqrt(norm(dif)) << endl;
60 totalpower += (norm( buf1[k] ) + norm(buf2[k]) )/2.;
61 difpower += norm(buf1[k] - buf2[k]);
208 VERIFY( (src-src2).norm() < test_precision<T>() )
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
VertexBuffer9.cpp 254 // BYTE-norm FLOAT (Normalize) (can't be exactly represented as SHORT-norm)
256 // UNSIGNED_BYTE-norm UBYTE4N (Identity) or FLOAT (Normalize)
258 // SHORT-norm SHORT-norm (Identity) or FLOAT (Normalize)
260 // UNSIGNED_SHORT-norm USHORT-norm (Identity) or FLOAT (Normalize)
351 // Given a GL type & norm flag and a D3D type, ConversionRule provides the type conversion rule (Cast, Normalize, Identity, FixedToFloat).
381 // Converter ties it all together. Given an OpenGL type/norm/size and choice of preferred/fallback conversion,
403 #define TRANSLATION(type, norm, size, preferred)
    [all...]

Completed in 1470 milliseconds

12 3 4 5 6 7 8 91011>>