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

A and B support shape-conformant addition, and the result has the same shape and scalar type. More...

Concept definition

template<typename A, typename B>
MatchesAdditiveShape<A, B> && requires(const A& a, const B& b) {
{ a + b } -> HasMatrixShape;
}
A and B support shape-conformant addition, and the result has the same shape and scalar type.
Definition contracts.cppm:524
A matrix carries two dimensionalities: row count and column count.
Definition contracts.cppm:217
Two matrix-like carriers can be added iff they share shape and scalar type.
Definition contracts.cppm:494

Detailed Description

A and B support shape-conformant addition, and the result has the same shape and scalar type.