HomeSort by relevance Sort by last modified time
    Searched defs:norm (Results 51 - 75 of 181) sorted by null

1 23 4 5 6 7 8

  /frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Quaternion.java 49 double norm = Math.sqrt(dot(a, a)); local
50 return new double[]{a[0] / norm, a[1] / norm, a[2] / norm};
  /external/ceres-solver/internal/ceres/
rotation_test.cc 73 *result_listener << "squared norm is " << norm2;
318 double norm = 0; local
321 norm += axis_angle[i] * axis_angle[i];
323 norm = sqrt(norm);
328 axis_angle[i] = axis_angle[i] * theta / norm;
350 double norm = 0; local
353 norm += quaternion[i] * quaternion[i];
355 norm = sqrt(norm);
427 double norm = 0; local
526 double norm = 0; local
559 double norm = 0; local
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
Quaternion.h 139 /** \returns the squared norm of the quaternion's coefficients
140 * \sa Quaternion::norm(), MatrixBase::squaredNorm()
144 /** \returns the norm of the quaternion's coefficients
145 * \sa Quaternion::squaredNorm(), MatrixBase::norm()
147 inline Scalar norm() const { return m_coeffs.norm(); } function in class:Eigen::Quaternion
  /external/libyuv/files/util/
psnr_main.cc 534 const double norm = 1. / static_cast<double>(number_of_frames); local
535 cur_distortion_psnr->y *= norm;
536 cur_distortion_psnr->u *= norm;
537 cur_distortion_psnr->v *= norm;
538 cur_distortion_psnr->all *= norm;
539 cur_distortion_ssim->y *= norm;
540 cur_distortion_ssim->u *= norm;
541 cur_distortion_ssim->v *= norm;
542 cur_distortion_ssim->all *= norm;
  /external/opencv3/modules/calib3d/src/
dls.h 170 // Store roots isolated by balanc and compute matrix norm
172 double norm = 0.0; local
179 norm = norm + std::abs(H[i][j]);
192 s = norm;
434 if (norm == 0.0) {
462 H[i][n1] = -r / (eps * norm);
535 vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x)
p3p.cpp 101 double norm; local
105 norm = sqrt(mu0 * mu0 + mv0 * mv0 + 1);
106 mk0 = 1. / norm; mu0 *= mk0; mv0 *= mk0;
110 norm = sqrt(mu1 * mu1 + mv1 * mv1 + 1);
111 mk1 = 1. / norm; mu1 *= mk1; mv1 *= mk1;
115 norm = sqrt(mu2 * mu2 + mv2 * mv2 + 1);
116 mk2 = 1. / norm; mu2 *= mk2; mv2 *= mk2;
  /external/opencv3/modules/features2d/src/kaze/
nldiffusion_functions.cpp 325 float norm = 1.0f / (2.0f*scale*(w + 2.0f)); local
333 kerI[0] = norm, kerI[ksize / 2] = w*norm, kerI[ksize - 1] = norm;
402 * The function c is a scalar value that depends on the gradient norm
  /external/opencv3/modules/ml/src/
lr.cpp 70 norm = LogisticRegression::REG_L2;
78 int norm; member in class:cv::ml::LrParams
93 CV_IMPL_PROPERTY(int, Regularization, params.norm)
325 if (params.norm != REG_DISABLE)
330 if(this->params.norm == LogisticRegression::REG_L1)
380 if (params.norm != REG_DISABLE)
452 if (params.norm != REG_DISABLE)
582 fs<<"norm"<<this->params.norm;
603 this->params.norm = (int)fn["norm"]
    [all...]
  /external/skia/tools/
sk_tool_utils.cpp 240 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) {
241 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f));
242 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255);
243 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255);
244 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255);
253 SkVector3 norm; local
257 norm.fX = (x + 0.5f - center.fX) / halfSize.fX;
258 norm.fY = (y + 0.5f - center.fY) / halfSize.fY;
260 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY
279 SkPoint3 norm; local
319 SkPoint3 norm; local
    [all...]
  /external/webrtc/webrtc/modules/video_processing/
content_analysis_sse2.cc 257 const float norm = static_cast<float>(pixelMSA); local
260 spatial_pred_err_ = spatialErr / norm;
263 spatial_pred_err_h_ = spatialErrH / norm;
266 spatial_pred_err_v_ = spatialErrV / norm;
  /ndk/sources/cxx-stl/stlport/src/
num_get_float.cpp 232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) {
233 norm = 0;
247 norm = 1;
300 int norm; /* number of bits of normalization */ local
308 _Stl_norm_and_round(p, norm, prodhi, prodlo);
309 bexp += _Stl_twoexp[hi] - norm;
315 _Stl_norm_and_round(p, norm, prodhi, prodlo);
316 bexp += _Stl_twoexp[lo] - norm;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
ArrayRealVector.java 786 * L<sub>2</sub> norm, i.e. the square root of the sum of
834 * L<sub>1</sub> norm, i.e. the sum of the absolute values of
882 * L<sub>&infin;</sub> norm, i.e. the max of the absolute values of
900 final double norm = getNorm(); local
901 if (norm == 0) {
904 return mapDivide(norm);
910 final double norm = getNorm(); local
911 if (norm == 0) {
914 mapDivideToSelf(norm);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 75 * Computes the norm of an element <code>&lambda;</code> of
80 * @return The norm of <code>&lambda;</code>.
82 public static BigInteger norm(final byte mu, ZTauElement lambda) method in class:Tnaf
84 BigInteger norm; local
97 norm = s1.add(s2).add(s3);
101 norm = s1.subtract(s2).add(s3);
108 return norm;
112 * Computes the norm of an element <code>&lambda;</code> of
121 * @return The norm of <code>&lambda;</code>.
123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u method in class:Tnaf
126 SimpleBigDecimal norm; local
321 BigInteger norm = norm(mu, lambda); local
743 BigInteger norm = norm(mu, lambda); local
    [all...]
  /external/eigen/Eigen/src/Core/
VectorwiseOp.h 120 EIGEN_MEMBER_FUNCTOR(norm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
303 /** \returns a row (or column) vector expression of the squared norm
313 /** \returns a row (or column) vector expression of the norm
319 * \sa DenseBase::norm() */
320 const typename ReturnType<internal::member_norm,RealScalar>::Type norm() const function in class:Eigen::VectorwiseOp
324 /** \returns a row (or column) vector expression of the norm
333 /** \returns a row (or column) vector expression of the norm
342 /** \returns a row (or column) vector expression of the norm
542 normalized() const { return m_matrix.cwiseQuotient(extendedToOpposite(this->norm())); }
  /external/eigen/Eigen/src/Geometry/
Quaternion.h 111 /** \returns the squared norm of the quaternion's coefficients
112 * \sa QuaternionBase::norm(), MatrixBase::squaredNorm()
116 /** \returns the norm of the quaternion's coefficients
117 * \sa QuaternionBase::squaredNorm(), MatrixBase::norm()
119 inline Scalar norm() const { return coeffs().norm(); } function in class:Eigen::QuaternionBase
567 * do not need to have the same norm.
617 * do not need to have the same norm.
673 return Scalar(2) * atan2( d.vec().norm(), abs(d.w()) );
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
btVector3.java 88 public float norm() { method in class:btVector3
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Quaternion.java 655 float norm = len(); local
656 float normExp = (float)Math.pow(norm, alpha);
659 float theta = (float)Math.acos(w / norm);
664 coeff = normExp*alpha / norm;
666 coeff = (float)(normExp*Math.sin(alpha*theta) / (norm*Math.sin(theta)));
    [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/opencv/cvaux/src/
cvlevmarprojbandle.cpp 1350 double norm = cvNorm(vectorX_points4D); local
1355 double norm = cvNorm(vectorX_projMatrs[i]); local
1384 double norm = cvNorm(matrsUk[i]); local
1390 double norm = cvNorm(matrsVi[i]); local
1427 double norm = cvNorm(matrsUk[i]); local
1433 double norm = cvNorm(matrsVi[i]); local
    [all...]
  /external/opencv3/modules/core/src/
lda.cpp 332 // Store roots isolated by balanc and compute matrix norm
334 double norm = 0.0; local
341 norm = norm + std::abs(H[i][j]);
354 s = norm;
596 if (norm == 0.0) {
624 H[i][n1] = -r / (eps * norm);
697 vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x)
    [all...]
  /external/skia/src/core/
SkLightingShader.cpp 496 SkPoint3 norm, xformedNorm; local
512 norm.set(SkIntToScalar(SkGetPackedR32(tmpNormal2[i]))-127.0f,
515 norm.normalize();
517 xformedNorm.fX = lightShader.fInvNormRotation.fX * norm.fX +
518 lightShader.fInvNormRotation.fY * norm.fY;
519 xformedNorm.fY = lightShader.fInvNormRotation.fX * norm.fX -
520 lightShader.fInvNormRotation.fY * norm.fY;
521 xformedNorm.fZ = norm.fZ;
  /external/svox/pico/lib/
picosig2.c 1006 picoos_int32 *norm; local
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
lpc_masking_model.c 84 int16_t norm; local
88 norm = WebRtcSpl_NormW32(R[0]);
91 temp1W32 = R[i] << norm;
178 norm = WebRtcSpl_NormW32(temp3W32);
179 if ((Alpha_exp <= norm)||(temp3W32==0)) {
247 norm = WebRtcSpl_NormW32(temp1W32);
248 temp1W32 <<= norm; local
254 Alpha_exp = Alpha_exp + norm;
  /frameworks/base/services/core/java/com/android/server/
AnyMotionDetector.java 346 public float norm() { method in class:AnyMotionDetector.Vector3
351 float mag = norm();
365 Math.atan2(crossVector.norm(), dotProduct(other))));
  /frameworks/native/libs/input/
VelocityTracker.cpp 476 float norm = vectorNorm(&q[j][0], m); local
477 if (norm < 0.000001f) {
480 ALOGD(" - no solution, norm=%f", norm);
485 float invNorm = 1.0f / norm;
    [all...]

Completed in 597 milliseconds

1 23 4 5 6 7 8