Go to the documentation of this file.
7 #ifndef SPECTRA_DENSE_GEN_COMPLEX_SHIFT_SOLVE_H
8 #define SPECTRA_DENSE_GEN_COMPLEX_SHIFT_SOLVE_H
29 template <
typename Scalar_,
int Flags = Eigen::ColMajor>
66 template <
typename Derived>
71 static_cast<int>(Derived::PlainObject::IsRowMajor) ==
static_cast<int>(Matrix::IsRowMajor),
72 "DenseGenComplexShiftSolve: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
74 if (
mat.rows() !=
mat.cols())
75 throw std::invalid_argument(
"DenseGenComplexShiftSolve: matrix must be square");
118 #endif // SPECTRA_DENSE_GEN_COMPLEX_SHIFT_SOLVE_H
Eigen::Map< const Vector > MapConstVec
Namespace containing all symbols from the Eigen library.
void perform_op(const Scalar *x_in, Scalar *y_out) const
void set_shift(const Scalar &sigmar, const Scalar &sigmai)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index rows, Index cols)
A matrix or vector expression mapping an existing array of data.
std::complex< Scalar > Complex
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
Base class for all dense matrices, vectors, and expressions.
DenseGenComplexShiftSolve(const Eigen::MatrixBase< Derived > &mat)
PartialPivLU & compute(const EigenBase< InputType > &matrix)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Thu Apr 10 2025 03:01:21