|  | 
| 
 Public Types | 
| typedef Real | value_type | 
| 
 Public Methods | 
| Vec< N, Real > & | normalize () | 
|  | Normalizes the vector in place. 
 
 | 
| Vec< N, Real > | unit () const | 
|  | Return the corresponding unit vector. 
 
 | 
|  | 
|  | Vec () | 
|  | Classical constructor. 
 
 | 
|  | Vec (const value_type tab[N]) | 
|  | Classical constructor. 
 
 | 
|  | Vec (const std::vector< value_type > &tab) | 
|  | Vec (const Vec< N, Real > &v) | 
|  | Classical constructor. 
 
 | 
|  | 
| const value_type & | operator[] (const int i) const | 
|  | Classical access operator. 
 
 | 
| value_type & | operator[] (const int i) | 
|  | Classical access operator. 
 
 | 
|  | 
| value_type | norm () const | 
|  | Classical value. 
 
 | 
| value_type | square_norm () const | 
|  | Classical value. 
 
 | 
|  | 
| Vec< N, Real > & | operator= (const Vec< N, Real > &v) | 
|  | Classical operator. 
 
 | 
| bool | operator== (const Vec< N, Real > &v) const | 
|  | Classical operator. 
 
 | 
| bool | operator!= (const Vec< N, Real > &v) const | 
|  | Classical operator. 
 
 | 
| Vec< N, Real > & | operator+= (const Vec< N, Real > &v) | 
|  | Classical operator. 
 
 | 
| Vec< N, Real > & | operator-= (const Vec< N, Real > &v) | 
|  | Classical operator. 
 
 | 
| Vec< N, Real > & | operator *= (const value_type r) | 
|  | Classical operator. 
 
 | 
| Vec< N, Real > & | operator/= (const value_type r) | 
| Vec< N, Real > | operator- () const | 
|  | Classical operator. 
 
 | 
| 
 Friends | 
| value_type | operator * (const Vec< N, Real > &v1, const Vec< N, Real > &v2) | 
|  | Pre-declaration needed for friend declarations. 
 
 | 
| template<int Row, int Col, typename Real_t> Vec< Row, Real_t > | operator * (const Matrix< Row, Col, Real_t > &m, const Vec< Col, Real_t > &v) | 
| std::ostream & | operator (std::ostream &s, const Vec< N, Real > &v) |