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

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::spectra
 

Functions

template<typename EigsScalar , typename DerivedU , typename DerivedS , typename Solver = Eigen::SparseLU<Eigen::SparseMatrix<EigsScalar>>>
bool igl::spectra::eigs (const Eigen::SparseMatrix< EigsScalar > &A, const Eigen::SparseMatrix< EigsScalar > &B, const int k, const igl::EigsType type, Eigen::PlainObjectBase< DerivedU > &U, Eigen::PlainObjectBase< DerivedS > &S)
 Act like MATLAB's eigs function.
 
template<typename EigsScalar , typename DerivedU , typename DerivedS , typename Solver = Eigen::SparseLU<Eigen::SparseMatrix<EigsScalar>>>
bool igl::spectra::eigs (const Eigen::SparseMatrix< EigsScalar > &A, const Eigen::SparseMatrix< EigsScalar > &B, const int k, const EigsScalar sigma, Eigen::PlainObjectBase< DerivedU > &U, Eigen::PlainObjectBase< DerivedS > &S)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.