Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen  3.3.71
Chapters
Here is a list of all modules:
[detail level 1234]
 Dense matrix and array manipulation
 The Matrix classIn Eigen, all matrices and vectors are objects of the Matrix template class. Vectors are just a special case of matrices, with either 1 row or 1 column
 Matrix and vector arithmeticThis page aims to provide an overview and some details on how to perform arithmetic between matrices, vectors and scalars with Eigen
 The Array class and coefficient-wise operationsThis page aims to provide an overview and explanations on how to use Eigen's Array class
 Block operationsThis page explains the essentials of block operations. A block is a rectangular part of a matrix or array. Blocks expressions can be used both as rvalues and as lvalues. As usual with Eigen expressions, this abstraction has zero runtime cost provided that you let your compiler optimize
 Advanced initializationThis page discusses several advanced methods for initializing matrices. It gives more details on the comma-initializer, which was introduced before. It also explains how to get special matrices such as the identity matrix and the zero matrix
 Reductions, visitors and broadcastingThis page explains Eigen's reductions, visitors and broadcasting and how they are used with matrices and arrays
 Interfacing with raw buffers: the Map classThis page explains how to work with "raw" C/C++ arrays. This can be useful in a variety of contexts, particularly when "importing" vectors and matrices from other libraries into Eigen
 Reshape and SlicingEigen does not expose convenient methods to take slices or to reshape a matrix yet. Nonetheless, such features can easily be emulated using the Map class
 AliasingIn Eigen, aliasing refers to assignment statement in which the same matrix (or array or vector) appears on the left and on the right of the assignment operators. Statements like mat = 2 * mat; or mat = mat.transpose(); exhibit aliasing. The aliasing in the first example is harmless, but the aliasing in the second example leads to unexpected results. This page explains what aliasing is, when it is harmful, and what to do about it
 Storage ordersThere are two different storage orders for matrices and two-dimensional arrays: column-major and row-major. This page explains these storage orders and how to specify which one should be used
 Alignment issues
 Explanation of the assertion on unaligned arraysHello! You are seeing this webpage because your program terminated on an assertion failure like this one:
 Fixed-size vectorizable Eigen objectsThe goal of this page is to explain what we mean by "fixed-size vectorizable"
 Structures Having Eigen Members
 Using STL Containers with Eigen
 Passing Eigen objects by value to functionsPassing objects by value is almost always a very bad idea in C++, as this means useless copies, and one should pass them by reference instead
 Compiler making a wrong assumption on stack alignment
 Reference
 Core moduleThis is the main module of Eigen providing dense matrix and vector support (both fixed and dynamic size) with all the features corresponding to a BLAS library and much more..
 Global array typedefs
 Global matrix typedefs
 Flags
 Enumerations
 Jacobi moduleThis module provides Jacobi and Givens rotations
 Householder moduleThis module provides Householder transformations
 Catalog of coefficient-wise math functionsThis table presents a catalog of the coefficient-wise math functions supported by Eigen. In this table, a, b, refer to Array objects or expressions, and m refers to a linear algebra Matrix/Vector object. Standard scalar types are abbreviated as follows:
 Quick reference guide
 Dense linear problems and decompositions
 Linear algebra and decompositionsThis page explains how to solve linear systems, compute various decompositions such as LU, QR, SVD, eigendecompositions... After reading this page, don't miss our catalogue of dense matrix decompositions
 Catalogue of dense decompositionsThis page presents a catalogue of the dense matrix decompositions offered by Eigen. For an introduction on linear solvers and decompositions, check this page . To get an overview of the true relative speed of the different decompositions, check this benchmark
 Solving linear least squares systemsThis page describes how to solve linear least squares systems using Eigen. An overdetermined system of equations, say Ax = b, has no solutions. In this case, it makes sense to search for the vector x which is closest to being a solution, in the sense that the difference Ax - b is as small as possible. This x is called the least square solution (if the Euclidean norm is used)
 Inplace matrix decompositionsStarting from Eigen 3.3, the LU, Cholesky, and QR decompositions can operate inplace, that is, directly within the given input matrix. This feature is especially useful when dealing with huge matrices, and or when the available memory is very limited (embedded systems)
 Benchmark of dense decompositionsThis page presents a speed comparison of the dense matrix decompositions offered by Eigen for a wide range of square matrices and overconstrained problems
 Reference
 Cholesky moduleThis module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices. Those decompositions are also accessible via the following methods:
 LU moduleThis module includes LU decomposition and related notions such as matrix inversion and determinant. This module defines the following MatrixBase methods:
 QR moduleThis module provides various QR decompositions This module also provides some MatrixBase methods, including:
 SVD moduleThis module provides SVD decomposition for matrices (both real and complex). Two decomposition algorithms are provided:
 Eigenvalues moduleThis module mainly provides various eigenvalue solvers. This module also provides some MatrixBase methods, including:
 Sparse linear algebra
 Sparse matrix manipulationsManipulating and solving sparse problems involves various modules which are summarized below:
 Solving Sparse Linear SystemsIn Eigen, there are several methods available to solve linear systems when the coefficient matrix is sparse. Because of the special representation of this class of matrices, special care should be taken in order to get a good performance. See Sparse matrix manipulations for a detailed introduction about sparse matrices in Eigen. This page lists the sparse solvers available in Eigen. The main steps that are common to all these linear solvers are introduced as well. Depending on the properties of the matrix, the desired accuracy, the end-user is able to tune those steps in order to improve the performance of its code. Note that it is not required to know deeply what's hiding behind these steps: the last section presents a benchmark routine that can be easily used to get an insight on the performance of all the available solvers
 Matrix-free solversIterative solvers such as ConjugateGradient and BiCGSTAB can be used in a matrix free context. To this end, user must provide a wrapper class inheriting EigenBase<> and implementing the following methods:
 Reference
 SparseCore moduleThis module provides a sparse matrix representation, and basic associated matrix manipulations and operations
 OrderingMethods moduleThis module is currently for internal use only
 SparseCholesky moduleThis module currently provides two variants of the direct sparse Cholesky decomposition for selfadjoint (hermitian) matrices. Those decompositions are accessible via the following classes:
 SparseLU moduleThis module defines a supernodal factorization of general sparse matrices. The code is fully optimized for supernode-panel updates with specialized kernels. Please, see the documentation of the SparseLU class for more details
 SparseQR moduleProvides QR decomposition for sparse matrices
 IterativeLinearSolvers moduleThis module currently provides iterative methods to solve problems of the form A x = b, where A is a squared matrix, usually very large and sparse. Those solvers are accessible via the following classes:
 Sparse meta-moduleMeta-module including all related modules:
 Support modulesCategory of modules which add support for external libraries
 CholmodSupport moduleThis module provides an interface to the Cholmod library which is part of the suitesparse package. It provides the two following main factorization classes:
 MetisSupport module
 PardisoSupport moduleThis module brings support for the Intel(R) MKL PARDISO direct sparse solvers
 PaStiXSupport moduleThis module provides an interface to the PaSTiX library. PaSTiX is a general supernodal, parallel and opensource sparse solver. It provides the two following main factorization classes:
 SuiteSparseQR moduleThis module provides an interface to the SPQR library, which is part of the suitesparse package
 SuperLUSupport moduleThis module provides an interface to the SuperLU library. It provides the following factorization class:
 UmfPackSupport moduleThis module provides an interface to the UmfPack library which is part of the suitesparse package. It provides the following factorization class:
 Quick reference guide for sparse matrices
 Geometry
 Space transformationsIn this page, we will introduce the many possibilities offered by the geometry module to deal with 2D and 3D rotations and projective or affine transformations
 Reference
 Geometry moduleThis module provides support for:
 Global aligned box typedefs
 Splines_Module