Skip to content

LiteFX::Math::Matrix::at

Returns the element at a specified position.

Synopsis

Declared in <litefx/matrix.hpp>

constexpr scalar_type& at(
    size_t row,
    size_t col) noexcept;

Return Value

A reference of the scalar value at the provided row and column.

Parameters

NameDescription
rowThe row of the element.
colThe column of the element.