ARTS 2.5.4 (git: 31ce4f0e)
matpack::matrix_like Concept Reference

A concept for an Arts matrix-like type with access operations. More...

#include <matpack_concepts.h>

Concept definition

template<typename T>
concept matpack::matrix_like = requires(T a) {
{ column_size(a) } -> std::integral;
{ row_size(a) } -> std::integral;
{ a.size() } -> std::integral;
{ a(0, 0) } -> complex_or_real;
}
A concept for an Arts matrix-like type with access operations.
constexpr auto column_size(column_keeper auto &&x)
Get a column size from x.
constexpr auto row_size(row_keeper auto &&x)
Get a row size from x.
#define a

Detailed Description

A concept for an Arts matrix-like type with access operations.

Definition at line 115 of file matpack_concepts.h.