Go to the documentation of this file.
    7 #ifndef SPECTRA_SPARSE_SYM_SHIFT_SOLVE_H 
    8 #define SPECTRA_SPARSE_SYM_SHIFT_SOLVE_H 
   11 #include <Eigen/SparseCore> 
   12 #include <Eigen/SparseLU> 
   32 template <
typename Scalar_, 
int Uplo = Eigen::Lower, 
int Flags = Eigen::ColMajor, 
typename StorageIndex = 
int>
 
   61     template <
typename Derived>
 
   67             "SparseSymShiftSolve: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
 
   69         if (
mat.rows() != 
mat.cols())
 
   70             throw std::invalid_argument(
"SparseSymShiftSolve: matrix must be square");
 
   94             throw std::invalid_argument(
"SparseSymShiftSolve: factorization failed with the given shift");
 
  114 #endif  // SPECTRA_SPARSE_SYM_SHIFT_SOLVE_H 
  
A versatible sparse matrix representation.
ConstGenericSparseMatrix m_mat
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static const double sigma
Eigen::SparseLU< SparseMatrix > m_solver
SparseSymShiftSolve(const Eigen::SparseMatrixBase< Derived > &mat)
A matrix or vector expression mapping an existing array of data.
Base class of any sparse matrices or sparse expressions.
Sparse supernodal LU factorization for general matrices.
void set_shift(const Scalar &sigma)
void perform_op(const Scalar *x_in, Scalar *y_out) const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s): 
autogenerated on Wed May 28 2025 03:03:46