Template Struct MatMut

Inheritance Relationships

Base Type

Struct Documentation

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

Public Functions

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

Public Members

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

Friends

friend struct _detail::SymbolicMatRefInterface< MatMut, I >
friend struct _detail::SymbolicMatMutInterface< MatMut, I >