Skip to content

LiteFX::Math::Matrix::operator[]

Returns an element of the matrix.

Synopsis

Declared in <litefx/matrix.hpp>

constexpr scalar_type operator[](std::pair<size_t, size_t> position) const noexcept;

Return Value

The scalar value at the provided position.

Parameters

NameDescription
positionThe row and column position of the matrix element.