From 4b95a1ac4265e2f51bf78969ce259f0f8b91fd91 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 21 Aug 2017 20:55:02 +0100 Subject: Adding documentation to matrix class --- include/YAGE/Math/matrix.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/YAGE/Math/matrix.hpp b/include/YAGE/Math/matrix.hpp index 860a250c..52536c17 100644 --- a/include/YAGE/Math/matrix.hpp +++ b/include/YAGE/Math/matrix.hpp @@ -121,14 +121,15 @@ public: return colMatrix; } - // iterator support for begin + /// iterator support for begin typename std::vector::iterator begin() { return data_.begin(); } - // iterator support for end + /// iterator support for end typename std::vector::iterator end() { return data_.end(); } - // prints out the matrix, but can also be implemented by other classes to - // print data differently + /** prints out the matrix, but can also be implemented by other classes to + * print data differently + */ virtual std::string toString() const { std::stringstream ss; ss << '['; -- cgit