Template Struct MatRef

Inheritance Relationships

Base Type

Struct Documentation

template<typename T, typename I = isize>
struct MatRef : public proxsuite::linalg::sparse::_detail::SymbolicMatRefInterface<MatRef<T, isize>, isize>

Public Functions

inline MatRef(FromRawParts, isize nrows, isize ncols, isize nnz, I const *col_ptrs, I const *nnz_per_col, I const *row_indices, T const *values)
template<typename M>
inline MatRef(FromEigen, M const &m)
inline auto values() const noexcept -> T const*
inline auto symbolic() const noexcept -> SymbolicMatRef<I>
inline auto to_eigen() const noexcept -> Eigen::Map<Eigen::SparseMatrix<T, Eigen::ColMajor, I> const>

Public Members

isize nrows
isize ncols
isize nnz
I const *col
I const *nnz_per_col
I const *row
T const *val

Friends

friend struct _detail::SymbolicMatRefInterface< MatRef, I >