akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
Loading...
Searching...
No Matches
linalg::MatVecCompatible Concept Reference

Compile-time compatibility contract for matrix-vector multiplication. More...

#include <matrix_concepts.hpp>

Concept definition

template<class Mat, class Vec>
std::same_as<matrix_scalar_t<Mat>, vector_element_t<Vec>> &&
Registered vector whose element type satisfies Field.
Compile-time compatibility contract for matrix-vector multiplication.
Trait-registered, fixed-shape matrix over a supported scalar field.
constexpr std::size_t mat_rows_v
Registered compile-time row count after cv/ref normalization.

Detailed Description

Compile-time compatibility contract for matrix-vector multiplication.

The scalar fields must match exactly, and the vector dimension must equal the matrix column count. For Mat * Vec, the resulting vector dimension is the matrix row count.

Definition at line 54 of file matrix_concepts.hpp.