Go to the documentation of this file.
7 #ifndef SPECTRA_SPARSE_CHOLESKY_H
8 #define SPECTRA_SPARSE_CHOLESKY_H
11 #include <Eigen/SparseCore>
12 #include <Eigen/SparseCholesky>
15 #include "../Util/CompInfo.h"
35 template <
typename Scalar_,
int Uplo = Eigen::Lower,
int Flags = Eigen::ColMajor,
typename StorageIndex =
int>
63 template <
typename Derived>
69 "SparseCholesky: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
71 if (
mat.rows() !=
mat.cols())
72 throw std::invalid_argument(
"SparseCholesky: matrix must be square");
128 #endif // SPECTRA_SPARSE_CHOLESKY_H
A versatible sparse matrix representation.
Eigen::SimplicialLLT< SparseMatrix, Uplo > m_decomp
@ 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
A direct sparse LLT Cholesky factorizations.
void lower_triangular_solve(const Scalar *x_in, Scalar *y_out) const
A matrix or vector expression mapping an existing array of data.
void upper_triangular_solve(const Scalar *x_in, Scalar *y_out) const
Base class of any sparse matrices or sparse expressions.
SparseCholesky(const Eigen::SparseMatrixBase< Derived > &mat)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Thu Apr 10 2025 03:03:30