Go to the documentation of this file.
7 #ifndef SPECTRA_SPARSE_SYM_MAT_PROD_H
8 #define SPECTRA_SPARSE_SYM_MAT_PROD_H
11 #include <Eigen/SparseCore>
30 template <
typename Scalar_,
int Uplo = Eigen::Lower,
int Flags = Eigen::ColMajor,
typename StorageIndex =
int>
58 template <
typename Derived>
64 "SparseSymMatProd: the \"Flags\" template parameter does not match the input matrix (Eigen::ColMajor/Eigen::RowMajor)");
87 y.noalias() =
m_mat.template selfadjointView<Uplo>() *
x;
95 return m_mat.template selfadjointView<Uplo>() * mat_in;
108 #endif // SPECTRA_SPARSE_SYM_MAT_PROD_H
A versatible sparse matrix representation.
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
ConstGenericSparseMatrix m_mat
Scalar operator()(Index i, Index j) const
A matrix or vector expression mapping an existing array of data.
Base class of any sparse matrices or sparse expressions.
void perform_op(const Scalar *x_in, Scalar *y_out) const
SparseSymMatProd(const Eigen::SparseMatrixBase< Derived > &mat)
Matrix operator*(const Eigen::Ref< const Matrix > &mat_in) const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Wed May 28 2025 03:03:46