/external/ceres-solver/internal/ceres/ |
dogleg_strategy_test.cc | 148 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); 168 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); 213 EXPECT_NEAR(basis.col(0).norm(), 1.0, kTolerance); 214 EXPECT_NEAR(basis.col(1).norm(), 1.0, kTolerance); 219 EXPECT_NEAR((gradient - basis*(basis.transpose()*gradient)).norm(), 225 EXPECT_NEAR((gn - basis*(basis.transpose()*gn)).norm(),
|
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();
|
/external/eigen/test/ |
sparse_solver.h | 96 // Compute the norm of the relative error 98 res_error = (refX - x).norm()/refX.norm(); 101 // Compute the relative residual norm 102 res_error = (b - A * x).norm()/b.norm();
|
geo_orthomethods.cpp | 80 VERIFY_IS_APPROX(v0.unitOrthogonal().norm(), RealScalar(1)); 88 VERIFY_IS_APPROX(v0.unitOrthogonal().norm(), RealScalar(1));
|
jacobisvd.cpp | 91 RealScalar residual = (m*x-rhs).norm(); 93 if(!test_isMuchSmallerThan(residual,rhs.norm())) 100 RealScalar residual_y = (m*y-rhs).norm(); 104 residual_y = (m*y-rhs).norm(); 117 // check minimal norm solutions 135 // use QR to find a reference minimal norm solution 161 std::cout << x21.norm() << " == " << x3.norm() << "\n";
|
sparseqr.cpp | 82 // VERIFY((dA * refX - b).norm() * 2 > (A * x - b).norm() );
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_conv.c | 179 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 188 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 331 /* float, fixed, sign, norm, width, len */ 427 } while (src_type == dst_type || src_type->norm != dst_type->norm); 440 /* float, fixed, sign, norm, width, len */
|
/external/opencv3/modules/cudaarithm/perf/ |
perf_reductions.cpp | 50 // Norm 54 PERF_TEST_P(Sz_Depth_Norm, Norm, 75 TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src, normType, d_buf); 83 TEST_CYCLE() cpu_dst = cv::norm(src, normType); 113 TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src1, d_src2, normType); 122 TEST_CYCLE() cpu_dst = cv::norm(src1, src2, normType);
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
nat.go | 62 func (z nat) norm() nat { 140 return z.norm() 168 return z.norm() 208 return z.norm() 431 return z.norm() 469 x0 := x0.norm() 475 y0 := y0.norm() 481 xi = xi.norm() 489 return z.norm() 526 q = z.norm() [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/big/ |
nat.go | 59 func (z nat) norm() nat { 137 return z.norm() 165 return z.norm() 205 return z.norm() 428 return z.norm() 466 x0 := x0.norm() 472 y0 := y0.norm() 478 xi = xi.norm() 486 return z.norm() 523 q = z.norm() [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
nat.go | 59 func (z nat) norm() nat { 137 return z.norm() 165 return z.norm() 205 return z.norm() 428 return z.norm() 466 x0 := x0.norm() 472 y0 := y0.norm() 478 xi = xi.norm() 486 return z.norm() 523 q = z.norm() [all...] |
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
nat.go | 62 func (z nat) norm() nat { 140 return z.norm() 168 return z.norm() 208 return z.norm() 431 return z.norm() 469 x0 := x0.norm() 475 y0 := y0.norm() 481 xi = xi.norm() 489 return z.norm() 526 q = z.norm() [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/big/ |
nat.go | 59 func (z nat) norm() nat { 137 return z.norm() 165 return z.norm() 205 return z.norm() 428 return z.norm() 466 x0 := x0.norm() 472 y0 := y0.norm() 478 xi = xi.norm() 486 return z.norm() 523 q = z.norm() [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
nat.go | 59 func (z nat) norm() nat { 137 return z.norm() 165 return z.norm() 205 return z.norm() 428 return z.norm() 466 x0 := x0.norm() 472 y0 := y0.norm() 478 xi = xi.norm() 486 return z.norm() 523 q = z.norm() [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
RealVector.java | 729 * Returns the L<sub>2</sub> norm of the vector. 730 * <p>The L<sub>2</sub> norm is the root of the sum of 732 * @return norm 740 * Returns the L<sub>1</sub> norm of the vector. 741 * <p>The L<sub>1</sub> norm is the sum of the absolute 743 * @return norm 751 * Returns the L<sub>∞</sub> norm of the vector. 752 * <p>The L<sub>∞</sub> norm is the max of the absolute 754 * @return norm 764 * L<sub>2</sub> norm, i.e. the square root of the sum o [all...] |
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 60 float length = vec.norm(); 81 float length = vec.norm();
|
/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>() );
|
/external/eigen/unsupported/test/ |
levenberg_marquardt.cpp | 78 // check norm 107 // check norm 179 // check norm 210 // check norm 295 // check norm^2 316 // check norm^2 375 // check norm^2 392 // check norm^2 466 // check norm^2 488 // check norm^ [all...] |
FFTW.cpp | 205 VERIFY( (src-src2).norm() < test_precision<T>() ); 206 VERIFY( (dst-dst2).norm() < test_precision<T>() ); 223 VERIFY( (out1-out2).norm() < test_precision<float>() ); 225 VERIFY( (in1-in).norm() < test_precision<float>() );
|
/external/opencv3/modules/calib3d/test/ |
test_solvepnp_ransac.cpp | 145 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec); 243 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec); 310 double rnorm = cvtest::norm(rvec1, rvec2, NORM_INF); 311 double tnorm = cvtest::norm(tvec1, tvec2, NORM_INF); 338 ASSERT_LE(norm(R, Mat_<double>(RF), NORM_INF), 1e-3); 339 ASSERT_LE(norm(t, Mat_<double>(tF), NORM_INF), 1e-3);
|
/external/opencv3/modules/imgproc/test/ |
test_connectedcomponents.cpp | 94 if (0 != cvtest::norm(labelImage > 0, exp > 0, NORM_INF)) 99 if (nLabels != cvtest::norm(labelImage, NORM_INF)+1)
|
/external/opencv/cxcore/src/ |
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/eigen/bench/spbench/ |
spbench.dtd | 23 <!ELEMENT ERROR (#PCDATA)> <!-- Either the relative error or the relative residual norm -->
|
/external/opencv3/modules/calib3d/src/ |
levmarq.cpp | 108 double S = norm(r, NORM_L2SQR); 138 double Sd = norm(rd, NORM_L2SQR); 179 bool proceed = iter < maxIters && norm(d, NORM_INF) >= epsx && norm(r, NORM_INF) >= epsf;
|
quadsubpix.cpp | 67 double dist = norm(Point2f((float)contours[i][j].x, (float)contours[i][j].y) - point); 104 double dist = norm(contour[i] - point); 232 double angle = acos(dir1.dot(dir2)/(norm(dir1)*norm(dir2)));
|