spectra/1.0.1

A header-only C++ library for large scale eigenvalue problems.
Recipe info
2023-09-14

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
spectra/1.0.1

Using spectra

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
spectra/1.0.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("spectra/1.0.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): spectra
  • CMake target name(s): Spectra::Spectra
  • pkg-config file name(s): spectra.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(spectra REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Spectra::Spectra)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the spectra homepage listed above:

#include "Spectra/DavidsonSymEigsSolver.h"
#include "Spectra/GenEigsBase.h"
#include "Spectra/GenEigsComplexShiftSolver.h"
#include "Spectra/GenEigsRealShiftSolver.h"
#include "Spectra/GenEigsSolver.h"
#include "Spectra/JDSymEigsBase.h"
#include "Spectra/LinAlg/Arnoldi.h"
#include "Spectra/LinAlg/BKLDLT.h"
#include "Spectra/LinAlg/DoubleShiftQR.h"
#include "Spectra/LinAlg/Lanczos.h"
#include "Spectra/LinAlg/Orthogonalization.h"
#include "Spectra/LinAlg/RitzPairs.h"
#include "Spectra/LinAlg/SearchSpace.h"
#include "Spectra/LinAlg/TridiagEigen.h"
#include "Spectra/LinAlg/UpperHessenbergEigen.h"
#include "Spectra/LinAlg/UpperHessenbergQR.h"
#include "Spectra/LinAlg/UpperHessenbergSchur.h"
#include "Spectra/MatOp/DenseCholesky.h"
#include "Spectra/MatOp/DenseGenComplexShiftSolve.h"
#include "Spectra/MatOp/DenseGenMatProd.h"
#include "Spectra/MatOp/DenseGenRealShiftSolve.h"
#include "Spectra/MatOp/DenseSymMatProd.h"
#include "Spectra/MatOp/DenseSymShiftSolve.h"
#include "Spectra/MatOp/SparseCholesky.h"
#include "Spectra/MatOp/SparseGenComplexShiftSolve.h"
#include "Spectra/MatOp/SparseGenMatProd.h"
#include "Spectra/MatOp/SparseGenRealShiftSolve.h"
#include "Spectra/MatOp/SparseRegularInverse.h"
#include "Spectra/MatOp/SparseSymMatProd.h"
#include "Spectra/MatOp/SparseSymShiftSolve.h"
#include "Spectra/MatOp/SymShiftInvert.h"
#include "Spectra/MatOp/internal/ArnoldiOp.h"
#include "Spectra/MatOp/internal/SymGEigsBucklingOp.h"
#include "Spectra/MatOp/internal/SymGEigsCayleyOp.h"
#include "Spectra/MatOp/internal/SymGEigsCholeskyOp.h"
#include "Spectra/MatOp/internal/SymGEigsRegInvOp.h"
#include "Spectra/MatOp/internal/SymGEigsShiftInvertOp.h"
#include "Spectra/SymEigsBase.h"
#include "Spectra/SymEigsShiftSolver.h"
#include "Spectra/SymEigsSolver.h"
#include "Spectra/SymGEigsShiftSolver.h"
#include "Spectra/SymGEigsSolver.h"
#include "Spectra/Util/CompInfo.h"
#include "Spectra/Util/GEigsMode.h"
#include "Spectra/Util/SelectionRule.h"
#include "Spectra/Util/SimpleRandom.h"
#include "Spectra/Util/TypeTraits.h"
#include "Spectra/Util/Version.h"
#include "Spectra/contrib/LOBPCGSolver.h"
#include "Spectra/contrib/PartialSVDSolver.h"