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

1 2 34 5 6 7 8 91011>>

  /external/eigen/blas/
level1_impl.h 110 RealScalar norm,scale; local
120 norm = scale*internal::sqrt((internal::abs2(a/scale))+ (internal::abs2(b/scale)));
122 *c = internal::abs(a)/norm;
123 *s = alpha*internal::conj(b)/norm;
124 a = alpha*norm;
  /external/eigen/unsupported/test/
splines.cpp 125 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
153 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
193 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
216 VERIFY( (pt - ref).matrix().norm() < 1e-14 );
228 VERIFY( (pt - ref).matrix().norm() < 1e-14 );
alignedvector3.cpp 43 VERIFY_IS_APPROX(f2.norm(),r2.norm());
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
EmitterMeshVertexShape.java 61 Vector3f norm = vertToNormalMap.get(vert); local
62 if (norm == null) {
63 norm = new Vector3f(normalTable[i], normalTable[i + 1], normalTable[i + 2]);
64 vertToNormalMap.put(vert, norm);
66 norm.addLocal(normalTable[i], normalTable[i + 1], normalTable[i + 2]);
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
StripBox.java 153 Vector3f norm = new Vector3f(); local
156 norm.set(vert[i]).normalizeLocal();
158 normals[i * 3 + 0] = norm.x;
159 normals[i * 3 + 1] = norm.x;
160 normals[i * 3 + 2] = norm.x;
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
LocationCluster.java 122 double norm = 0f; local
125 norm += vector[i] * vector[i];
127 norm = Math.sqrt(norm);
132 (vector[i] / norm) * Math.sin(radian);
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestSSAO.java 66 Texture norm = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall_normal.jpg"); local
67 norm.setWrap(Texture.WrapMode.Repeat);
69 mat.setTexture("NormalMap", norm);
  /external/ceres-solver/internal/ceres/
schur_eliminator_test.cc 177 double diff = delta.norm();
178 EXPECT_NEAR(diff / lhs_expected.norm(), 0.0, relative_tolerance);
179 EXPECT_NEAR((rhs - rhs_expected).norm() / rhs_expected.norm(), 0.0,
181 EXPECT_NEAR((sol - sol_expected).norm() / sol_expected.norm(), 0.0,
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
    [all...]
  /external/eigen/unsupported/Eigen/src/Polynomials/
Companion.h 128 * for a certain norm if the i-th row and the i-th column
129 * have same norm for all i.
192 * Set the norm of the column and the row to the geometric mean
193 * of the row and column norm
240 // column norm, excluding the diagonal
243 // row norm, excluding the diagonal
  /frameworks/ml/bordeaux/learning/multiclass_pa/native/
multiclass_pa.cpp 90 float norm = 0; local
92 norm += inputs[i] * inputs[i];
94 return norm;
99 float norm = 0; local
101 norm += inputs[i].second * inputs[i].second;
103 return norm;
  /cts/suite/audio_quality/test_description/processing/
calc_thd.py 37 P0 = math.pow(la.norm(fftData[baseSignalLoc - iMargain/2: baseSignalLoc + iMargain/2]), 2)
41 Pothers += math.pow(la.norm(fftData[i - iMargain/2: i + iMargain/2]), 2)
  /external/eigen/test/
prec_inverse_4x4.cpp 23 double error = double( (m*inv-MatrixType::Identity()).norm() / NumTraits<Scalar>::epsilon() );
44 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() );
geo_hyperplane.cpp 94 while (u.norm() < 1e-4) u = Vector::Random();
95 while (v.norm() < 1e-4) v = Vector::Random();
101 VERIFY_IS_APPROX(line_u.normal().norm(), Scalar(1));
102 VERIFY_IS_APPROX(line_v.normal().norm(), Scalar(1));
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
BatchNode.java 511 Vector3f norm = vars.vect2; local
525 norm.x = tmpFloatN[index++];
527 norm.y = tmpFloatN[index++];
529 norm.z = tmpFloatN[index];
532 transform.multNormal(norm, norm);
536 tmpFloatN[index++] = norm.x;
538 tmpFloatN[index++] = norm.y;
540 tmpFloatN[index++] = norm.z;
555 Vector3f norm = vars.vect2 local
    [all...]
  /external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
ssao15.frag 44 float doAmbientOcclusion(in vec2 tc, in vec3 pos, in vec3 norm){
49 return max(0.0, dot(norm, v) - m_Bias) * ( 1.0/(1.0 + d) ) * m_Intensity;
  /external/opencv/cxcore/src/
_cxipp.h 316 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
319 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
322 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
327 CvSize size, double* norm )) \
332 CvSize size, double* norm )) \
337 CvSize size, double* norm ))
343 CvSize size, double* norm )) \
347 CvSize size, double* norm, CvHintAlgorithm )) \
351 CvSize size, double* norm, CvHintAlgorithm )) \
356 CvSize size, double* norm )) \
    [all...]
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
sparse_weight_vector.cpp 267 // and then reprojects to the L0 orthant with the requested norm.
270 // Compute order statistics and the current L0 norm.
310 // Compute order statistics and the current L1 norm.
361 int32 SparseWeightVector<Key, Hash>::Reproject(const double norm,
363 CHECK_GT(norm, 0);
365 ReprojectL0(norm);
367 ReprojectL1(norm);
369 ReprojectL2(norm);
  /cts/apps/CtsVerifier/lib/colorchecker/
whitebalancetest.cpp 111 float norm = color/ 255.0f; local
115 if (norm > 0.04045f) {
116 linearColor = pow(((norm + 0.055f) / 1.055f), 2.4f);
118 linearColor = norm / 12.92f;
  /external/chromium_org/third_party/libxslt/libxslt/
extra.h 54 * This is Norm's namespace for SAXON extensions.
  /external/eigen/test/eigen2/
eigen2_hyperplane.cpp 93 while (u.norm() < 1e-4) u = Vector::Random();
94 while (v.norm() < 1e-4) v = Vector::Random();
100 VERIFY_IS_APPROX(line_u.normal().norm(), Scalar(1));
101 VERIFY_IS_APPROX(line_v.normal().norm(), Scalar(1));
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
Lighting.vert 97 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir){
98 return max(0.0, dot(norm, lightdir));
101 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){
107 return pow(max(dot(H, norm), 0.0), shiny);
  /external/libxslt/libxslt/
extra.h 54 * This is Norm's namespace for SAXON extensions.
  /external/webrtc/src/common_audio/signal_processing/
get_scaling_square.c 39 return 0; // Since norm(0) returns 0
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
video_decoder.h 11 #define VIDEO_DECODER_AUTO 8 /* can autosense norm */

Completed in 518 milliseconds

1 2 34 5 6 7 8 91011>>