Go to the documentation of this file.
7 #ifndef SPECTRA_DENSE_SYM_SHIFT_SOLVE_H
8 #define SPECTRA_DENSE_SYM_SHIFT_SOLVE_H
13 #include "../LinAlg/BKLDLT.h"
14 #include "../Util/CompInfo.h"
32 template <
typename Scalar_,
int Uplo = Eigen::Lower,
int Flags = Eigen::ColMajor>
62 template <
typename Derived>
67 static_cast<int>(Derived::PlainObject::IsRowMajor) ==
static_cast<int>(Matrix::IsRowMajor),
68 "DenseSymShiftSolve: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
71 throw std::invalid_argument(
"DenseSymShiftSolve: matrix must be square");
90 throw std::invalid_argument(
"DenseSymShiftSolve: factorization failed with the given shift");
110 #endif // SPECTRA_DENSE_SYM_SHIFT_SOLVE_H
BKLDLT< Scalar > m_solver
@ Successful
Computation was successful.
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
A matrix or vector expression mapping an existing array of data.
void set_shift(const Scalar &sigma)
void perform_op(const Scalar *x_in, Scalar *y_out) const
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
DenseSymShiftSolve(const Eigen::MatrixBase< Derived > &mat)
gtsam
Author(s):
autogenerated on Thu Apr 10 2025 03:01:21