Go to the documentation of this file.
7 #ifndef SPECTRA_DENSE_GEN_REAL_SHIFT_SOLVE_H
8 #define SPECTRA_DENSE_GEN_REAL_SHIFT_SOLVE_H
28 template <
typename Scalar_,
int Flags = Eigen::ColMajor>
58 template <
typename Derived>
63 static_cast<int>(Derived::PlainObject::IsRowMajor) ==
static_cast<int>(Matrix::IsRowMajor),
64 "DenseGenRealShiftSolve: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
66 if (
mat.rows() !=
mat.cols())
67 throw std::invalid_argument(
"DenseGenRealShiftSolve: matrix must be square");
104 #endif // SPECTRA_DENSE_GEN_REAL_SHIFT_SOLVE_H
LU decomposition of a matrix with partial pivoting, and related features.
void set_shift(const Scalar &sigma)
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
void perform_op(const Scalar *x_in, Scalar *y_out) const
static const double sigma
Eigen::PartialPivLU< Matrix > m_solver
A matrix or vector expression mapping an existing array of data.
The matrix class, also used for vectors and row-vectors.
DenseGenRealShiftSolve(const Eigen::MatrixBase< Derived > &mat)
Base class for all dense matrices, vectors, and expressions.
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