cm-eigen3

Version:

3.3.7

Category:

math

Cluster:

Loki

Author / Distributor

https://eigen.tuxfamily.org/

Description

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. It is header-only (no linking required) and extremely versatile, making it ideal for high-performance scientific computing, computer vision, robotics, and more.

Features include:

  • Dense and sparse matrix support

  • Real and complex numbers

  • LU, QR, SVD, Cholesky decompositions

  • Geometry transformations (e.g., 3D rotations)

  • Eigenvalues and numerical solvers

Eigen is known for:

  • Clean API

  • High performance (expression templates)

  • Simple integration (just include headers)

Documentation

Official documentation: https://eigen.tuxfamily.org/dox/

Examples/Usage

  • Load the Eigen3 module:

$ module load cm-eigen3/3.3.7
  • Include in your C++ code:

#include <Eigen/Dense>
  • Compile your program:

$ g++ -I$EIGEN3_DIR example.cpp -o example
  • Unload the module:

$ module unload cm-eigen3/3.3.7

Installation

Source code is obtained from cm-eigen3