From 8ad8165816929301a87e90bbb32c3df6b69030ee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 2 Sep 2017 12:28:11 +0100 Subject: Updating docs --- classyage_1_1math_1_1Vector.html | 344 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 344 insertions(+) create mode 100644 classyage_1_1math_1_1Vector.html (limited to 'classyage_1_1math_1_1Vector.html') diff --git a/classyage_1_1math_1_1Vector.html b/classyage_1_1math_1_1Vector.html new file mode 100644 index 00000000..0b567b1d --- /dev/null +++ b/classyage_1_1math_1_1Vector.html @@ -0,0 +1,344 @@ + + + + + + + +YAGE: yage::math::Vector< Rows, Type > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::math::Vector< Rows, Type > Class Template Reference
+
+
+ +

#include <matrix.hpp>

+
+Inheritance diagram for yage::math::Vector< Rows, Type >:
+
+
+ + +yage::math::Matrix< Rows, 1, Type > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Vector ()
 
 Vector (const Matrix< Rows, 1, Type > &other)
 
 Vector (const std::vector< Type > &data)
 
Type & operator[] (int col)
 
const Type & operator[] (int col) const
 
std::string toString () const override
 Prints out the matrix, but can also be implemented by other classes to print data differently. More...
 
- Public Member Functions inherited from yage::math::Matrix< Rows, 1, Type >
 Matrix ()
 Initializes the size of the data_ vector. More...
 
 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 Matrix. More...
 
Matrix< 1, Cols, Type > getRow (int row) const
 Return the row specified row as a Matrix with only one row. More...
 
Matrix< Rows, 1, Type > getCol (int col) const
 Get a specific column in a column vector. More...
 
std::vector< Type >::iterator begin ()
 Iterator support for the start. More...
 
std::vector< Type >::iterator end ()
 Iterator support for the end. 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)
 
+ + + + + +

+Additional Inherited Members

- Protected Attributes inherited from yage::math::Matrix< Rows, 1, Type >
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 
+

Constructor & Destructor Documentation

+ +

◆ Vector() [1/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + +
yage::math::Vector< Rows, Type >::Vector ()
+
+inline
+
+ +
+
+ +

◆ Vector() [2/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::math::Vector< Rows, Type >::Vector (const Matrix< Rows, 1, Type > & other)
+
+inline
+
+ +
+
+ +

◆ Vector() [3/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::math::Vector< Rows, Type >::Vector (const std::vector< Type > & data)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ operator[]() [1/2]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
Type& yage::math::Vector< Rows, Type >::operator[] (int col)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
const Type& yage::math::Vector< Rows, Type >::operator[] (int col) const
+
+inline
+
+ +
+
+ +

◆ toString()

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + +
std::string yage::math::Vector< Rows, Type >::toString () const
+
+inlineoverridevirtual
+
+
Bug:
When printing certain matrices, it omits a row or column. Still need to determine under which conditions.
+ +

Reimplemented from yage::math::Matrix< Rows, 1, Type >.

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