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

1 2 34 5 6 7 8 91011>>

  /external/ceres-solver/internal/ceres/
implicit_schur_complement_test.cc 144 if ((y - z).norm() > kEpsilon) {
153 if ((isc.rhs() - rhs).norm() > kEpsilon) {
168 if ((sol - reference_solution).norm() > kEpsilon) {
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);
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
sparse_weight_vector.h 64 // 4. its L0 norm is close to zero.
71 void SetNormalizer(const double norm) {
72 normalizer_ = norm;
142 // L-x norm. eg. L1, L2.
156 // Reproject using the given norm.
158 int32 Reproject(const double norm, const RegularizationType r);
  /external/eigen/bench/
quat_slerp.cpp 92 theta = /*M_PI -*/ Scalar(2)*std::asin( (a.coeffs()+b.coeffs()).norm()/2 );
94 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 );
115 // theta = Scalar(2) * atan2((a.coeffs()-b.coeffs()).norm(),(a.coeffs()+b.coeffs()).norm());
120 theta = /*M_PI -*/ Scalar(2)*std::asin( (-a.coeffs()-b.coeffs()).norm()/2 );
122 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 );
199 err[0] = (cr.coeffs()-refc.cast<RefScalar>().coeffs()).norm();
203 err[k+1] = (c[k].coeffs()-refc.coeffs()).norm();
  /external/chromium_org/third_party/icu/source/tools/gennorm2/
n2builder.h 34 struct Norm;
78 Norm *allocNorm();
79 Norm *getNorm(UChar32 c);
80 Norm *createNorm(UChar32 c);
81 Norm *checkNormForMapping(Norm *p, UChar32 c); // check for permitted overrides
83 const Norm &getNormRef(UChar32 c) const;
85 UBool combinesWithCCBetween(const Norm &norm, uint8_t lowCC, uint8_t highCC) const;
86 UChar32 combine(const Norm &norm, UChar32 trail) const
    [all...]
  /external/eigen/bench/spbench/
sp_solver.cpp 60 // cout << " norm of A " << mat1.norm() << endl; ;
69 // std::cout<< "NORM " << mat1.squaredNorm()<< endl;
116 double tempNorm = tmp2.norm()/b.norm();
117 cout << "Relative norm of the computed solution : " << tempNorm <<"\n";
test_sparseLU.cpp 88 scalar tempNorm = tmp2.norm()/b.norm();
89 cout << "Relative norm of the computed solution : " << tempNorm <<"\n";
  /external/eigen/test/eigen2/
eigen2_prec_inverse_4x4.cpp 42 double error = double( (m*inv-MatrixType::Identity()).norm() / epsilon<Scalar>() );
62 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / epsilon<Scalar>() );
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/eigen/unsupported/test/
alignedvector3.cpp 43 VERIFY_IS_APPROX(f2.norm(),r2.norm());
  /external/icu/icu4c/source/tools/gennorm2/
n2builder.h 34 struct Norm;
78 Norm *allocNorm();
79 Norm *getNorm(UChar32 c);
80 Norm *createNorm(UChar32 c);
81 Norm *checkNormForMapping(Norm *p, UChar32 c); // check for permitted overrides
83 const Norm &getNormRef(UChar32 c) const;
85 UBool combinesWithCCBetween(const Norm &norm, uint8_t lowCC, uint8_t highCC) const;
86 UChar32 combine(const Norm &norm, UChar32 trail) const
    [all...]
  /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...]
cxutils.cpp 716 double norm = 0, v; local
728 norm += v*v;
730 norm = sqrt(norm);
736 norm += v;
742 norm = MAX(norm,v);
745 norm = norm > DBL_EPSILON ? 1./norm : 0.
    [all...]
  /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/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/chromium_org/third_party/webrtc/modules/video_processing/main/source/
content_analysis.cc 252 const float norm = (float)pixelMSA; local
255 spatial_pred_err_ = spatialErr / norm;
257 spatial_pred_err_h_ = spatialErrH / norm;
259 spatial_pred_err_v_ = spatialErrV / norm;
  /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
131 /** \returns an expression of the quotient of *this by its own norm.
135 * \sa norm(), normalize(
    [all...]
  /external/eigen/test/
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/srec/srec/crec/
get_fram.c 438 void convert_adjustment_to_imelda(norm_info *norm, preprocessed *prep)
444 ASSERT(norm);
446 fram[ii] = (imeldata) norm->adjust[ii]; /* TODO: review types */
453 norm->imelda_adjust[ii] = fram[ii];
455 log_report("NORM AUX: ");
456 for (ii = 0; ii < norm->dim; ii++)
457 log_report("%d ", (int)norm->imelda_adjust[ii]);
460 norm->adj_valid = True;
  /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)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
tabnanny.py 143 # norm
151 # n.indent_level(t) for all t >= 1 iff m.norm == n.norm.
175 self.norm = tuple(count), b
181 count, trailing = self.norm
185 # count, il = self.norm
199 count, trailing = self.norm
208 return self.norm == other.norm
237 # Note that M is of the form (T*)(S*) iff len(M.norm[0]) <= 1
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
tabnanny.py 143 # norm
151 # n.indent_level(t) for all t >= 1 iff m.norm == n.norm.
175 self.norm = tuple(count), b
181 count, trailing = self.norm
185 # count, il = self.norm
199 count, trailing = self.norm
208 return self.norm == other.norm
237 # Note that M is of the form (T*)(S*) iff len(M.norm[0]) <= 1
    [all...]
  /external/chromium_org/third_party/libyuv/util/
psnr_main.cc 447 const double norm = 1. / static_cast<double>(number_of_frames); local
448 cur_distortion_psnr->y *= norm;
449 cur_distortion_psnr->u *= norm;
450 cur_distortion_psnr->v *= norm;
451 cur_distortion_psnr->all *= norm;
452 cur_distortion_ssim->y *= norm;
453 cur_distortion_ssim->u *= norm;
454 cur_distortion_ssim->v *= norm;
455 cur_distortion_ssim->all *= norm;
  /external/eigen/Eigen/src/Eigenvalues/
RealSchur.h 237 Index findSmallSubdiagEntry(Index iu, const Scalar& norm);
283 Scalar norm = computeNormOfT(); local
285 if(norm!=0)
289 Index il = findSmallSubdiagEntry(iu, norm);
330 /** \internal Computes and returns vector L1 norm of T */
336 // Scalar norm = m_matT.upper().cwiseAbs().sum()
338 Scalar norm(0);
340 norm += m_matT.col(j).segment(0, (std::min)(size,j+2)).cwiseAbs().sum();
341 return norm;
346 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, const Scalar& norm)
    [all...]

Completed in 1845 milliseconds

1 2 34 5 6 7 8 91011>>