7 #ifndef DENSE_SYM_MAT_PROD_H 8 #define DENSE_SYM_MAT_PROD_H 21 template <
typename Scalar,
int Uplo = Eigen::Lower>
50 Index
rows()
const {
return m_mat.rows(); }
54 Index
cols()
const {
return m_mat.cols(); }
65 MapConstVec
x(x_in, m_mat.cols());
66 MapVec
y(y_out, m_mat.rows());
67 y.noalias() = m_mat.template selfadjointView<Uplo>() *
x;
73 #endif // DENSE_SYM_MAT_PROD_H
A matrix or vector expression mapping an existing array of data.
DenseSymMatProd(ConstGenericMatrix &mat)
void perform_op(const Scalar *x_in, Scalar *y_out) const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
const Eigen::Ref< const Matrix > ConstGenericMatrix
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
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
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Eigen::Map< Vector > MapVec