# ecrobot::VectorT< T > Struct Template Reference

Simple templated vector implementation. More...

`#include <Vector.h>`

List of all members.

## Public Member Functions
| VectorT ()
| Constructor.
| VectorT (T x, T y)
| Constructor.
## Public Attributes
T | mX
| Fist index value of VectorT.
T | mY
| Second index value of VectorT.
## Friends
VectorT & | operator+= (VectorT< T > &left, const VectorT< T > &right)
| Add assignment.
VectorT & | operator-= (VectorT< T > &left, const VectorT< T > &right)
| Subtract assignment.
VectorT & | operator*= (VectorT< T > &left, const VectorT< T > &right)
| Multiply assignment.
VectorT & | operator/= (VectorT< T > &left, const VectorT< T > &right)
| Devision assignment.
VectorT | operator+ (const VectorT< T > &left, const VectorT< T > &right)
| Add.
VectorT | operator- (const VectorT< T > &left, const VectorT< T > &right)
| Subtract.
VectorT | operator* (const VectorT< T > &left, const VectorT< T > &right)
| Multiply.
VectorT | operator/ (const VectorT< T > &left, const VectorT< T > &right)
| Devision.

## Detailed Description

### template<class T>
struct ecrobot::VectorT< T >

Simple templated vector implementation.

## Constructor & Destructor Documentation

template<class T>

ecrobot::VectorT< T >::VectorT | ( |  | ) | `[inline]`

Constructor.

Initialized with 0.

template<class T>

ecrobot::VectorT< T >::VectorT | ( | T | x,
|  | T | y |
| ) |  |  | `[inline]`

Constructor.

Parameters:

  | x | First index value
  | y | Second index value

The documentation for this struct was generated from the following file:

- util/Vector.h