12#include <Eigen/Sparse>
53 const Eigen::SparseMatrix<Atype> & A,
54 const Eigen::SparseMatrix<Btype> & B,
57 Eigen::PlainObjectBase<DerivedU> & sU,
58 Eigen::PlainObjectBase<DerivedS> & sS);
61#ifndef IGL_STATIC_LIBRARY
#define IGL_INLINE
Definition igl_inline.h:15
EigsType
Type of eigen values to extract.
Definition eigs.h:18
@ EIGS_TYPE_SM
Smallest magnitude eigen values.
Definition eigs.h:20
@ NUM_EIGS_TYPES
Total number of types.
Definition eigs.h:24
@ EIGS_TYPE_LM
Largest magnitude eigen values.
Definition eigs.h:22
bool 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: