/external/ceres-solver/include/ceres/internal/ |
D | eigen.h | 38 typedef Eigen::Matrix<double, Eigen::Dynamic, 1> Vector; 39 typedef Eigen::Matrix<double, 40 Eigen::Dynamic, 41 Eigen::Dynamic, 42 Eigen::RowMajor> Matrix; 43 typedef Eigen::Map<Vector> VectorRef; 44 typedef Eigen::Map<Matrix> MatrixRef; 45 typedef Eigen::Map<const Vector> ConstVectorRef; 46 typedef Eigen::Map<const Matrix> ConstMatrixRef; 49 typedef Eigen::Matrix<double, [all …]
|
/external/eigen/demos/opengl/ |
D | camera.h | 22 inline Frame(const Eigen::Vector3f& pos = Eigen::Vector3f::Zero(), 23 const Eigen::Quaternionf& o = Eigen::Quaternionf()) 32 Eigen::Quaternionf orientation; 33 Eigen::Vector3f position; 60 void setPosition(const Eigen::Vector3f& pos); 61 inline const Eigen::Vector3f& position(void) const { return mFrame.position; } in position() 63 void setOrientation(const Eigen::Quaternionf& q); 64 inline const Eigen::Quaternionf& orientation(void) const { return mFrame.orientation; } in orientation() 69 void setDirection(const Eigen::Vector3f& newDirection); 70 Eigen::Vector3f direction(void) const; [all …]
|
/external/eigen/doc/ |
D | A10_Eigen2SupportModes.dox | 1 namespace Eigen { 3 /** \page Eigen2SupportModes Eigen 2 support modes 5 …s the Eigen2 support modes, a powerful tool to help migrating your project from Eigen 2 to Eigen 3. 6 Don't miss our page on \ref Eigen2ToEigen3 "API changes" between Eigen 2 and Eigen 3. 20 …GEN2_SUPPORT before including any Eigen 3 header, you get back a large part of the Eigen 2 API, wh… 28 …Eigen 2 to Eigen 3 is that some of the Eigen 2 API is inherently incompatible with the Eigen 3 API… 31 \li Step 0: start with a project using Eigen 2. 32 … your project against Eigen 3 with \ref Stage10 "Eigen 2 support stage 10". This mode enables maxi… 33 …t Eigen 3 with \ref Stage20 "Eigen 2 support stage 20". This mode forces you to add eigen2_ prefix… 34 …ep 3: build your project against Eigen 3 with \ref Stage30 "Eigen 2 support stage 30". This mode e… [all …]
|
D | D01_StlContainers.dox | 1 namespace Eigen { 3 /** \page TopicStlContainers Using STL Containers with Eigen 12 Using STL containers on \ref TopicFixedSizeVectorizable "fixed-size vectorizable Eigen types", or c… 14 \li A 16-byte-aligned allocator must be used. Eigen does provide one ready for use: aligned_allocat… 15 \li If you want to use the std::vector container, you need to \#include <Eigen/StdVector>. 17 …size vectorizable Eigen types" and \ref TopicStructHavingEigenMembers "structures having such Eige… 21 …Eigen types", you need tell the container to use an allocator that will always allocate memory at … 25 std::map<int, Eigen::Vector4f> 29 std::map<int, Eigen::Vector4f, std::less<int>, 30 Eigen::aligned_allocator<std::pair<const int, Eigen::Vector4f> > > [all …]
|
D | I05_FixedSizeVectorizable.dox | 1 namespace Eigen { 3 /** \page TopicFixedSizeVectorizable Fixed-size vectorizable Eigen objects 9 An Eigen object is called "fixed-size vectorizable" if it has fixed size and that size is a multipl… 12 \li Eigen::Vector2d 13 \li Eigen::Vector4d 14 \li Eigen::Vector4f 15 \li Eigen::Matrix2d 16 \li Eigen::Matrix2f 17 \li Eigen::Matrix4d 18 \li Eigen::Matrix4f [all …]
|
D | TopicMultithreading.dox | 1 namespace Eigen { 3 /** \page TopicMultiThreading Eigen and multi-threading 5 \section TopicMultiThreading_MakingEigenMT Make Eigen run in parallel 7 Some Eigen's algorithms can exploit the multiple cores present in your hardware. To this end, it is… 15 Eigen::setNbThreads(n); 17 Unless setNbThreads has been called, Eigen uses the number of threads specified by OpenMP. You can … 20 n = Eigen::nbThreads(n); 22 You can disable Eigen's multi threading at compile time by defining the EIGEN_DONT_PARALLELIZE prep… 28 \section TopicMultiThreading_UsingEigenWithMT Using Eigen in a multi-threaded application 30 …on is multithreaded, and multiple threads make calls to Eigen, then you have to initialize Eigen b… [all …]
|
D | D11_UnalignedArrayAssert.dox | 1 namespace Eigen { 7 my_program: path/to/eigen/Eigen/src/Core/DenseStorage.h:44: 8 Eigen::internal::matrix_array<T, Size, MatrixOptions, Align>::internal::matrix_array() 28 …ce, the error message doesn't look helpful, as it refers to a file inside Eigen! However, since yo… 37 \section c1 Cause 1: Structures having Eigen objects as members 45 Eigen::Vector2d v; 52 …d to read this separate page: \ref TopicStructHavingEigenMembers "Structures Having Eigen Members". 54 …e, Eigen::Vector2d is only used as an example, more generally the issue arises for all \ref TopicF… 58 … Containers such as std::vector, std::map, ..., with Eigen objects, or with classes containing Eig… 61 std::vector<Eigen::Matrix2f> my_vector; [all …]
|
D | I00_CustomizingEigen.dox | 1 namespace Eigen { 3 /** \page TopicCustomizingEigen Customizing/Extending Eigen 5 Eigen can be extended in several ways, for instance, by defining global methods, \ref ExtendingMatr… 14 …ailable to all expressions ! A typical use case is, for instance, to make Eigen compatible with an… 25 …r method declaration and define EIGEN_MATRIXBASE_PLUGIN before you include any Eigen's header file. 27 You can extend many of the other classes used in Eigen by defining similarly named preprocessor sym… 86 In order for your object to work within the %Eigen framework, you need to 91 class MyVectorType : public Eigen::VectorXd 94 MyVectorType(void):Eigen::VectorXd() {} 96 typedef Eigen::VectorXd Base; [all …]
|
/external/eigen/test/ |
D | product_trmv.cpp | 33 m3 = m1.template triangularView<Eigen::Lower>(); in trmv() 34 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Lower>() * v1, largerEps)); in trmv() 35 m3 = m1.template triangularView<Eigen::Upper>(); in trmv() 36 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Upper>() * v1, largerEps)); in trmv() 37 m3 = m1.template triangularView<Eigen::UnitLower>(); in trmv() 38 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitLower>() * v1, largerEps)); in trmv() 39 m3 = m1.template triangularView<Eigen::UnitUpper>(); in trmv() 40 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitUpper>() * v1, largerEps)); in trmv() 43 m3 = m1.template triangularView<Eigen::Lower>(); in trmv() 44 …VERIFY(((s1*m3).conjugate() * v1).isApprox((s1*m1).conjugate().template triangularView<Eigen::Lowe… in trmv() [all …]
|
D | conservative_resize.cpp | 14 using namespace Eigen; 19 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Storage> MatrixType; in run_matrix_tests() 63 typedef Matrix<Scalar, 1, Eigen::Dynamic> MatrixType; in run_vector_tests() 98 CALL_SUBTEST_1((run_matrix_tests<int, Eigen::RowMajor>())); in test_conservative_resize() 99 CALL_SUBTEST_1((run_matrix_tests<int, Eigen::ColMajor>())); in test_conservative_resize() 100 CALL_SUBTEST_2((run_matrix_tests<float, Eigen::RowMajor>())); in test_conservative_resize() 101 CALL_SUBTEST_2((run_matrix_tests<float, Eigen::ColMajor>())); in test_conservative_resize() 102 CALL_SUBTEST_3((run_matrix_tests<double, Eigen::RowMajor>())); in test_conservative_resize() 103 CALL_SUBTEST_3((run_matrix_tests<double, Eigen::ColMajor>())); in test_conservative_resize() 104 CALL_SUBTEST_4((run_matrix_tests<std::complex<float>, Eigen::RowMajor>())); in test_conservative_resize() [all …]
|
D | nomalloc.cpp | 102 typedef Eigen::Matrix<Scalar, in ctms_decompositions() 103 Eigen::Dynamic, Eigen::Dynamic, in ctms_decompositions() 107 typedef Eigen::Matrix<Scalar, in ctms_decompositions() 108 Eigen::Dynamic, 1, in ctms_decompositions() 112 typedef Eigen::Matrix<std::complex<Scalar>, in ctms_decompositions() 113 Eigen::Dynamic, Eigen::Dynamic, in ctms_decompositions() 125 Eigen::LLT<Matrix> LLT; LLT.compute(A); in ctms_decompositions() 128 Eigen::LDLT<Matrix> LDLT; LDLT.compute(A); in ctms_decompositions() 133 Eigen::HessenbergDecomposition<ComplexMatrix> hessDecomp; hessDecomp.compute(complexA); in ctms_decompositions() 134 Eigen::ComplexSchur<ComplexMatrix> cSchur(size); cSchur.compute(complexA); in ctms_decompositions() [all …]
|
D | umeyama.cpp | 18 using namespace Eigen; 22 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixUnitary(int size) in randMatrixUnitary() 27 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; in randMatrixUnitary() 77 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixSpecialUnitary(int size) in randMatrixSpecialUnitary() 82 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; in randMatrixSpecialUnitary() 97 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX; in run_test() 98 typedef Matrix<Scalar, Eigen::Dynamic, 1> VectorX; in run_test()
|
/external/eigen/Eigen/src/Core/ |
D | GlobalFunctions.h | 16 …inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived… 17 NAME(const Eigen::ArrayBase<Derived>& x) { \ 26 …typedef const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derive… 31 …static inline typename NAME##_retval<ArrayBase<Derived> >::type run(const Eigen::ArrayBase<Derived… 53 …inline const Eigen::CwiseUnaryOp<Eigen::internal::scalar_pow_op<typename Derived::Scalar>, const D… in EIGEN_ARRAY_DECLARE_GLOBAL_STD_UNARY() 54 pow(const Eigen::ArrayBase<Derived>& x, const typename Derived::Scalar& exponent) { in EIGEN_ARRAY_DECLARE_GLOBAL_STD_UNARY() 59 …inline const Eigen::CwiseBinaryOp<Eigen::internal::scalar_binary_pow_op<typename Derived::Scalar, … 60 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) in pow() 62 …return Eigen::CwiseBinaryOp<Eigen::internal::scalar_binary_pow_op<typename Derived::Scalar, typena… in pow() 69 namespace Eigen [all …]
|
/external/ceres-solver/internal/ceres/ |
D | schur_eliminator.cc | 70 (options.f_block_size == Eigen::Dynamic)) { in Create() 71 return new SchurEliminator<2, 2, Eigen::Dynamic>(options); in Create() 90 (options.f_block_size == Eigen::Dynamic)) { in Create() 91 return new SchurEliminator<2, 3, Eigen::Dynamic>(options); in Create() 105 (options.f_block_size == Eigen::Dynamic)) { in Create() 106 return new SchurEliminator<2, 4, Eigen::Dynamic>(options); in Create() 125 (options.f_block_size == Eigen::Dynamic)) { in Create() 126 return new SchurEliminator<4, 4, Eigen::Dynamic>(options); in Create() 128 if ((options.row_block_size == Eigen::Dynamic) && in Create() 129 (options.e_block_size == Eigen::Dynamic) && in Create() [all …]
|
D | small_blas.h | 93 DCHECK((kRowA == Eigen::Dynamic) || (kRowA == num_row_a)); \ 94 DCHECK((kColA == Eigen::Dynamic) || (kColA == num_col_a)); \ 95 DCHECK((kRowB == Eigen::Dynamic) || (kRowB == num_row_b)); \ 96 DCHECK((kColB == Eigen::Dynamic) || (kColB == num_col_b)); \ 97 const int NUM_ROW_A = (kRowA != Eigen::Dynamic ? kRowA : num_row_a); \ 98 const int NUM_COL_A = (kColA != Eigen::Dynamic ? kColA : num_col_a); \ 99 const int NUM_ROW_B = (kColB != Eigen::Dynamic ? kRowB : num_row_b); \ 100 const int NUM_COL_B = (kColB != Eigen::Dynamic ? kColB : num_col_b); 166 Eigen::Block<MatrixRef, kRowA, kColB> in CERES_GEMM_BEGIN() 214 if (kRowA != Eigen::Dynamic && kColA != Eigen::Dynamic && in CERES_GEMM_BEGIN() [all …]
|
D | detect_structure.cc | 61 } else if (*row_block_size != Eigen::Dynamic && in DetectStructure() 66 *row_block_size = Eigen::Dynamic; in DetectStructure() 72 } else if (*e_block_size != Eigen::Dynamic && in DetectStructure() 77 *e_block_size = Eigen::Dynamic; in DetectStructure() 85 } else if (*f_block_size != Eigen::Dynamic) { in DetectStructure() 91 *f_block_size = Eigen::Dynamic; in DetectStructure() 97 const bool is_everything_dynamic = (*row_block_size == Eigen::Dynamic && in DetectStructure() 98 *e_block_size == Eigen::Dynamic && in DetectStructure() 99 *f_block_size == Eigen::Dynamic); in DetectStructure()
|
/external/eigen/Eigen/ |
D | Eigen2Support | 1 // This file is part of Eigen, a lightweight C++ template library 14 #error Eigen2 support must be enabled by defining EIGEN2_SUPPORT before including any Eigen header 23 * To use it, define EIGEN2_SUPPORT before including any Eigen header 49 using Eigen::Matrix##SizeSuffix##TypeSuffix; \ 50 using Eigen::Vector##SizeSuffix##TypeSuffix; \ 51 using Eigen::RowVector##SizeSuffix##TypeSuffix; 68 using Eigen::Matrix; \ 69 using Eigen::MatrixBase; \ 70 using Eigen::ei_random; \ 71 using Eigen::ei_real; \ [all …]
|
/external/eigen/unsupported/ |
D | README.txt | 3 most of them are subject to be included in Eigen in the future. 8 #include <Eigen/ModuleHeader> 11 #include <unsupported/Eigen/ModuleHeader> 20 - must rely on Eigen, 23 potentially become an offical Eigen module (or be merged into another one). 26 but it shows an interesting way of using Eigen, then it could be a nice demo. 31 unsupported/Eigen/ModuleHeader1 32 unsupported/Eigen/ModuleHeader2 33 unsupported/Eigen/... 34 unsupported/Eigen/src/Module1/SourceFile1.h [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_triangular.cpp | 39 MatrixType m1up = m1.template part<Eigen::UpperTriangular>(); in triangular() 40 MatrixType m2up = m2.template part<Eigen::UpperTriangular>(); in triangular() 54 r1.template part<Eigen::UpperTriangular>() += m1; in triangular() 60 m1.template part<Eigen::UpperTriangular>() = (m2.transpose() * m2).lazy(); in triangular() 62 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1); in triangular() 66 m1.template part<Eigen::LowerTriangular>() = (m2.transpose() * m2).lazy(); in triangular() 67 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1); in triangular() 77 m3 = m1.template part<Eigen::LowerTriangular>(); in triangular() 78 …VERIFY(m3.template marked<Eigen::LowerTriangular>().solveTriangular(m3).cwise().abs().isIdentity(t… in triangular() 79 VERIFY(m3.transpose().template marked<Eigen::UpperTriangular>() in triangular() [all …]
|
D | main.h | 23 namespace Eigen 37 namespace Eigen 49 ~eigen_assert_exception() { Eigen::no_more_assert = false; } in ~eigen_assert_exception() 62 namespace Eigen 71 Eigen::no_more_assert = true; \ 72 throw Eigen::eigen_assert_exception(); \ 74 else if (Eigen::ei_push_assert) \ 81 Eigen::no_more_assert = false; \ 83 Eigen::eigen_assert_list.clear(); \ 84 Eigen::ei_push_assert = true; \ [all …]
|
/external/eigen/debug/msvc/ |
D | eigen_autoexp_part.dat | 2 ; * Eigen Visualizer 6 ; * Support the enhanced debugging of the following Eigen 9 ; * - Eigen::Matrix<*,4,1,*,*,*> and Eigen::Matrix<*,1,4,*,*,*> 10 ; * - Eigen::Matrix<*,3,1,*,*,*> and Eigen::Matrix<*,1,3,*,*,*> 11 ; * - Eigen::Matrix<*,2,1,*,*,*> and Eigen::Matrix<*,1,2,*,*,*> 12 ; * - Eigen::Matrix<*,-1,-1,*,*,*> 13 ; * - Eigen::Matrix<*,+,-1,*,*,*> 14 ; * - Eigen::Matrix<*,-1,+,*,*,*> 15 ; * - Eigen::Matrix<*,+,+,*,*,*> 28 Eigen::Matrix<*,4,1,*,*,*>|Eigen::Matrix<*,1,4,*,*,*>{ [all …]
|
/external/eigen/Eigen/src/Core/util/ |
D | Macros.h | 172 namespace Eigen { 183 namespace Eigen { 199 if(!Eigen::internal::copy_bool(x)) \ 200 … Eigen::internal::assert_fail(EIGEN_MAKESTRING(x), __PRETTY_FUNCTION__, __FILE__, __LINE__); \ 292 #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat(3, 0, " ", "\n", "", "") 294 #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat() 326 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f… 327 …typedef typename Eigen::NumTraits<Scalar>::Real RealScalar; /*!< \brief The underlying numeric typ… 329 typedef typename Eigen::internal::nested<Derived>::type Nested; \ 330 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \ [all …]
|
/external/eigen/doc/special_examples/ |
D | Tutorial_sparse_example_details.cpp | 5 typedef Eigen::SparseMatrix<double> SpMat; // declares a column-major sparse matrix type of double 6 typedef Eigen::Triplet<double> T; 9 Eigen::VectorXd& b, const Eigen::VectorXd& boundary) in insertCoefficient() 19 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n) in buildProblem() 22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2); in buildProblem() 37 void saveAsBitmap(const Eigen::VectorXd& x, int n, const char* filename) in saveAsBitmap() 39 Eigen::Array<unsigned char,Eigen::Dynamic,Eigen::Dynamic> bits = (x*255).cast<unsigned char>(); in saveAsBitmap()
|
D | Tutorial_sparse_example.cpp | 4 typedef Eigen::SparseMatrix<double> SpMat; // declares a column-major sparse matrix type of double 5 typedef Eigen::Triplet<double> T; 7 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n); 8 void saveAsBitmap(const Eigen::VectorXd& x, int n, const char* filename); 17 …Eigen::VectorXd b(m); // the right hand side-vector resulting from the constrain… in main() 24 Eigen::SimplicialCholesky<SpMat> chol(A); // performs a Cholesky factorization of A in main() 25 …Eigen::VectorXd x = chol.solve(b); // use the factorization to solve for the given right h… in main()
|
/external/eigen/bench/ |
D | benchmarkSlice.cpp | 8 using namespace Eigen; 20 typedef Matrix<SCALAR, Eigen::Dynamic, Eigen::Dynamic> Mat; in main() 27 r = Eigen::internal::random<int>(0,10); in main() 28 c = Eigen::internal::random<int>(0,10); in main() 29 nr = Eigen::internal::random<int>(50,80); in main() 30 nc = Eigen::internal::random<int>(50,80); in main()
|