Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::linear_algebra::IsMatrix Concept Referenceexport

The structural-matrix slogan-pack: shape + column/row types + both decompositions. More...

Concept definition

template<typename M>
concept dedekind::linear_algebra::IsMatrix = requires { typename M::scalar_type; } && HasMatrixShape<M> &&
A matrix can be viewed as the horizontal concatenation of its column vectors.
Definition contracts.cppm:255
A matrix carries two dimensionalities: row count and column count.
Definition contracts.cppm:217
A matrix can be viewed as the vertical concatenation of its row vectors.
Definition contracts.cppm:266
The structural-matrix slogan-pack: shape + column/row types + both decompositions.
Definition contracts.cppm:284

Detailed Description

The structural-matrix slogan-pack: shape + column/row types + both decompositions.

A type satisfies IsMatrix iff it

  • carries a scalar_type,
  • exposes both row_count and column_count,
  • exposes column_type as an IsColumnVector,
  • exposes row_type as an IsCovector,
  • admits both the horizontal and the vertical decompositions.