template<typename Value, typename Index = eckit::linalg::Index>
atlas::linalg::SparseMatrixView class

Public types

using value_type = Value
using index_type = Index
using size_type = std::size_t

Constructors, destructors, conversion operators

~SparseMatrixView() defaulted
SparseMatrixView() defaulted
SparseMatrixView(size_type rows, size_type cols, size_type nnz, value_type const* value, index_type const* inner, index_type const* outer)
SparseMatrixView(const SparseMatrixView& other) defaulted

Public functions

auto rows() const -> size_type
auto cols() const -> size_type
auto nnz() const -> size_type
auto outer_size() const -> size_type
auto inner_size() const -> size_type
auto value_size() const -> size_type
auto outer() const -> index_type const*
auto inner() const -> index_type const*
auto value() const -> value_type const*
auto empty() const -> bool