From c7dad1e929c0101386fbcdaa194e402d68f74752 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 23 Aug 2017 22:56:53 +0100 Subject: Updating docs --- classyage_1_1Matrix.html | 482 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 447 insertions(+), 35 deletions(-) (limited to 'classyage_1_1Matrix.html') diff --git a/classyage_1_1Matrix.html b/classyage_1_1Matrix.html index 1b51e1bf..b1fe3830 100644 --- a/classyage_1_1Matrix.html +++ b/classyage_1_1Matrix.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Matrix< Rows, Cols, Type > Class Template Reference
@@ -80,49 +98,223 @@ $(function() { - - + + - - + + + + - - + + - - + + + + - - + + - - + + + + + + + + + +

Public Member Functions

Matrix ()
 Initializes the size of the data_ vector.
 Matrix ()
 Initializes the size of the data_ vector. More...
 
-int rowSize () const
 Returns the row size of the Matrix.
 Matrix (const std::vector< Type > &data)
 
int rowSize () const
 Returns the row size of the Matrix. More...
 
-int colSize () const
 Returns the column size of the Matrixxs.
int colSize () const
 Returns the column size of the Matrixxs. More...
 
Matrix< 1, Cols, Type > getRow (int row) const
 Return the row specified row as a Matrix with only one row. More...
 
-std::vector< Type >::iterator begin ()
 iterator support for begin
Matrix< Rows, 1, Type > getCol (int col) const
 
std::vector< Type >::iterator begin ()
 iterator support for begin More...
 
-std::vector< Type >::iterator end ()
 iterator support for end
std::vector< Type >::iterator end ()
 iterator support for end More...
 
-virtual std::string toString () const
 prints out the matrix, but can also be implemented by other classes to print data differently
virtual std::string toString () const
 prints out the matrix, but can also be implemented by other classes to print data differently More...
 
detail::Row< Rows, Cols, Type > operator[] (int row)
 
detail::Row< Rows, Cols, Type > operator[] (int row) const
 
Matrix< Rows, Cols, Type > & operator+= (const Matrix< Rows, Cols, Type > &rhs)
 
Matrix< Rows, Cols, Type > & operator-= (const Matrix< Rows, Cols, Type > &rhs)
 
- - + + +

Protected Attributes

-std::vector< Type > data_
 Vector containing the data of the matrix.
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 
+ + +

+Friends

class detail::Row< Rows, Cols, Type >
 

Detailed Description

template<int Rows = 4, int Cols = 4, class Type = double>
class yage::Matrix< Rows, Cols, Type >

-

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.

-

Member Function Documentation

+

Constructor & Destructor Documentation

+ +

◆ Matrix() [1/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
yage::Matrix< Rows, Cols, Type >::Matrix ()
+
+inline
+
+ +
+
+ +

◆ Matrix() [2/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Matrix< Rows, Cols, Type >::Matrix (const std::vector< Type > & data)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
std::vector<Type>::iterator yage::Matrix< Rows, Cols, Type >::begin ()
+
+inline
+
+ +
+
+ +

◆ colSize()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
int yage::Matrix< Rows, Cols, Type >::colSize () const
+
+inline
+
+ +
+
+ +

◆ end()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
std::vector<Type>::iterator yage::Matrix< Rows, Cols, Type >::end ()
+
+inline
+
+ +
+
+ +

◆ getCol()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, 1, Type> yage::Matrix< Rows, Cols, Type >::getCol (int col) const
+
+inline
+
+ +
+

◆ getRow()

@@ -148,8 +340,6 @@ template<int Rows = 4, int Cols = 4, class Type = double>
- -

Return the row specified row as a Matrix with only one row.

Parameters
@@ -158,17 +348,239 @@ template<int Rows = 4, int Cols = 4, class Type = double>

Returns the row that is specified by the row variables.

+ + + +

◆ operator+=()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+
[in]rowRow number to be returned
+ + + + +
+ + + + + + + + +
Matrix<Rows, Cols, Type>& yage::Matrix< Rows, Cols, Type >::operator+= (const Matrix< Rows, Cols, Type > & rhs)
+
+inline
+
+ +
+ + +

◆ operator-=()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, Cols, Type>& yage::Matrix< Rows, Cols, Type >::operator-= (const Matrix< Rows, Cols, Type > & rhs)
+
+inline
+
+ +
+
+ +

◆ operator[]() [1/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
detail::Row<Rows, Cols, Type> yage::Matrix< Rows, Cols, Type >::operator[] (int row)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
detail::Row<Rows, Cols, Type> yage::Matrix< Rows, Cols, Type >::operator[] (int row) const
+
+inline
+
+ +
+
+ +

◆ rowSize()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
int yage::Matrix< Rows, Cols, Type >::rowSize () const
+
+inline
+
+ +
+
+ +

◆ toString()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
virtual std::string yage::Matrix< Rows, Cols, Type >::toString () const
+
+inlinevirtual
+
+
+

Friends And Related Function Documentation

+ +

◆ detail::Row< Rows, Cols, Type >

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + +
friend class detail::Row< Rows, Cols, Type >
+
+friend
+
+ +
+
+

Member Data Documentation

+ +

◆ data_

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + +
std::vector<Type> yage::Matrix< Rows, Cols, Type >::data_
+
+protected
+
+

The documentation for this class was generated from the following file: + - + -- cgit