Concept Matrix.
More...
#include <matrix.hpp>
List of all members.
Detailed Description
template<typename T>
struct mtl::Matrix< T >
Concept Matrix.
- Refinement of:
-
- Notation:
- X is a type that models Matrix
- A is an object of type X
- r, c are objects of size_type
- Valid expressions:
- Element access:
A(r, c)
Return Type: const_reference
Semantics: Element in row r
and column c
- Element access:
A[r][c]
Equivalent to A(r, c)
- Models:
-
- Note:
- The access via A[r][c] is supposed to be implemented by means of A(r, c) (typically via CRTP and proxies). If it would become (extremely) important to support 2D C arrays, it might be necessary to drop the requirement of element access by A(r, c).
- The name const_reference does not imply that the return type is necessarily referrable. For instance compressed2D returns value_type.
The documentation for this struct was generated from the following file: