libigl v2.5.0
Loading...
Searching...
No Matches
eigs.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Sparse>
#include "eigs.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Enumerations

enum  igl::EigsType { igl::EIGS_TYPE_SM = 0 , igl::EIGS_TYPE_LM = 1 , igl::NUM_EIGS_TYPES = 2 }
 Type of eigen values to extract. More...
 

Functions

template<typename Atype , typename Btype , typename DerivedU , typename DerivedS >
bool igl::eigs (const Eigen::SparseMatrix< Atype > &A, const Eigen::SparseMatrix< Btype > &B, const size_t k, const EigsType type, Eigen::PlainObjectBase< DerivedU > &sU, Eigen::PlainObjectBase< DerivedS > &sS)
 Compute the first/last k eigen pairs of the generalized eigen value problem: