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

1 2 3 4 56 7 8 91011>>

  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
scenegraph_objects.rsh 266 rsDebug("Pre Norm X", pos.x);
267 rsDebug("Pre Norm Y", pos.y);
271 rsDebug("Norm X", pos.x);
272 rsDebug("Norm Y", pos.y);
  /frameworks/rs/
rsComponent.h 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
MagneticFieldMeasurementTestActivity.java 38 appendText("Verifying the Norm...");
70 * This test verifies that the Norm of the sensor data is close to the expected reference value.
75 * The test takes a sample from the sensor under test and calculates the Euclidean Norm of the
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorMeasurementTests.java 56 * SensorEvent Norm test cases.
87 * This test verifies that the Norm of the sensor data is close to the expected reference value.
92 * The test takes a sample from the sensor under test and calculates the Euclidean Norm of the
  /external/ceres-solver/internal/ceres/
implicit_schur_complement_test.cc 141 if ((y - z).norm() > kEpsilon) {
150 if ((isc.rhs() - rhs).norm() > kEpsilon) {
165 if ((sol - reference_solution).norm() > kEpsilon) {
dogleg_strategy.cc 199 const double gradient_norm = gradient_.norm();
200 const double gauss_newton_norm = gauss_newton_step_.norm();
246 dogleg_step_norm_ = dogleg_step.norm();
272 // As a consequence, the norm of the gauss_newton_step_ in the subspace is
273 // the same as its norm in the original space.
274 const double gauss_newton_norm = gauss_newton_step_.norm();
306 dogleg_step = -(radius_ / gradient_.norm()) * gradient_;
342 (minimum.norm() * grad_minimum.norm());
497 if (x_i.norm() > 0)
    [all...]
polynomial_test.cc 322 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
340 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
368 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
398 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
441 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
478 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
509 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
conjugate_gradients_solver.cc 86 double norm_b = bref.norm();
103 double norm_r = r.norm();
220 norm_r = r. norm();
  /external/eigen/unsupported/Eigen/
AlignedVector3 148 m_coeffs /= norm();
153 return AlignedVector3(m_coeffs / norm());
168 inline Scalar norm() const
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
LevenbergMarquardt.h 192 /* and calculate its norm. */
233 /* on the first iteration, calculate the norm of the scaled x */
247 /* compute the norm of the scaled gradient. */
254 /* test for convergence of the gradient norm. */
267 /* store the direction p and x + p. calculate the norm of p. */
276 /* evaluate the function at x + p and calculate its norm. */
408 /* and calculate its norm. */
486 /* on the first iteration, calculate the norm of the scaled x */
494 /* compute the norm of the scaled gradient. */
501 /* test for convergence of the gradient norm. *
    [all...]
  /external/chromium_org/third_party/opus/src/celt/
bands.c 119 /* We're adding one here to ensure the normalized band isn't larger than unity norm */
343 opus_val16 norm; local
349 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right));
350 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm);
351 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm);
386 /* Compute the norm of X+Y and X-Y as |X|^2 + |Y|^2 +/- sum(xy) */
683 mid and side because we know that 1) they have unit norm and
1351 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
tstnorm.cpp 165 Normalizer* norm = new Normalizer("", UNORM_NFD); local
170 backAndForth(norm, canonTests[i][0]);
174 norm->setMode(UNORM_NFC);
176 backAndForth(norm, canonTests[i][0]);
179 delete norm;
184 Normalizer* norm = new Normalizer("", UNORM_NFD); local
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
187 delete norm;
192 Normalizer* norm = new Normalizer("", UNORM_NFKD); local
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1)
202 Normalizer* norm = new Normalizer("", UNORM_NFC); local
212 Normalizer* norm = new Normalizer("", UNORM_NFKC); local
232 Normalizer* norm = new Normalizer("", UNORM_NFC); local
254 Normalizer* norm = new Normalizer("", UNORM_NFD); local
    [all...]
  /external/icu4c/test/intltest/
tstnorm.cpp 166 Normalizer* norm = new Normalizer("", UNORM_NFD); local
171 backAndForth(norm, canonTests[i][0]);
175 norm->setMode(UNORM_NFC);
177 backAndForth(norm, canonTests[i][0]);
180 delete norm;
185 Normalizer* norm = new Normalizer("", UNORM_NFD); local
186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
188 delete norm;
193 Normalizer* norm = new Normalizer("", UNORM_NFKD); local
194 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1)
203 Normalizer* norm = new Normalizer("", UNORM_NFC); local
213 Normalizer* norm = new Normalizer("", UNORM_NFKC); local
233 Normalizer* norm = new Normalizer("", UNORM_NFC); local
255 Normalizer* norm = new Normalizer("", UNORM_NFD); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
lp_bld_const.c 86 else if(type.norm)
98 else if(type.norm)
137 if(type.norm)
172 if(type.norm)
265 else if(!type.norm)
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_const.c 86 else if(type.norm)
98 else if(type.norm)
137 if(type.norm)
172 if(type.norm)
265 else if(!type.norm)
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_pack.py 202 if not type.norm:
219 if not type.norm:
283 assert src_channel.norm
290 assert dst_channel.norm
295 assert dst_channel.norm
302 assert src_channel.norm
317 src_norm = src_channel.norm
329 if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8:
337 if not src_norm and not dst_channel.norm:
344 if src_one > dst_one and src_norm and dst_channel.norm
    [all...]
  /external/eigen/Eigen/src/Eigenvalues/
