added operator for matrix

This commit is contained in:
2024-12-21 19:32:09 +03:00
parent e497308349
commit 2b9575311e
2 changed files with 16 additions and 0 deletions

View File

@@ -37,6 +37,13 @@ namespace omath
[[nodiscard]]
OMATH_API size_t RowCount() const noexcept;
[[nodiscard]]
OMATH_API float& operator[](size_t row, size_t column)
{
return At(row, column);
}
[[nodiscard]]
OMATH_API size_t ColumnsCount() const noexcept;