eckit::linalg::Triplet class

Triplet of values compatible to Eigen::Triplet.

Constructors, destructors, conversion operators

Triplet()
Triplet(const Size& i, const Size& j, const Scalar& v = {0})

Public functions

auto row() const -> const Size&
auto col() const -> const Size&
auto value() const -> const Scalar&
auto value() -> Scalar&
auto operator<(const Triplet& other) const -> bool
auto nonZero() const -> bool
void print(std::ostream&) const

Friends

auto operator<<(std::ostream&, const Triplet&) -> std::ostream&