RealSchur.h 195 Index findSmallSubdiagEntry(Index iu, Scalar norm);
225 Scalar norm = computeNormOfT(); local
227 if(norm!=0)
231 Index il = findSmallSubdiagEntry(iu, norm);
271 /** \internal Computes and returns vector L1 norm of T */
277 // Scalar norm = m_matT.upper().cwiseAbs().sum()
279 Scalar norm(0);
281 norm += m_matT.row(j).segment((std::max)(j-1,Index(0)), size-(std::max)(j-1,Index(0))).cwiseAbs().sum();
282 return norm;
287 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, Scalar norm)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_pack.py 202 if not type.norm:
219 if not type.norm:
283 assert src_channel.norm
290 assert dst_channel.norm
295 assert dst_channel.norm
302 assert src_channel.norm
317 src_norm = src_channel.norm
329 if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8:
337 if not src_norm and not dst_channel.norm:
344 if src_one > dst_one and src_norm and dst_channel.norm
    [all...]
  /external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
TerrainLighting.frag 161 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir, in vec3 viewdir){
162 return max(0.0, dot(norm, lightdir));
165 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){
169 float NdotH = max(0.001, tangDot(norm, halfVec));
170 float NdotV = max(0.001, tangDot(norm, viewdir));
171 float NdotL = max(0.001, tangDot(norm, lightdir));
177 vec3 R = reflect(-lightdir, norm);
  /external/ceres-solver/include/ceres/
rotation.h 80 // The value angle_axis is a triple whose norm is an angle in radians,
90 // and angle_axis will be filled with a value whose norm is the angle of
158 // Frobenius norm, so that R * R' = I (and det(R) = 1).
171 // Assumes the quaternion is unit norm. This assumption allows us to
178 // With this function you do not need to assume that q has unit norm.
179 // It does assume that the norm is non-zero.
400 // norm of the angle_axis vector is greater than zero. Otherwise
543 // 'scale' is 1 / norm(q).
549 // Make unit-norm version of q.
596 // norm of the angle_axis vector is greater than zero. Otherwis
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
bezier.c 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm)
239 norm[0] = (bez->y2-bez->y1) * a + (bez->y3-bez->y2) * b + (bez->y4-bez->y3) * c;
240 norm[1] = -(bez->x2-bez->x1) * a - (bez->x3-bez->x2) * b - (bez->x4-bez->x3) * c;
281 float norm[4]; local
284 line_normal(l, norm);
285 line_normalize(norm);
287 tx = (norm[2] - norm[0]) * offset;
288 ty = (norm[3] - norm[1]) * offset
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
bezier.c 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm)
239 norm[0] = (bez->y2-bez->y1) * a + (bez->y3-bez->y2) * b + (bez->y4-bez->y3) * c;
240 norm[1] = -(bez->x2-bez->x1) * a - (bez->x3-bez->x2) * b - (bez->x4-bez->x3) * c;
281 float norm[4]; local
284 line_normal(l, norm);
285 line_normalize(norm);
287 tx = (norm[2] - norm[0]) * offset;
288 ty = (norm[3] - norm[1]) * offset
    [all...]
  /external/eigen/unsupported/test/
NonLinearOptimization.cpp 183 // check norm
212 // check norm
297 // check norm
332 // check norm
385 // check norm
416 // check norm
488 // check norm
517 // check norm
572 // check norm
603 // check norm
    [all...]
  /external/jmonkeyengine/engine/src/bullet-native/
jmeBulletUtil.cpp 224 float norm = w * w + x * x + y * y + z * z; local
225 float s = (norm == 1.0) ? 2.0 : (norm > 0.1) ? 2.0 / norm : 0.0;
242 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
Converter.java 144 float norm = oldQuaternion.getW() * oldQuaternion.getW() + oldQuaternion.getX() * oldQuaternion.getX() + oldQuaternion.getY() * oldQuaternion.getY() + oldQuaternion.getZ() * oldQuaternion.getZ(); local
145 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0;
162 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here

Completed in 1244 milliseconds

1 2 3 4 56 7 8 91011>>