# Linux Kernel Module Cheat

#### 27.8.3. Eigen

Header only linear algebra library with a mainline Buildroot package:

    ./build-buildroot --config 'BR2_PACKAGE_EIGEN=y'
    ./build-userland --package eigen -- userland/libs/eigen/hello.cpp

Just create an array and print it:

    ./run --eval-after './libs/eigen/hello.out'

Output:

      3  -1
    2.5 1.5

Source: userland/libs/eigen/hello.cpp

This example just creates a matrix and prints it out.

Tested on: a4bdcf102c068762bb1ef26c591fcf71e5907525