|
| | Vector3 () |
| |
| | Vector3 (std::vector< Type > data) |
| |
| | Vector3 (Type x_in, Type y_in, Type z_in) |
| |
| | x (this->data_[0]) |
| |
| | y (this->data_[1]) |
| |
| | z (this->data_[2]) |
| |
| | 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...
|
| |
| | 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...
|
| |
| details::Row< Rows, Cols, Type > | operator[] (int row) |
| |
| details::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) |
| |
template<typename Type = double>
class yage::Vector3< Type >
3D Vector class.
Two dimensional vector class.