Skip to content

num::repr::banded

Defined in header <container/concepts.hpp>

template <class B> concept banded = matrix_space<B> && (requires(const B &b) { { b.kl() } -> std::convertible_to<idx>; { b.ku() } -> std::convertible_to<idx>; } || requires(const B &b) { { b.lower_bandwidth() } -> std::convertible_to<idx>; { b.upper_bandwidth() } -> std::convertible_to<idx>; });

banded storage format: entries confined to \(-k_l \leq j - i \leq k_u\).

Models include num::band_mat.

Template parameters

  • B: banded matrix type.