Skip to content

davreev/dr-eigs

Repository files navigation

dr-eigs

Utilities for eigendecomposition of sparse matrices via Spectra

Build

Use CMake to build

⚠️ Currently only tested with Clang and GCC. MSVC is not supported.

mkdir build
cmake -S . -B ./build -G <generator> [-DDR_EIGS_TEST=ON]
cmake --build ./build [--config <config>]

Usage

Use FetchContent to include in another CMake build

include(FetchContent)

FetchContent_Declare(
    dr-eigs
    GIT_REPOSITORY https://github.com/davreev/dr-eigs.git
    GIT_TAG <revision>
)

# Creates target "dr::eigs"
FetchContent_MakeAvailable(dr-eigs)

# Link other targets e.g.
add_executable(my-app main.cpp)
target_link_libraries(my-app PRIVATE dr::eigs)

About

Utilities for sparse eigendecomposition

Resources

License

Stars

Watchers

Forks

Packages

No packages published