mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added operator for matrix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user