eigen


eigen,, examples which illustrate the use of EIGEN, a C++ template library for linear algebra, including natural and usable definitions of vectors and matrices, norms, factorizations, solution of linear systems, evaluation of eigenvalues, and many standard linear algebra algorithms for dense and sparse matrices.

The project web site is https://eigen.tuxfamily.org/index.php?title=Main_Page .

Licensing:

EIGEN is Free Software. Starting from the 3.1.1 version, it is licensed under the MPL2, which is a simple weak copyleft license. Common questions about the MPL2 are answered in the official MPL2 FAQ.

Reference:

  1. Eigen 3.3.3 online documentation,
    http://eigen.tuxfamily.org/dox/

Source Code:

eigen_test01 is a tiny program which simply demonstrates how to declare, assign, and print a single 2x2 matrix.

eigen_test02 defines a matrix and vector and computes their product.

eigen_test03 demonstrates three methods of solving an overdetermined system using linear least squares.

You can go up one level to the EXAMPLES directory.


Last revised on 08 March 2017.