/external/opencv3/modules/calib3d/test/ |
test_fisheye.cpp | 183 dT *= 1e-9*cv::norm(T); 187 CV_Assert (cv::norm(x2 - xpred) < 1e-10); 192 dom *= 1e-9*cv::norm(om); 196 CV_Assert (cv::norm(x2 - xpred) < 1e-10); 201 df *= 1e-9*cv::norm(f); 205 CV_Assert (cv::norm(x2 - xpred) < 1e-10); 210 dc *= 1e-9*cv::norm(c); 214 CV_Assert (cv::norm(x2 - xpred) < 1e-10); 219 dk *= 1e-9*cv::norm(k); 223 CV_Assert (cv::norm(x2 - xpred) < 1e-10) [all...] |
test_affine3d_estimator.cpp | 111 if (cvtest::norm(aff_est, aff, NORM_INF) > thres) 113 //cout << cvtest::norm(aff_est, aff, NORM_INF) << endl; 164 if (cvtest::norm(aff_est, aff, NORM_INF) > thres)
|
/external/ceres-solver/internal/ceres/ |
compressed_row_sparse_matrix_test.cc | 65 EXPECT_EQ((y_a - y_b).norm(), 0); 114 EXPECT_EQ((b1 - b2).norm(), 0); 125 EXPECT_EQ((b1 - b2).norm(), 0); 215 EXPECT_EQ((tsm_dense - crsm_dense).norm(), 0.0); 276 EXPECT_EQ((dense.diagonal() - diagonal).norm(), 0.0); 406 EXPECT_NEAR((dense_matrix - dense_transpose.transpose()).norm(), 0.0, 1e-14); 558 const double diff_norm = (actual_matrix - expected_matrix).norm() / expected_matrix.norm();
|
iterative_schur_complement_solver_test.cc | 101 double diff = (isc_sol - reference_solution).norm();
|
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 60 float length = vec.norm(); 81 float length = vec.norm();
|
/external/eigen/test/ |
geo_orthomethods.cpp | 80 VERIFY_IS_APPROX(v0.unitOrthogonal().norm(), RealScalar(1)); 88 VERIFY_IS_APPROX(v0.unitOrthogonal().norm(), RealScalar(1));
|
vectorwiseop.cpp | 176 // test norm 177 rrres = m1.colwise().norm(); 178 VERIFY_IS_APPROX(rrres(c), m1.col(c).norm()); 179 rcres = m1.rowwise().norm(); 180 VERIFY_IS_APPROX(rcres(r), m1.row(r).norm());
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_conv.c | 386 src_type.norm == 0 && 393 dst_type.norm == 1 && 441 src_type.norm == 0 && 448 dst_type.norm == 1 && 547 if(!dst_type.fixed && !dst_type.sign && dst_type.norm) { 642 if(!src_type.fixed && !src_type.sign && src_type.norm) { 739 src_type.norm = FALSE; 744 dst_type.norm = FALSE;
|
lp_bld_format_aos_array.c | 65 src_type.norm = format_desc->channel[0].normalized;
|
/external/opencv3/modules/videostab/src/ |
deblurring.cpp | 58 double normGx = norm(Gx); 59 double normGy = norm(Gy);
|
/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;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
stochastic_linear_ranker.h | 118 void SetNormConstraint(const double norm) { 119 norm_constraint_ = norm;
|
/frameworks/rs/ |
rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { 32 mNormalized = 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;
|
/system/tools/aidl/ |
ast_cpp_unittest.cpp | 105 unique_ptr<MethodDecl> norm{new MethodDecl( 117 test_methods.push_back(std::move(norm));
|
/external/eigen/test/eigen2/ |
eigen2_parametrizedline.cpp | 41 VERIFY_IS_APPROX( (l0.projection(p1)-p1).norm(), l0.distance(p1) );
|
/external/icu/icu4c/source/tools/gennorm2/ |
n2builder.cpp | 98 struct Norm { 177 normMem=utm_open("gennorm2 normalization structs", 10000, 0x110100, sizeof(Norm)); 178 norms=allocNorm(); // unused Norm struct at index 0 212 Norm *Normalizer2DataBuilder::allocNorm() { 213 Norm *p=(Norm *)utm_alloc(normMem); 214 norms=(Norm *)utm_getStart(normMem); // in case it got reallocated 218 /* get an existing Norm unit */ 219 Norm *Normalizer2DataBuilder::getNorm(UChar32 c) { 227 const Norm &Normalizer2DataBuilder::getNormRef(UChar32 c) const 450 Norm &norm=norms[value]; local 1058 const Norm &norm=norms[i]; local [all...] |
/external/opencv3/modules/imgproc/test/ |
test_watershed.cpp | 124 if (0 != norm(markers8U, exp, NORM_INF))
|
/external/opencv3/modules/ml/src/ |
testset.cpp | 93 elem.d = norm(samples.row(i), NORM_L2);
|
/external/opencv3/modules/python/test/ |
test.py | 73 self.assertTrue(cv2.norm(a, cv2.NORM_L1) == 15) 75 self.assertEqual(cv2.norm(absa1, absa0, cv2.NORM_INF), 0) 101 if cv2.norm(out[2,:]) < 1e-3: 103 self.assertLess(cv2.norm(out, np.float64([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0]])), 1e-3)
|
/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;
|
/external/autotest/client/cros/audio/ |
audio_analysis.py | 73 signal_rms = numpy.linalg.norm(signal) / numpy.sqrt(len(signal)) 291 logging.info('Caught one block of test signal that has no meaningful norm') 304 """Exception when golden signal norm is too small.""" 309 """Exception when test signal norm is too small.""" 322 @raises: GoldenSignalNormTooSmallError: if golden signal norm is too small 323 @raises: TestSignalNormTooSmallError: if test signal norm is too small. 332 norm_golden = numpy.linalg.norm(golden_signal) 333 norm_test = numpy.linalg.norm(test_signal) 336 'No meaningful data as norm is too small.') 339 'No meaningful data as norm is too small.' [all...] |
/external/eigen/Eigen/src/Geometry/ |
OrthoMethods.h | 143 RealScalar invnm = RealScalar(1)/(Vector2() << src.coeff(sndi),src.coeff(maxi)).finished().norm(); 170 RealScalar invnm = RealScalar(1)/src.template head<2>().norm(); 181 RealScalar invnm = RealScalar(1)/src.template tail<2>().norm();
|
/external/opencv3/modules/cudaarithm/src/ |
reductions.cpp | 50 double cv::cuda::norm(InputArray, int, InputArray) { throw_no_cuda(); return 0.0; } function in class:cv::cuda 52 double cv::cuda::norm(InputArray, InputArray, int) { throw_no_cuda(); return 0.0; } function in class:cv::cuda 85 // norm 117 double cv::cuda::norm(InputArray _src, int normType, InputArray _mask)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pitch_f4.c | 173 Word32 corr, exp_corr, norm, exp, scale; local 235 norm = extract_h(L_tmp); 239 L_tmp = L_mult(corr, norm);
|