Go to the documentation of this file.
7 #ifndef DENSE_SYM_SHIFT_SOLVE_H
8 #define DENSE_SYM_SHIFT_SOLVE_H
13 #include "../LinAlg/BKLDLT.h"
14 #include "../Util/CompInfo.h"
25 template <
typename Scalar,
int Uplo = Eigen::Lower>
52 if (
mat.rows() !=
mat.cols())
53 throw std::invalid_argument(
"DenseSymShiftSolve: matrix must be square");
72 throw std::invalid_argument(
"DenseSymShiftSolve: factorization failed with the given shift");
92 #endif // DENSE_SYM_SHIFT_SOLVE_H
Eigen::Map< const Vector > MapConstVec
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::Map< Vector > MapVec
void set_shift(Scalar sigma)
BKLDLT< Scalar > m_solver
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
A matrix or vector expression mapping an existing array of data.
A matrix or vector expression mapping an existing expression.
void perform_op(const Scalar *x_in, Scalar *y_out) const
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
@ SUCCESSFUL
Computation was successful.
DenseSymShiftSolve(ConstGenericMatrix &mat)
const typedef Eigen::Ref< const Matrix > ConstGenericMatrix
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:27