LiteFX::Math::Matrix::at¶
Returns the element at a specified position.
Synopses¶
Declared in <litefx/matrix.hpp>
Returns the element at a specified position.
constexpr scalar_type at(
size_t row,
size_t col) const noexcept;
Returns the element at a specified position.
constexpr scalar_type& at(
size_t row,
size_t col) noexcept;
Return Value¶
- The scalar value at the provided row and column.
- A reference of the scalar value at the provided row and column.
Parameters¶
| Name | Description |
|---|---|
| row | The row of the element. |
| col | The column of the element. |