diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-28 20:59:20 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-28 20:59:20 +0100 |
commit | 0b1004135890380d2594b4aff3bb2fb17d64b6c4 (patch) | |
tree | 2f75aa321be525f99801f698a9a66a6667f4cced /include | |
parent | 05685988739382343031b1fb2c94b74699f4ff7e (diff) | |
download | YAGE-0b1004135890380d2594b4aff3bb2fb17d64b6c4.tar.gz YAGE-0b1004135890380d2594b4aff3bb2fb17d64b6c4.zip |
Adding more documentation and improving tests.
Diffstat (limited to 'include')
-rw-r--r-- | include/YAGE/Math/matrix.hpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/YAGE/Math/matrix.hpp b/include/YAGE/Math/matrix.hpp index fc81fa34..5d9e5d0f 100644 --- a/include/YAGE/Math/matrix.hpp +++ b/include/YAGE/Math/matrix.hpp @@ -57,7 +57,7 @@ public: Type &operator[](int col) { - // the index is the y-position of the element in the matrix + // The index is the y-position of the element in the matrix return parent_->data_[index_ * Cols + col]; } @@ -70,12 +70,6 @@ public: } // namespace detail /** Base Matrix class used by other similar classes. - * - * Matrix class - * ============ - * - * This is the base matrix class that can be used by all the other matrix - * like data structures. */ template <int Rows = 4, int Cols = 4, class Type = double> class Matrix @@ -170,7 +164,6 @@ public: detail::Row<Rows, Cols, Type> operator[](int row) const { - /// @todo got to fix this return detail::Row<Rows, Cols, Type>((Matrix<Rows, Cols, Type> *)this, row); } |