Go to the documentation of this file.
    7 #ifndef SPECTRA_SPARSE_GEN_COMPLEX_SHIFT_SOLVE_H 
    8 #define SPECTRA_SPARSE_GEN_COMPLEX_SHIFT_SOLVE_H 
   11 #include <Eigen/SparseCore> 
   12 #include <Eigen/SparseLU> 
   31 template <
typename Scalar_, 
int Flags = Eigen::ColMajor, 
typename StorageIndex = 
int>
 
   67     template <
typename Derived>
 
   73             "SparseGenComplexShiftSolve: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
 
   75         if (
mat.rows() != 
mat.cols())
 
   76             throw std::invalid_argument(
"SparseGenComplexShiftSolve: matrix must be square");
 
  124 #endif  // SPECTRA_SPARSE_GEN_COMPLEX_SHIFT_SOLVE_H 
  
A versatible sparse matrix representation.
SparseGenComplexShiftSolve(const Eigen::SparseMatrixBase< Derived > &mat)
std::complex< Scalar > Complex
void compute(const MatrixType &matrix)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index rows, Index cols)
A matrix or vector expression mapping an existing array of data.
void set_shift(const Scalar &sigmar, const Scalar &sigmai)
void perform_op(const Scalar *x_in, Scalar *y_out) const
Base class of any sparse matrices or sparse expressions.
Eigen::Map< const Vector > MapConstVec
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
ConstGenericSparseMatrix m_mat
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:28