From 9aba276757243c426d5e18536779f1bf277b4c91 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 28 Jul 2017 00:41:40 +0100 Subject: Adding update_docs script and updated documentation --- include/YAGE/Math/matrix.hpp | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/YAGE/Math/matrix.hpp b/include/YAGE/Math/matrix.hpp index 42f5ebbc..87347f60 100644 --- a/include/YAGE/Math/matrix.hpp +++ b/include/YAGE/Math/matrix.hpp @@ -6,6 +6,17 @@ * ---------------------------------------------------------------------------- */ +/** \file matrix.hpp + * \brief Templated matrix class + * + * Matrix + * ====== + + * This is a very general matrix class that can then be inherited by + * vectors and other similar data structures to minimize code + * density. + */ + #ifndef YAGE_MATH_MATRIX_HPP #define YAGE_MATH_MATRIX_HPP @@ -21,14 +32,17 @@ namespace yage template class Matrix; -// includes implementation details that should not be accessible to the user +/** \namespace detail + * \brief Detail namespace + * + * Detail Namespace + * ================ + * + * This is the namespace used for implementation detail. + */ namespace detail { -// Row class -// -// Used to implement the double square bracket operator and be able -// to return the value by reference of the array. template class Row { private: @@ -54,10 +68,15 @@ public: } // detail -// Matrix class -// -// Implements the base Matrix class that is inherited by other classes to make them more -// specific. +/** \class Matrix + * \brief Base matrix class + * + * Matrix class + * ============ + * + * This is the base matrix class that can be used by all the other matrix + * like data structures. + */ template class Matrix { // friended with the row class so that it can access protected member data -- cgit