View of the values belonging to a single matrix column.
More...
#include <spk_matrix.hpp>
|
| float & | operator[] (size_t p_index) |
| | Mutable row access within the column.
|
| const float & | operator[] (size_t p_index) const |
| | Read-only row access within the column.
|
template<size_t SizeX, size_t SizeY>
class spk::IMatrix< SizeX, SizeY >::Column
View of the values belonging to a single matrix column.
- See also
- IMatrix::operator[]
mat[1][2] = 4.0f;
Column-major matrix with basic arithmetic, transforms, and helpers.
Definition spk_matrix.hpp:33
◆ operator[]() [1/2]
template<size_t SizeX, size_t SizeY>
| float & spk::IMatrix< SizeX, SizeY >::Column::operator[] |
( |
size_t | p_index | ) |
|
|
inline |
Mutable row access within the column.
- Parameters
-
| p_index | Row index to access. |
- Returns
- Reference to the selected row value.
◆ operator[]() [2/2]
template<size_t SizeX, size_t SizeY>
| const float & spk::IMatrix< SizeX, SizeY >::Column::operator[] |
( |
size_t | p_index | ) |
const |
|
inline |
Read-only row access within the column.
- Parameters
-
| p_index | Row index to access. |
- Returns
- Const reference to the selected row value.
The documentation for this class was generated from the following file: