/external/eigen/unsupported/doc/examples/ |
PolynomialUtils1.cpp | 11 Eigen::Matrix<double,5,1> polynomial; local 12 roots_to_monicPolynomial( roots, polynomial ); 13 cout << "Polynomial: "; 14 for( int i=0; i<4; ++i ){ cout << polynomial[i] << ".x^" << i << "+ "; } 15 cout << polynomial[4] << ".x^4" << endl; 18 evaluation[i] = poly_eval( polynomial, roots[i] ); } 19 cout << "Evaluation of the polynomial at the roots: " << evaluation.transpose();
|
PolynomialSolver1.cpp | 14 Eigen::Matrix<double,6,1> polynomial; local 15 roots_to_monicPolynomial( roots, polynomial ); 17 PolynomialSolver<double,5> psolve( polynomial ); 31 cout << "Hard case polynomial defined by floats: " << hardCase_polynomial.transpose() << endl; 36 cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl << endl; 47 cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl << endl;
|
/external/ceres-solver/internal/ceres/ |
polynomial_test.cc | 32 #include "ceres/polynomial.h" 49 // Return the constant polynomial p(x) = 1.23. 56 // Return the polynomial p(x) = poly(x) * (x - root). 65 // Return the polynomial 85 // Run a test with the polynomial defined by the N real roots in roots_real. 118 TEST(Polynomial, InvalidPolynomialOfZeroLengthIsRejected) { 129 TEST(Polynomial, ConstantPolynomialReturnsNoRoots) { 140 TEST(Polynomial, LinearPolynomialWithPositiveRootWorks) { 145 TEST(Polynomial, LinearPolynomialWithNegativeRootWorks) { 150 TEST(Polynomial, QuadraticPolynomialWithPositiveRootsWorks) 321 const Vector polynomial = FindInterpolatingPolynomial(samples); local 339 const Vector polynomial = FindInterpolatingPolynomial(samples); local 367 Vector polynomial = FindInterpolatingPolynomial(samples); local 397 const Vector polynomial = FindInterpolatingPolynomial(samples); local 440 const Vector polynomial = FindInterpolatingPolynomial(samples); local 477 const Vector polynomial = FindInterpolatingPolynomial(samples); local 508 const Vector polynomial = FindInterpolatingPolynomial(samples); local [all...] |
dogleg_strategy.cc | 39 #include "ceres/polynomial.h" 299 // polynomial in y, which can be solved using e.g. the companion matrix. 322 LOG(WARNING) << "Failed to compute polynomial roots. " 367 // Build the polynomial that defines the optimal Lagrange multipliers. 408 // So (7) is a polynomial in y of degree four. 426 Vector polynomial(5); 427 polynomial(0) = r2; 428 polynomial(1) = 2.0 * r2 * trB; 429 polynomial(2) = r2 * (trB * trB + 2.0 * detB) - subspace_g_.squaredNorm(); 430 polynomial(3) = -2.0 * (subspace_g_.transpose() * B_adj * subspace_g 478 const Vector polynomial = MakePolynomialForBoundaryConstrainedProblem(); local [all...] |
polynomial.cc | 32 #include "ceres/polynomial.h" 102 void BuildCompanionMatrix(const Vector& polynomial, 107 const int degree = polynomial.size() - 1; 112 companion_matrix.col(degree - 1) = -polynomial.reverse().head(degree); 124 void FindLinearPolynomialRoots(const Vector& polynomial, 127 CHECK_EQ(polynomial.size(), 2); 130 (*real)(0) = -polynomial(1) / polynomial(0); 138 void FindQuadraticPolynomialRoots(const Vector& polynomial, 141 CHECK_EQ(polynomial.size(), 3) 190 Vector polynomial = RemoveLeadingZeros(polynomial_in); local 377 const Vector polynomial = FindInterpolatingPolynomial(samples); local [all...] |
/external/opencv3/modules/calib3d/src/ |
triangulate.cpp | 190 cv::Ptr<CvMat> polynomial; local 247 polynomial.reset(cvCreateMat(1,7,CV_64FC1)); 330 // Form the polynomial g(t) = k6*t? + k5*t? + k4*t? + k3*t³ + k2*t² + k1*t + k0 332 cvSetReal2D(polynomial,0,6,( +b*c*c*f1*f1*f1*f1*a-a*a*d*f1*f1*f1*f1*c )); 333 cvSetReal2D(polynomial,0,5,( +f2*f2*f2*f2*c*c*c*c+2*a*a*f2*f2*c*c-a*a*d*d*f1*f1*f1*f1+b*b*c*c*f1*f1*f1*f1+a*a*a*a )); 334 cvSetReal2D(polynomial,0,4,( +4*a*a*a*b+2*b*c*c*f1*f1*a+4*f2*f2*f2*f2*c*c*c*d+4*a*b*f2*f2*c*c+4*a*a*f2*f2*c*d-2*a*a*d*f1*f1*c-a*d*d*f1*f1*f1*f1*b+b*b*c*f1*f1*f1*f1*d )); 335 cvSetReal2D(polynomial,0,3,( +6*a*a*b*b+6*f2*f2*f2*f2*c*c*d*d+2*b*b*f2*f2*c*c+2*a*a*f2*f2*d*d-2*a*a*d*d*f1*f1+2*b*b*c*c*f1*f1+8*a*b*f2*f2*c*d )); 336 cvSetReal2D(polynomial,0,2,( +4*a*b*b*b+4*b*b*f2*f2*c*d+4*f2*f2*f2*f2*c*d*d*d-a*a*d*c+b*c*c*a+4*a*b*f2*f2*d*d-2*a*d*d*f1*f1*b+2*b*b*c*f1*f1*d )); 337 cvSetReal2D(polynomial,0,1,( +f2*f2*f2*f2*d*d*d*d+b*b*b*b+2*b*b*f2*f2*d*d-a*a*d*d+b*b*c*c )); 338 cvSetReal2D(polynomial,0,0,( -a*d*d*b+b*b*c*d )) [all...] |
/external/libgdx/backends/gdx-backend-lwjgl/libs/ |
jlayer-1.0.1-libgdx.jar | |
/external/libgdx/backends/gdx-backend-lwjgl3/libs/ |
jlayer-1.0.1-libgdx.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/offline-m2/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |