17 template <
class Matrix >
27 template <
class Matrix >
64 requires( T t ) { { t[ 0 ][ 0 ] }; } ||
65 requires( T t ) { { t( 0, 0 ) }; } ) &&
67 requires( std::decay_t< T > t ) { { t *= 2.0 }; } ||
68 requires( std::decay_t< T > t ) { { t = 2.0 * t }; } ) &&
69 std::copy_constructible< T >;
76 requires( T t ) { { t[ 0 ] }; } || requires( T t ) { { t( 0 ) }; } ) &&
78 requires( std::decay_t< T > t ) { { t *= 2.0 }; } ||
79 requires( std::decay_t< T > t ) { { t = 2.0 * t }; } ) &&
80 std::copy_constructible< T >;
concept Matrix
clang-format off
Definition: concepts.h:63
concept ConstantSize
Constant-size matrix concept.
Definition: concepts.h:48
Get number of rows for constant size matrices.
Definition: concepts.h:18
Functionality from linear algebra such as (modified) principal and mixed matrix invariants.
Get number of columns for constant size matrices.
Definition: concepts.h:28
concept Vector
Vector concept.
Definition: concepts.h:75
concept SquareMatrix
Constant-size square matrix concept.
Definition: concepts.h:54
Get transposed of constant-size matrix.
Definition: concepts.h:38