|
units
Use physical dimensions at compile-time or run-time.
|
Reference to column or row in matrix. More...
Public Member Functions | |
| constexpr | mref (T *b) |
| Initialize aggregate. More... | |
| constexpr T * | begin () |
| First element. More... | |
| constexpr T * | end () |
| Pointer to element that is S elements past last element identified by mref. More... | |
| constexpr mref & | operator= (std::initializer_list< T > list) |
| Assign from list. More... | |
| constexpr T & | operator() (size_t off) const |
| Access element at offset off. More... | |
Static Public Member Functions | |
| static constexpr size_t | size () |
| Number of elements. More... | |
| static constexpr size_t | stride () |
| Distance in memory between successive elements. More... | |
Private Attributes | |
| T * | beg_ |
| Pointer to first element. More... | |
Reference to column or row in matrix.
Definition at line 43 of file example1.cpp.
|
inline |
Initialize aggregate.
Definition at line 47 of file example1.cpp.
|
inline |
First element.
Definition at line 49 of file example1.cpp.
|
inline |
Pointer to element that is S elements past last element identified by mref.
Definition at line 53 of file example1.cpp.
|
inline |
|
inline |
Assign from list.
Definition at line 56 of file example1.cpp.
|
inlinestatic |
Number of elements.
Definition at line 48 of file example1.cpp.
|
inlinestatic |
Distance in memory between successive elements.
Definition at line 69 of file example1.cpp.
|
private |
Pointer to first element.
Definition at line 44 of file example1.cpp.
1.8.11