Home
last modified time | relevance | path

Searched refs:Eigen (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/external/ceres-solver/include/ceres/internal/
Deigen.h38 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/
Dcamera.h22 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/
DA10_Eigen2SupportModes.dox1 namespace Eigen {
3 /** \page Eigen2SupportModes Eigen 2 support modes
5 <div class="bigwarning">Eigen2 support is deprecated in Eigen 3.2.x and it will be removed in Eigen
7 …s the Eigen2 support modes, a powerful tool to help migrating your project from Eigen 2 to Eigen 3.
8 Don't miss our page on \ref Eigen2ToEigen3 "API changes" between Eigen 2 and Eigen 3.
14 …GEN2_SUPPORT before including any Eigen 3 header, you get back a large part of the Eigen 2 API, wh…
22Eigen 2 to Eigen 3 is that some of the Eigen 2 API is inherently incompatible with the Eigen 3 API…
25 \li Step 0: start with a project using Eigen 2.
26 … your project against Eigen 3 with \ref Stage10 "Eigen 2 support stage 10". This mode enables maxi…
27 …t Eigen 3 with \ref Stage20 "Eigen 2 support stage 20". This mode forces you to add eigen2_ prefix…
[all …]
DStlContainers.dox1 namespace Eigen {
3 /** \eigenManualPage TopicStlContainers Using STL Containers with Eigen
9 Using STL containers on \ref TopicFixedSizeVectorizable "fixed-size vectorizable Eigen types", or c…
11 \li A 16-byte-aligned allocator must be used. Eigen does provide one ready for use: aligned_allocat…
12 \li If you want to use the std::vector container, you need to \#include <Eigen/StdVector>.
14 …size vectorizable Eigen types" and \ref TopicStructHavingEigenMembers "structures having such Eige…
18Eigen types", you need tell the container to use an allocator that will always allocate memory at …
22 std::map<int, Eigen::Vector4f>
26 std::map<int, Eigen::Vector4f, std::less<int>,
27 Eigen::aligned_allocator<std::pair<const int, Eigen::Vector4f> > >
[all …]
DFixedSizeVectorizable.dox1 namespace Eigen {
3 /** \eigenManualPage 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 …]
DTopicMultithreading.dox1 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 …]
DUnalignedArrayAssert.dox1 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()
21 …ce, the error message doesn't look helpful, as it refers to a file inside Eigen! However, since yo…
30 \section c1 Cause 1: Structures having Eigen objects as members
38 Eigen::Vector2d v;
45 …d to read this separate page: \ref TopicStructHavingEigenMembers "Structures Having Eigen Members".
47 …e, Eigen::Vector2d is only used as an example, more generally the issue arises for all \ref TopicF…
51 … Containers such as std::vector, std::map, ..., with Eigen objects, or with classes containing Eig…
54 std::vector<Eigen::Matrix2f> my_vector;
[all …]
DCustomizingEigen.dox1 namespace Eigen {
3 /** \page TopicCustomizingEigen Customizing/Extending Eigen
5 Eigen can be extended in several ways, for instance, by defining global methods, \ref ExtendingMatr…
11 …ailable to all expressions ! A typical use case is, for instance, to make Eigen compatible with an…
22 …r method declaration and define EIGEN_MATRIXBASE_PLUGIN before you include any Eigen's header file.
24 You can extend many of the other classes used in Eigen by defining similarly named preprocessor sym…
83 In order for your object to work within the %Eigen framework, you need to
88 class MyVectorType : public Eigen::VectorXd
91 MyVectorType(void):Eigen::VectorXd() {}
93 typedef Eigen::VectorXd Base;
[all …]
/external/eigen/test/
Dproduct_trmv.cpp33 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 …]
Dnomalloc.cpp107 typedef Eigen::Matrix<Scalar, in ctms_decompositions()
108 Eigen::Dynamic, Eigen::Dynamic, in ctms_decompositions()
112 typedef Eigen::Matrix<Scalar, in ctms_decompositions()
113 Eigen::Dynamic, 1, in ctms_decompositions()
117 typedef Eigen::Matrix<std::complex<Scalar>, in ctms_decompositions()
118 Eigen::Dynamic, Eigen::Dynamic, in ctms_decompositions()
130 Eigen::LLT<Matrix> LLT; LLT.compute(A); in ctms_decompositions()
133 Eigen::LDLT<Matrix> LDLT; LDLT.compute(A); in ctms_decompositions()
138 Eigen::HessenbergDecomposition<ComplexMatrix> hessDecomp; hessDecomp.compute(complexA); in ctms_decompositions()
139 Eigen::ComplexSchur<ComplexMatrix> cSchur(size); cSchur.compute(complexA); in ctms_decompositions()
[all …]
Dumeyama.cpp18 using namespace Eigen;
22 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixUnitary(int size) in randMatrixUnitary()
25 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; in randMatrixUnitary()
75 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixSpecialUnitary(int size) in randMatrixSpecialUnitary()
79 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; in randMatrixSpecialUnitary()
95 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX; in run_test()
96 typedef Matrix<Scalar, Eigen::Dynamic, 1> VectorX; in run_test()
Dconservative_resize.cpp14 using namespace Eigen;
19 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Storage> MatrixType; in run_matrix_tests()
63 typedef Matrix<Scalar, 1, Eigen::Dynamic> VectorType; in run_vector_tests()
117 CALL_SUBTEST_1((run_matrix_tests<int, Eigen::RowMajor>())); in test_conservative_resize()
118 CALL_SUBTEST_1((run_matrix_tests<int, Eigen::ColMajor>())); in test_conservative_resize()
119 CALL_SUBTEST_2((run_matrix_tests<float, Eigen::RowMajor>())); in test_conservative_resize()
120 CALL_SUBTEST_2((run_matrix_tests<float, Eigen::ColMajor>())); in test_conservative_resize()
121 CALL_SUBTEST_3((run_matrix_tests<double, Eigen::RowMajor>())); in test_conservative_resize()
122 CALL_SUBTEST_3((run_matrix_tests<double, Eigen::ColMajor>())); in test_conservative_resize()
123 CALL_SUBTEST_4((run_matrix_tests<std::complex<float>, Eigen::RowMajor>())); in test_conservative_resize()
[all …]
/external/eigen/Eigen/src/Core/
DGlobalFunctions.h16 …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…
38 namespace Eigen
54 …inline const Eigen::CwiseUnaryOp<Eigen::internal::scalar_pow_op<typename Derived::Scalar>, const D… in EIGEN_ARRAY_DECLARE_GLOBAL_UNARY()
55 pow(const Eigen::ArrayBase<Derived>& x, const typename Derived::Scalar& exponent) { in EIGEN_ARRAY_DECLARE_GLOBAL_UNARY()
60 …inline const Eigen::CwiseBinaryOp<Eigen::internal::scalar_binary_pow_op<typename Derived::Scalar, …
61 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) in pow()
63 …return Eigen::CwiseBinaryOp<Eigen::internal::scalar_binary_pow_op<typename Derived::Scalar, typena… in pow()
[all …]
/external/ceres-solver/internal/ceres/
Dschur_eliminator.cc70 (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()
115 (options.f_block_size == Eigen::Dynamic)) { in Create()
116 return new SchurEliminator<2, 4, Eigen::Dynamic>(options); in Create()
119 (options.e_block_size == Eigen::Dynamic) && in Create()
120 (options.f_block_size == Eigen::Dynamic)) { in Create()
121 return new SchurEliminator<2, Eigen::Dynamic, Eigen::Dynamic>(options); in Create()
140 (options.f_block_size == Eigen::Dynamic)) { in Create()
[all …]
Dpartitioned_matrix_view.cc74 (options.f_block_size == Eigen::Dynamic)) { in Create()
75 return new PartitionedMatrixView<2, 2, Eigen::Dynamic>( in Create()
98 (options.f_block_size == Eigen::Dynamic)) { in Create()
99 return new PartitionedMatrixView<2, 3, Eigen::Dynamic>( in Create()
128 (options.f_block_size == Eigen::Dynamic)) { in Create()
129 return new PartitionedMatrixView<2, 4, Eigen::Dynamic>( in Create()
133 (options.e_block_size == Eigen::Dynamic) && in Create()
134 (options.f_block_size == Eigen::Dynamic)) { in Create()
135 return new PartitionedMatrixView<2, Eigen::Dynamic, Eigen::Dynamic>( in Create()
158 (options.f_block_size == Eigen::Dynamic)) { in Create()
[all …]
Dsmall_blas.h70 DCHECK((kRowA == Eigen::Dynamic) || (kRowA == num_row_a)); \
71 DCHECK((kColA == Eigen::Dynamic) || (kColA == num_col_a)); \
72 DCHECK((kRowB == Eigen::Dynamic) || (kRowB == num_row_b)); \
73 DCHECK((kColB == Eigen::Dynamic) || (kColB == num_col_b)); \
74 const int NUM_ROW_A = (kRowA != Eigen::Dynamic ? kRowA : num_row_a); \
75 const int NUM_COL_A = (kColA != Eigen::Dynamic ? kColA : num_col_a); \
76 const int NUM_ROW_B = (kColB != Eigen::Dynamic ? kRowB : num_row_b); \
77 const int NUM_COL_B = (kColB != Eigen::Dynamic ? kColB : num_col_b);
143 Eigen::Block<MatrixRef, kRowA, kColB> in CERES_GEMM_BEGIN()
191 if (kRowA != Eigen::Dynamic && kColA != Eigen::Dynamic && in CERES_GEMM_BEGIN()
[all …]
Ddetect_structure.cc61 } 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/
DEigen2Support1 // 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
20 #warning "Eigen2 support is deprecated in Eigen 3.2.x and it will be removed in Eigen 3.3. (Define …
22 #pragma message ("Eigen2 support is deprecated in Eigen 3.2.x and it will be removed in Eigen 3.3. …
32 * \warning Eigen2 support is deprecated in Eigen 3.2.x and it will be removed in Eigen 3.3.
36 * To use it, define EIGEN2_SUPPORT before including any Eigen header
62 using Eigen::Matrix##SizeSuffix##TypeSuffix; \
63 using Eigen::Vector##SizeSuffix##TypeSuffix; \
64 using Eigen::RowVector##SizeSuffix##TypeSuffix;
81 using Eigen::Matrix; \
[all …]
/external/eigen/test/eigen2/
Deigen2_triangular.cpp29 MatrixType m1up = m1.template part<Eigen::UpperTriangular>(); in triangular()
30 MatrixType m2up = m2.template part<Eigen::UpperTriangular>(); in triangular()
44 r1.template part<Eigen::UpperTriangular>() += m1; in triangular()
50 m1.template part<Eigen::UpperTriangular>() = (m2.transpose() * m2).lazy(); in triangular()
52 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1); in triangular()
56 m1.template part<Eigen::LowerTriangular>() = (m2.transpose() * m2).lazy(); in triangular()
57 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1); in triangular()
67 m3 = m1.template part<Eigen::LowerTriangular>(); in triangular()
68 …VERIFY(m3.template marked<Eigen::LowerTriangular>().solveTriangular(m3).cwise().abs().isIdentity(t… in triangular()
69 VERIFY(m3.transpose().template marked<Eigen::UpperTriangular>() in triangular()
[all …]
Dmain.h23 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/unsupported/
DREADME.txt3 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/Eigen/src/Core/util/
DMacros.h179 namespace Eigen {
190 namespace Eigen {
206 if(!Eigen::internal::copy_bool(x)) \
207Eigen::internal::assert_fail(EIGEN_MAKESTRING(x), __PRETTY_FUNCTION__, __FILE__, __LINE__); \
248 namespace Eigen {
253 #define EIGEN_UNUSED_VARIABLE(var) Eigen::internal::ignore_unused_variable(var);
307 #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat(3, 0, " ", "\n", "", "")
309 #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat()
347 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f…
348 …typedef typename Eigen::NumTraits<Scalar>::Real RealScalar; /*!< \brief The underlying numeric typ…
[all …]
/external/eigen/debug/msvc/
Deigen_autoexp_part.dat2 ; * 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/unsupported/Eigen/
DSVD4 #include <Eigen/QR>
5 #include <Eigen/Householder>
6 #include <Eigen/Jacobi>
8 #include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
19 * #include <Eigen/SVD>
23 #include "../../Eigen/src/misc/Solve.h"
24 #include "../../Eigen/src/SVD/UpperBidiagonalization.h"
29 #include "../../Eigen/src/SVD/JacobiSVD_MKL.h"
33 #include "../../Eigen/src/Eigen2Support/SVD.h"
36 #include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
/external/eigen/doc/special_examples/
DTutorial_sparse_example_details.cpp5 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()

12345678910>>...30